-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Uncaught exception in ZMQStream callback - ValueError: signal only works in main thread #11258
Comments
That is most likely relevant to https://github.com/ipython/ipykernel, let's see if we can migrate it there. |
@meeseeksdev migrate to ipython/ipykernel |
Done as ipython/ipykernel#335. |
Upgrading ipykernel worked for me |
I am still having this issue with the latest version of IPython. I mentioned it in the thread mentioned by @meeseeksdev[bot] , but just for visibility: I'm running into the same error message when trying to run an ipython kernel in a separate thread from the main thread. Once I receive that error message, I am unable to use ipython from jupyter. If I surround the code in the pre_handler_hook and post_handler_hook of kernelbase.py, as well as the self.init_signal() in kernelapp.py file with a try catch, I'm able to use IPython within jupyter again and everything seems to work, although exceptions are just being caught in that case. I'm using the latest version of ipykernel, which I just cloned from github. |
actually work,thank you! |
After installing the newest versions of all Jupyter's dependencies, the notebook server crashes with multiple times this message whenever I try to run anything. Running 5.3.0 so it might be fixed as of now.
Edit: #11026 looks somewhat similar.
The text was updated successfully, but these errors were encountered: