-
Notifications
You must be signed in to change notification settings - Fork 295
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
Restarting Jupyter kernel is stuck and never finishes #16328
Comments
Please could you enable logging as follows:
|
Thanks for the follow-up! The last things to be shown in the Jupyter output was (only the last 7 messages at the time of getting stuck):
|
Pleaser can you share the complete logs |
I just experienced the same issue. This time on a Mac, in a different virtual environment. Full Jupyter trace log attached, but there's a lot of normal activity going on before it got stuck on restarting the kernel. |
Based on the logs it seems you may been using vscode for a while, hence the very large log Also can you disable all other extensions when trying to replicate this issues, except for jupyter and python extensions. (Only to help isolate the issue and rule out other factors) Please can you try to limit the activity and then share the logs Also does this issues not repro in a non UV environment? |
Applies To
What happened?
Not sure if it related, but dependencies in my project is manager by
uv
. I have installedipykernel
(8.30.0) as a dev-dependency in the project which uses Python-3.12.8. In the Notebook, I have selected the.venv
-kernel as my kernel.When I start using the Notebook, everything works fine. But after running / restarting it a couple of times, it gets stuck on restarting the kernel. The notification window shows:
And in the Jupyter Output, the last thing to be shown is:
The problem doesn't occur if I just open the Notebook and then reload it a lot of times. It typically happens after having worked with the Notebook for some minutes, running some code and restarting the Notebooks a couple of times.
I'm sorry I'm not able to describe the problem any better, will continue to investigate reasons...
VS Code Version
Version: 1.96.2 (user setup) Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f Date: 2024-12-19T10:22:47.216Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22631
Jupyter Extension Version
2024.11.0
Jupyter logs
Coding Language and Runtime Version
Python v3.12.8
Language Extension Version (if applicable)
Python extension 2024.22.0
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
N/A or Not sure
The text was updated successfully, but these errors were encountered: