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
Slower atexit methods do not run to completion #16276
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@parantapa Thank you for opening this issue! Does this also happen when you use other apps, like VS Code, that support |
@JasonWeill It works as expected on when using IPython from shell. I do not use VS Code so I am unable to test on that. 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. |
This would be |
Though the timeout is raised from |
Description
Cleanup methods that are slower do not run to completion when restarting kernel.
Reproduce
Example code:
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 text was updated successfully, but these errors were encountered: