-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
fix qtconsole support #19
Comments
The way I'm determining whether or not we can read a message is to query the socket for POLLIN, does ZMQ have a different status to indicate that there a partial message still pending? |
ZeroMQ should never report a partial message - multipart messages are sent and received atomically (where by message I mean a sequence of |
Alright, I adjusted ZMQ.jl, @stevengj I have verified that this works for me with qtconsole (at least past where it used to hang). |
Okay, it gets farther now. After commit f1da940 (adding the missing
|
You shouldn't need to patch, try if the following works :
if it does then it means you shoudl also set |
... file that would be IIRC config take precedence in this order : |
Thanks, adding
fixed the |
Okay, basic qtconsole functionality seems to work now. (qtconsole expected an (undocumented) |
Currently, if you try to connect to a qtconsole, the kernel hangs while waiting for the first message (normally, it gets an
execute_request
right away).Specifically, it gets the identity header of the first message, and ZMQ indicates that more is to come, but then the next recv hangs (which @minrk says should not be possible if ZMQ said there was more of the message).
This could be a bug in our ZMQ wrappers, possibly with the asynchronous stuff that @loladiro recently added. ping @aviks.
The text was updated successfully, but these errors were encountered: