Hi,<br><br>Thanks!<br>I'm indeed running python 32bit in a VM.<br>Betta can run now, but topology discovery is not working.<br>When running the topology and openflow.topology components, I get following error:<br><br>Traceback (most recent call last):<br>
File "/home/openflow/pox_workspace/OFcontroller/pox/boot.py", line 447, in boot<br> if _do_launch(argv):<br> File "/home/openflow/pox_workspace/OFcontroller/pox/boot.py", line 187, in _do_launch<br>
f(**params)<br> File "/home/openflow/pox_workspace/OFcontroller/pox/openflow/topology.py", line 316, in launch<br> core.register("openflow_topology", OpenFlowTopology())<br> File "/home/openflow/pox_workspace/OFcontroller/pox/openflow/topology.py", line 66, in __init__<br>
if not core.listenToDependencies(self, self._wantComponents):<br> File "/home/openflow/pox_workspace/OFcontroller/pox/core.py", line 481, in __getattr__<br> raise AttributeError("'%s' not registered" % (name,))<br>
AttributeError: 'listenToDependencies' not registered<br><br>Topology seems to be ok, but PyDev indicates an unresolved import in openflow.topology (xid_generator).<br><br>Any ideas?<br><br>Thanks,<br><br>Tim<br><br>
<br><div class="gmail_quote">2012/10/5 Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Oct 5, 2012, at 1:34 PM, Murphy McCauley wrote:<br>
>> Betta (0ca0a8b5b5726195aa2c69337af98a146308dab9) always gives following error (no matter which components are loaded):<br>
> ...<br>
>> File "/home/openflow/temp_repo/poxrefbetta/pox/openflow/libopenflow_01.py", line 51, in xid_generator<br>
>> return chain.from_iterable(repeat(xrange(start,stop+1))).next<br>
>> OverflowError: Python int too large to convert to C long<br>
><br>
> Oh, weird. I guess you're running a 32 bit Python? Try knocking the +1 off the second arg to xrange and seeing if that fixes it.<br>
<br>
</div>Yeah, I confirmed this was a 32 bit issue. I've pushed a fix. Thanks for the report.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Murphy</font></span></blockquote></div><br>