Open lsouchet opened 5 months ago
Any news on this? Is there any extra information I can try to gather in order to narrow it down?
Since this is an error in asyncio in the standard library and your Python is a few years out of date, I wonder if it may have been fixed already. If it's possible for you to try an environment with a more recent Python, that would be the first thing I would try. This same error has been reported on other libraries, such as https://github.com/Rapptz/discord.py/issues/9487 and https://github.com/erdewit/nest_asyncio/issues/11 so I'm not sure it's anything we are doing or can fix. If it is, it may relate to using nest_asyncio (if it's being used) or perhaps something involving threads.
Description
Hello, We encounter a random error which occurs from time to time on our shared jupyterhub instance. After some time of running many jupyterlab notebooks, the kernel tends the crash always at the same cell of a notebook(which changes from a crash occurrence to another). Note that the same cell works in other runs, and that the error does not occur on the same cell or cell content after the jupyterhub is restarted and the error happens again. Here is the stacktrace we get:
To overcome the error, we need to restart the jupyterhub instance thus interrupting everybody's work.
Reproduce
Expected behavior
The kernel does not crash and all cells are run successfully.
Context
For reference, here are all jupyter-related packages that are used to build our jupyterhub instance
Troubleshoot Output
Command Line Output
Browser Output