Skip to content
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

unable to run stationary-test.py #6

Open
akram1335 opened this issue Apr 2, 2021 · 1 comment
Open

unable to run stationary-test.py #6

akram1335 opened this issue Apr 2, 2021 · 1 comment

Comments

@akram1335
Copy link

sudo python3 stationary-test.py *** Creating nodes *** Configuring wifi nodes *** Connecting to wmediumd server /var/run/wmediumd.sock *** Creating links Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "stationary-test.py", line 59, in run net.addLink(self.stations[0], cls=adhoc, ssid='adhocNet', mode='g', channel=5) File "/usr/local/lib/python3.8/dist-packages/mininet_wifi-2.5-py3.8.egg/mn_wifi/net.py", line 600, in addLink link = cls(node=node1, **params) TypeError: __init__() missing 1 required positional argument: 'intf' Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "stationary-test.py", line 90, in run shared_mem = SharedMemory(6789, flags=sysv_ipc.IPC_CREAT, size=sysv_ipc.PAGE_SIZE, init_character='\0') TypeError: argument 5 must be a byte string of length 1, not str

@rushanthan03
Copy link

how can i handle this error

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

2 participants