-
Notifications
You must be signed in to change notification settings - Fork 787
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
'module' object has no attribute 'SIGCHLD' #108
Comments
This only enables the SIGCHLD handler if SIGCHLD exists, such that platforms without SIGCHLD (such as windows) can still run websockify natively. See #108
this appears to be a Windows issue. A fix is in the works. |
I tried to download the master.zip and run the following command on my Windows7 WARNING: no 'resource' module, daemonizing is disabled
Any ideas on how it can be fixed? Thanks ahead! |
Hi, Jörg |
Sorry, I was wrong. The patch submitted by DirectXMan12 simply hasn't been merged into the master branch. Why not? |
@joerg86 Sorry about the delay (holidays). IIRC, I was waiting for someone with Window to actually test my change to see if it worked. I thought I posted it somewhere, but I can't seem to find the contents of the patch itself. If you have a working patch, I'd be happy to look at it. Just submit a pull request against the repository (and mention this bug commit message). |
I applied the commit above (3ee9ff7) and got a different error after trying to connect to the server:
|
Any updates on this? It looks to be working with the changes from the bug/108-no-sigchld-in-windows branch. edit: Looks like this is still an issue. I'm getting the same error as @jeremy-y12 when attempting to connect to the URL given by noVNC |
This only enables the SIGCHLD handler if SIGCHLD exists, such that platforms without SIGCHLD (such as windows) can still run websockify natively. See novnc#108
Bump. I'm currently running into the same problem on Windows (OSX works well). Is there a recommended way to make websockify work on Windows? Thanks! |
I'm afraid not, I haven't seen anyone managing to get it working on Windows recently. |
I had something that more or less worked OK on win32, based on the trunk code from a few months ago. |
@jebej the warning that it can't find resource module is because it is named rsrc not resource so you can type import rsrc as resource in webscoket.py |
Still seeing this issue on windows. Any news? |
After trying all fixes above, I was able to get it to run on Windows in python, but when a socket connects it complains about multiprocess. Meanwhile the Nodejs version of websockify works fine under Windows (see novnc/novnc#807). |
This only enables the SIGCHLD handler if SIGCHLD exists, such that platforms without SIGCHLD (such as windows) can still run websockify natively. See #108
I've just tried Websockify 0.8.0 on Windows 10 and I run in to this too:
So I switched to the head revision of the repo, and got:
|
already settled? |
Hi!
i tried to start the echo demo. Therfore i put the echo.py and websocket.py in one directory. when i try to start up i get this error:
H:\workspace\python\websocketServer\src>python echo.py 9999
WARNING: no 'resource' module, daemonizing is disabled
Traceback (most recent call last):
File "echo.py", line 74, in
server.start_server()
File "H:\workspace\python\websocketServer\src\websocket.py", line 827, in star
t_server
AttributeError: 'module' object has no attribute 'SIGCHLD'
Python version is 3.3.2
The text was updated successfully, but these errors were encountered: