-
Notifications
You must be signed in to change notification settings - Fork 64
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
Assorted Windows Hiccups #67
Comments
Thank you for the appreciation: it's nice to know when Thespian is useful. Regarding your issues, let me first say that I don't have any Windows systems conveniently available, so there may be some Windows-specifics I'm not fully aware of. In more detail:
|
Hi Kevin,
Thanks for this beautiful library.:+1: You've brought the elegance of the actor model to the Python workhorse. I've been trying to get it going under windows 10 Pro. Here are some problems that I thought you'd like to know about, and maybe have insight that could help me or others.
WARNING:root:Unable to get address info for address {my-computer-name}.Home (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, 0): <class 'socket.gaierror'> [Errno 11001] getaddrinfo failed
I can work around it by adding
127.0.0.1 {my-computer-name}.Home
to my Hosts file. Is there a more ideal way?main.py
foo.py
displays
creating actorsystem
twice (?), and a long string of errors, ending withActorAddr-(T|:1900) is not a valid ActorSystem admin
. thespian.log says,ERR Exception in callback:
When main.py is placed in a function rather than as top-level code, it errors differently. Interestingly, I don't get these errors when i put other code before the ActorSystem call.
3. I do not know how to have the user exit the script. Customarily he presses Ctrl-C, but that leaves python processes still running. They are still writing to the console and are visible in Task Manager. I've tried wrapping the code in a
try
except: a.shutDownActorSystem()
block, atry
except Exception
block, or trapping signal.SIGINT, all to no avail.The text was updated successfully, but these errors were encountered: