Open parantapa opened 6 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Bump.
Bump.
Description
Cleanup methods that are slower do not run to completion when restarting kernel.
Reproduce
Expected behavior
The "hello.txt" should have been created.
Context
Additional info
Jupyter lab shows a TimeoutError on console.
This error is gone when using a larger kernel_info_timeout. However, the atexit method still does not run to completion.
The above code works as expected if run from IPython (inside shell).
I have been trying to find the spot in Jupyter Lab, Jupyter Server and Ipython that is responsible for killing the kernel. But I since I am not familiar enough, I haven't figured it out.
I had posted this issue on JupyterLab https://github.com/jupyterlab/jupyterlab/issues/16276#issue-2275760074 and was told this might be a better place to report the issue.