-
Notifications
You must be signed in to change notification settings - Fork 294
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
Run cell and bellow & Run cells above not working #5636
Comments
@grudloff If you first run a cell with shift+enter, then use the "run cell and below" button, does that work? "Run cell and below" isn't working for me either but I'd like to confirm that I'm seeing the same cause you're reporting. To me it looks like "Run cell and below" and "Run cells above" will not work if there's no active kernel for the current active notebook at the time that the command is invoked. Instead I believe we'd want to start the kernel if one hasn't already started when "Run cell and below" or "Run cells above" are invoked. Though this is also likely happening because I don't believe we're autostarting kernels anymore after the latest notebook API changes landed. |
In my case, it doesn't work even when a cell has been run before and the kernel is already started. |
Doing the same in native jupyter notebook under the same environment works as expected without any issue. |
@joyceerhl the fix is pretty simple we need to call |
Validated. Run cell and below and Run cells above are working in the latest VSIX off the release branch. |
Seems my problem was unrelated. I am still experiencing the same issue. |
@grudloff This fix will become available in the next release that we publish. Can you try this temporary VSIX out (should already contain the fix) and let us know if the problem persists? https://github.com/microsoft/vscode-jupyter/suites/2626147023/artifacts/57578598 |
Hello @joyceerhl. Thanks for the help but sadly the issue still remains. |
It seems the Run cell and bellow & Run cells above was added on the last version (I don't remember seeing those in the insiders version at least) and for some reason using the buttons works perfectly for me but doing the same through right-clicking or selecting the "..." and then selecting either option is still doing nothing. |
Normal VS Code was working fine for me. |
Environment data
Nothing happens when I click 'Run cell and bellow' or 'Run cells above'. Jupyter output doesn't log any new entry when doing either but seems to be working fine when clicking the run all button, or running cell by cell with 'enter+shift' or the run cell button.
The text was updated successfully, but these errors were encountered: