dispy icon indicating copy to clipboard operation
dispy copied to clipboard

dispy 4.14.0 can't work in python 3.6.8 with 'TypeError'

Open flyingangel2013 opened this issue 3 years ago • 2 comments

Hi, I am using python 3.6.8 to invoke the dispy, my install steps are as below:

  1. download the codes from here
  2. put the codes in Linux env
  3. run the setup.py install to install the dispy
  4. use command /usr/local/bin/dispynode.py -i xxx.xxx.xxx.xx -c 8 -d --clean to start the dispy successfully
  5. run the example codes with command "python sample.py"

the error message like these: 2021-03-22 21:54:57 pycos - uncaught exception in tcp_req/139806149227976: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/dispy-4.14.0-py3.6.egg/EGG-INFO/scripts/dispynode.py", line 1751, in tcp_req client, resp = yield setup_computation(msg, task=task) TypeError: 'NoneType' object is not iterable

could anyone give me a hand about this issue? Is it related with the version of python or pycos? Thanks a lot

flyingangel2013 avatar Mar 22 '21 14:03 flyingangel2013

Indeed this is an issue with pycos. I just committed fix for it. You can git source with pip as explained in Download/Installation.

Thanks for reporting it. Now there is a forum which makes things easier to discuss / search etc. Consider joining it.

pgiri avatar Mar 23 '21 03:03 pgiri

Hi there, Can I work on this issue?

chapaith avatar Sep 10 '22 12:09 chapaith