jsonrpc2-zeromq-python icon indicating copy to clipboard operation
jsonrpc2-zeromq-python copied to clipboard

"ZMQError: Interrupted system call" when used with Qt

Open dovf opened this issue 13 years ago • 2 comments

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

dovf avatar Aug 12 '12 21:08 dovf

#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.)

dovf avatar Aug 12 '12 21:08 dovf

I'll most likely sort the client side soon, unless someone gets there with a PR first! Thanks for reporting.

dwb avatar Mar 04 '15 14:03 dwb