forked from thespianpy/Thespian
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Description
As I plan to do a significant amount of development work while not connected to the internet, I was disappointed to find that all of the Thespian examples using multiprocTCPBase (and multiprocUDPBase are not able to run unless my system is connected to the internet.
The example output below is from when internet is disabled. Connecting to internet fixes the issue.
I am on Debian Ubuntu 16.04.4
Please let me know if there is a solution to this which will allow me to viably develop while offline. (or if I am just missing something)
>>> import thespian.actors
>>> thespian.actors.ActorSystem("multiprocTCPBase")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/thespian/actors.py", line 638, in __init__
systemBase, capabilities, logDefs)
File "/usr/local/lib/python3.5/dist-packages/thespian/actors.py", line 676, in _startupActorSys
systemBase = sbc(self, logDefs=logDefs)
File "/usr/local/lib/python3.5/dist-packages/thespian/system/multiprocTCPBase.py", line 27, in __init__
super(ActorSystemBase, self).__init__(system, logDefs)
File "/usr/local/lib/python3.5/dist-packages/thespian/system/multiprocCommon.py", line 84, in __init__
self.mpcontext)
File "/usr/local/lib/python3.5/dist-packages/thespian/system/transport/TCPTransport.py", line 271, in __init__
templateAddr = ActorAddress(TCPv4ActorAddress(None, 0, external = externalAddr))
File "/usr/local/lib/python3.5/dist-packages/thespian/system/transport/IPBase.py", line 254, in __init__
external)
File "/usr/local/lib/python3.5/dist-packages/thespian/system/transport/IPBase.py", line 150, in __init__
raise RuntimeError('Unable to determine valid external socket address.')
RuntimeError: Unable to determine valid external socket address.