-
Notifications
You must be signed in to change notification settings - Fork 305
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
Impossible to execute cells that are beneath a cell with error (after doing run all) #4309
Comments
Thanks for the bug. I'm not reproing this with a simple example though. I added a cell that throws an exception and I'm able to run a cell afterwards. I noticed you're using a custom dev version of the python extension, could you try this with the shipped version? Additionally can you include the text in the 'Jupyter' output tab? Thanks. |
@rchiodo thank you for taking a look at this! I have updated VC:
However, this doesn't help to fix the issue: Here is also an output of Jupyter extension: Output for
|
Thanks, the notebook should help me try to reproduce. Can you try the same thing with another notebook? Something that has like:
And see if the second cell runs? |
@rchiodo thank you for swift feedback ⚡ Yes, another notebook gets broken as well: 2021-01-06_21-39-37.mp4Here is an output: Output for
|
@rchiodo here is another notebook: Output for
|
@rchiodo, Finally, I have tested the exact case you asked me: 2021-01-06_21-55-13.mp4The issue is still there 🤷♂️ |
Hmm. That works for me. Can you set this setting in your settings.json: "jupyter.logging.level": "debug" Then
|
Oh and please try with just the two cells in the notebook. I want to make sure other cells aren't interfering with execution for some reason. |
I have created two lines notebook and reproduced the issue there: 2021-01-06_22-19-13.mp4Here is extended logs: Output for
|
Are you always doing So I think I'm reproing your bug now. |
@rchiodo Yes, this is the issue! I would say the more cells I have in the notebook, the bigger chance that I would "run all" after my modifications or when I proceed work on the notebook next day. So yeah, I push that button quite often. |
@rchiodo is this how I would validate that this bug has been fixed:
If so, I can successfully run Cell 2 after following those steps: |
Yep, that's how you validate. |
OK, this one seems fixed then. @roma-glushko this fix will become available in our next release (either this month or next). |
Environment data
Expected behaviour
When an error occurs somewhere in the notebook, I want to be able manually execute all cells that are placed beneath
Actual behaviour
When an error occurs somewhere in the notebook, it's impossible to run cells that are located beneath. Their execution indicator looks broken and clicking on the run button doesn't help to execute cells.
Steps to reproduce:
Please notice that cell execution indicator looks broken. Every time it looks like this, the whole notebook becomes impossible until you rerun your kernel and execute everything again.
The text was updated successfully, but these errors were encountered: