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

unhandled exception when starting lnst-slave if another instance is running #193

Open
jtluka opened this issue Apr 29, 2020 · 0 comments
Open

Comments

@jtluka
Copy link
Collaborator

jtluka commented Apr 29, 2020

./lnst-slave -d &
./lnst-slave -d

Traceback (most recent call last):
  File "/home/lnst/lnst/lnst/Slave/NetTestSlave.py", line 733, in __init__
    self._s_socket.bind(addr)
OSError: [Errno 98] Address already in use

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./lnst-slave", line 102, in <module>
    main()
  File "./lnst-slave", line 94, in main
    nettestslave = NetTestSlave(log_ctl, slave_config)
  File "/home/lnst/lnst/lnst/Slave/NetTestSlave.py", line 934, in __init__
    self._server_handler = ServerHandler(("", port), slave_config)
  File "/home/lnst/lnst/lnst/Slave/NetTestSlave.py", line 736, in __init__
    logging.error(e[1])
TypeError: 'OSError' object is not subscriptable

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