You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error (similar to #97, #115, #151 and #413):
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/websockify/websockify/__main__.py", line 4, in <module>
websockify.websocketproxy.websockify_init()
File "websockify/websocketproxy.py", line 729, in websockify_init
server = WebSocketProxy(**opts.__dict__)
File "websockify/websocketproxy.py", line 310, in __init__
raise Exception("rebind.so not found, perhaps you need to run make")
Exception: rebind.so not found, perhaps you need to run make
The issue was that we added support for running websockify directly as a module, and that gave us the module itself as sys.argv[0]. I don't know how we can handle this when it is installed, but I've at least fixed it when running it out of the source tree in e80739b.
When I run novnc through the websockify proxy like this:
I get the following error (similar to #97, #115, #151 and #413):
Traceback (most recent call last):
And did some digging around in the python files and found out that in websocketproxy.py between line 293 and 306 the paths it is searching for are:
While in my case while I use
make
rebind.so will end up inwebsockify/
instead ofwebsockify/websockify/
.A workaround for me now is to move
rebind.so
to thewebsockify/websockify/
directory.The text was updated successfully, but these errors were encountered: