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
Minimal hug program not working on Win10 #500
Comments
Sorry this happened! I don't immediately understand why windows is complaining, I'll see if I can find a copy of Windows 10 to test/reproduce with |
If you have time could you try running the example as follows:
And let me know if you still see the error? I'm curious if the new auto reload capability has some issues on Windows. Thanks! ~Timothy |
Hey Timothy, |
I am receiving the same
Above, the bottom part of the error messages gave an
My problem is a little different since it happens on a Windows 7 install, but I have a Windows 10 installation that Hug runs fine on without this issue. EDIT: My Windows 10 installation without issues is using version 2.2.0, the Windows 7 installation with issues is using version 2.3.0. |
The documentation relevant to this issue is here: https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods. Specifically,
I would assume that the requirement that each child process run on a new interpreter process is causing the problem. |
Wish this command line "hug -f main.py --manual_reload" was somehow documented in the "Get Started page". |
Hi Timothy, Thanks for suggesting the command 'hug -f main.py --manual_reload', it is working fine on Windows7. But now I am getting an error "[Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions". Can you please share your thoughts on it. By the way, I am using Windows7 and Hug version 2.3.0. Regards, |
Your firewall may be preventing your program from binding to the socket. You can verify that by turning off your firewall and/or running the program as an administrator. However, neither are good long term solutions, and I suspect you will have to properly set the app's access permissions. I am not on a Windows box, but you might find some luck with this article: https://technet.microsoft.com/en-us/library/cc731858(v=ws.11).aspx |
Is this closed? I can verify that it is running! |
This is indeed fixed now, going to close the ticket |
I am trying to execute the following program:
This is the error, that I'm getting:
I even deleted python and reinstalled everything. Any ideas?
The text was updated successfully, but these errors were encountered: