dispy
dispy copied to clipboard
Is dispy testet with windows?
It seems the (PID and IP6) features are not really working on windows env?
IPv6 should work if netifaces
module is installed. What is PID?
(P)rocess ID...
https://stackoverflow.com/questions/550653/cross-platform-way-to-get-pids-by-process-name-in-python
2017-08-11 15:31:41 dispynode - dispynode version: 4.8.2, PID: 1188
2017-08-11 15:31:41 dispynode - node IP address xxxx::xxx:a624:4672:ca12%11 see ms to be loopback address; this will prevent communication with clients on other
machines.
Traceback (most recent call last):
File "dispynode.py", line 1918, in
It is not clear what about PID is not working then.
It seems there may be another dispynode running or dispynode may have been terminated (killed). You can restart dispynode with "clean" option (e.g., as dispynode.py --clean
).
dispynode is not able to recognize appropriate IP address to use. You can either indicate correct IP address with -i
option, or install netifaces
module.
I think the 'tempfile.tempdir' for the config file .. has a problem if it point to path you have no write access to.
https://github.com/pgiri/dispy/blob/master/py3/dispy/dispynode.py
Line 266 dest_path_prefix = os.path.join(tempfile.gettempdir(), 'dispy', 'node')
Linux it works Win7 it works Win10 tempfile.gettempdir() doesn't work .-(
tempdir
should be writable. May be you need to configure your system / Python appropriately?
You can also use dest_path_prefix
option to dispynode to point to a path that is writable.
Thx
dest_path_prefix is a better way...
If the above works, can you comment and close this issue?