Skip to content

Messenger.tcp_transport not working due to tuple index out of range #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nskjellum opened this issue May 22, 2025 · 0 comments
Open

Comments

@nskjellum
Copy link

Attempted to run the tcp_transport example for messenger, got the following error.

$ python3 pox/pox.py log.level --DEBUG messenger messenger.tcp_transport messenger.example
POX 0.8.0 (halosaur) / Copyright 2011-2022 James McCauley, et al.
DEBUG:boot:Not launching of_01
DEBUG:core:POX 0.8.0 (halosaur) going up...
DEBUG:core:Running on CPython (3.10.12/Feb 4 2025 14:57:36)
DEBUG:messenger.tcp_transport:Listening on 0.0.0.0:7790
Traceback (most recent call last):
  File "/home/nskj/work/quantum-nw/mini-q-nw/test-network/pox/pox/messenger/tcp_transport.py", line 204, in run
    rlist, wlist, elist = yield Select([listener])
  File "/home/nskj/work/quantum-nw/mini-q-nw/test-network/pox/pox/lib/recoco/recoco.py", line 551, in __init__
    or (not isinstance(args[1], (type(None),list)))
IndexError: tuple index out of range
DEBUG:messenger.tcp_transport:No longer listening for connections
DEBUG:core:Platform is Linux-6.8.0-59-generic-x86_64-with-glibc2.35
INFO:core:POX 0.8.0 (halosaur) is up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant