jsonrpc2-zeromq-python
jsonrpc2-zeromq-python copied to clipboard
"ZMQError: Interrupted system call" when used with Qt
When a signal is received while polling on a socket, the interrupt is apparently propagated up to the application, and it is the application's responsibility to handle it correctly. Qt apparently causes signals to be sent in various situations. The end is result is that jsonrpc2_zeromq basically crashes when used in conjunction with Qt.
This is basically the same issue as reported on ipython: https://github.com/ipython/ipython/issues/499
#3 is a partial solution (handles the server side, which is what I encountered; probably a similar fix should be applied to the client, as well.)
I'll most likely sort the client side soon, unless someone gets there with a PR first! Thanks for reporting.