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
Assertion errors causing exceptions that kill Jupyter kernels #3281
Comments
The only time I've seen this assertion fire was in #2871 where it was caused by incorrect usage of threads. You must not call any Tornado methods except IOLoop.add_callback from any thread other than the event loop thread. If you're sure you're not doing anything with threads, then I'd need more information about what exactly you are doing to provide any guidance here. |
I've run into the same issue. There's a thread here that might give more info: https://discourse.jupyter.org/t/jupyter-notebook-zmq-message-arrived-on-closed-channel-error/17869/5 |
OK, so it looks like the canonical issue for this on the jupyter side is jupyter/notebook#6721. As of this writing, upgrading the My understanding is that the jupyter project has kind of gotten themselves stuck in a strange place. Originally they used Tornado and they called the IOLoop reentrantly (e.g. calling As far as I can tell there's nothing Tornado could change to fix this; it's going to have to come from the Jupyter side. I'm going to leave this issue open to direct people to jupyter/notebook#6721 |
I find I am getting an error that shuts Jupyter running a Python3 kernel down when using plotly, solara, or ipyleaflet to display maps on a Windows 10 machine. In the last case, a marker can be moved around and the position data updated a few times and then the exception is thrown. I checked and there are no memory constraints. I have not otherwise had any problems with Jupyter. I updated Jupyter and all my packages but this did not help. Checking the Jupyter log, I found that there is a comment failure sequence that involves tornado at the start and end of the traceback:
The text was updated successfully, but these errors were encountered: