-
Notifications
You must be signed in to change notification settings - Fork 304
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
All cells get stuck pending after specific cell is run #16466
Comments
The logs refer to cell numbers, what cell number gets stuck.
What happens, nothing or there's an error. |
Log
This is an execution of the first cell and all subsequent cells. There are 7+. Cell 6 is the last successful cell to execute and is the problematic one. I get no error - the code works fine - and if I add an extra line or two after the existing code, it shows up. So whatever is in the cell appears to complete. Cell 7 (or a re-run of 6 or any prior cell) will show what you see here in the logs. Sent to kernel but nothing further. No error even if I wait for some time. In the UI, it shows as Pending when I hover over the status icon. If I try to interrupt and try to just run cell 7, it also gets into the same state: Log
A kernel restart seems to never complete. This spins with "restarting kernel" in the UI: Log
|
Thanks for the logs, not sure whats going on. If that still works, then I have to ask you share some of the code or try to simplify the code in a format such that you can replicate the issue as well as share it. Else unfortunately I will not be able to help. Hope you understand. |
Yes, I just double checked and all cells complete from Definitely understand. I will continue to try a minimal repro. I was hoping there was some additional debugging info I could capture. |
Applies To
What happened?
I have a notebook with multiple cells. One in particular runs a data transformation in about 4s. Any time I run this specific cell, I am unable to execute any cells afterwards. In order to continue working, I need to completely exit VScode and restart it. Interrupting the kernel is insufficient. I am able to reproduce this every time but it is specific to my data and query from what I can tell, so it's hard to share a repro.
If I run this same cell in a standard Jupyter notebook environment, this issue does not occur.
I've turned on trace logging but I'm not seeing anything to go on. I'm happy to gather more data but I need help figuring out how to do so.
In the logs below, I execute up to cell 6 and then try to execute 7, which hangs.
VS Code Version
1.97.2
Jupyter Extension Version
2025.1.0
Jupyter logs
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
Pylance
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: