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
dish.join problem #1780
Comments
I don't know much about draft sockets. Questions about libzmq behavior are better posted to libzmq, since they aren't specific to pyzmq. |
Were you able to come up with a way to work around this issue, or did you otherwise figure out what was wrong? I'm running into the same problem on dish.join(group). When I separate out the RADIO bits, I also get the cython/checkrc.pxd error "zmq.error.ZMQError: Success" on radio.send(message, group) when the Frame tries to set the group. I am wondering if it is possible for my pyzmq to be partially installed incorrectly in some way? I followed DRAFT API install instructions and everything seems correct from what I can see (e.g., zmq.zmq_version(), zmq.DRAFT_API). |
@weston-nrl Here's a complete working example of installing pyzmq with drafts in docker, showing that everything's working as intended. |
@minrk thanks for the sanity check -- that docker builds and runs just fine for me also. Comparing the 'pip -v' install logs between that and my Ubuntu 22.04 system's pip install shows that my system is failing to add |
sudo was my system's problem -- I was running pip as sudo, and it was removing the ZMQ_DRAFT_API environment variable before running pip, so I'm not sure why zmq.DRAFT_API was reporting True at all, or why RADIO/DISH partially worked. In any case, ZMQError: Success is gone after fixing that, and the OP's error that I was getting before is gone as well. |
Hi,
I installed the last version of pyzmq 24.0.1
and its seems that it contain the draft options, therefore radio and dish are included.
I try to run your radio-dish example:
but the following message showed:
Traceback (most recent call last):
File "C:/Users/ShacharZ/Desktop/pythonProject2/main.py", line 12, in
dish.join('1')
File "zmq\backend\cython\socket.pyx", line 722, in zmq.backend.cython.socket.Socket.join
File "zmq\backend\cython\checkrc.pxd", line 22, in zmq.backend.cython.checkrc._check_rc
zmq.error.Again: Resource temporarily unavailable
I will be happy for any help.
The text was updated successfully, but these errors were encountered: