[pox-dev] Requesting port statistics (problem with connection)

Tmusic Tmusic987 at gmail.com
Sat Oct 6 05:49:44 PDT 2012


Hi,

Thanks!
I'm indeed running python 32bit in a VM.
Betta can run now, but topology discovery is not working.
When running the topology and openflow.topology components, I get following
error:

Traceback (most recent call last):
  File "/home/openflow/pox_workspace/OFcontroller/pox/boot.py", line 447,
in boot
    if _do_launch(argv):
  File "/home/openflow/pox_workspace/OFcontroller/pox/boot.py", line 187,
in _do_launch
    f(**params)
  File
"/home/openflow/pox_workspace/OFcontroller/pox/openflow/topology.py", line
316, in launch
    core.register("openflow_topology", OpenFlowTopology())
  File
"/home/openflow/pox_workspace/OFcontroller/pox/openflow/topology.py", line
66, in __init__
    if not core.listenToDependencies(self, self._wantComponents):
  File "/home/openflow/pox_workspace/OFcontroller/pox/core.py", line 481,
in __getattr__
    raise AttributeError("'%s' not registered" % (name,))
AttributeError: 'listenToDependencies' not registered

Topology seems to be ok, but PyDev indicates an unresolved import in
openflow.topology (xid_generator).

Any ideas?

Thanks,

Tim


2012/10/5 Murphy McCauley <murphy.mccauley at gmail.com>

> On Oct 5, 2012, at 1:34 PM, Murphy McCauley wrote:
> >> Betta (0ca0a8b5b5726195aa2c69337af98a146308dab9) always gives following
> error (no matter which components are loaded):
> > ...
> >>  File
> "/home/openflow/temp_repo/poxrefbetta/pox/openflow/libopenflow_01.py", line
> 51, in xid_generator
> >>    return chain.from_iterable(repeat(xrange(start,stop+1))).next
> >> OverflowError: Python int too large to convert to C long
> >
> > 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.
>
> Yeah, I confirmed this was a 32 bit issue.  I've pushed a fix.  Thanks for
> the report.
>
> -- Murphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20121006/1fc52408/attachment-0002.htm>


More information about the pox-dev mailing list