-
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
Hitting run / debug cell in interactive python script does not have any effect in remote VM #7424
Comments
Just to confirm, are you connected to a remote Jupyter serveror are you using a Remote extension in VS Code like Remote-SSH (i.e. your kernel and script file are on the same machine)? If you are connected to a remote Jupyter server, this is a duplicate of #7391 |
I am using Remote-ssh and script and kernel are on the same machine. Thanks! |
Can you reproduce, or do you need more details of the environment I am using? |
Hi! I installed vscod insiders, installed all extensions, and for a brief moment I could test this issue and it was working. After changing some configuration and/or installing python insiders, I get a notification "Python extension loading..." and it never ends. How can I debug/fix that? I can no longer try anything with jupyter. |
The Python extension released a point fix yesterday which should address the "Python extension loading..." issue. Which version do you have? (Reloading VS Code may also fix this problem.) |
I activated the daily python insiders version, which at the moment is |
Thanks for the details. I have opened microsoft/vscode-python#17479 to track the Python extension failing to complete loading. Please consider providing the Python logs from the Python output panel in that issue as well. It sounds like the bug with interactive cells in Jupyter has been resolved so I will close this issue for now, but please feel free to ping if the issue reappears. Apologies for the trouble. |
Environment data
Expected behaviour
I have a python script with
# %%
cells. I clickRun Cell
orDebug Cell
and I expect the cell to run in a newly opened tab.Actual behaviour
New tab opens, wrong kernel is loaded (w.r.t. the script's environment). I change the kernel to correct one, hit
Run Cell
and nothing happens. After a few clicks I get a1 cells were canceled due to an error in the previous cell
. If I copy the cell toExecute code
prompt, code runs correctly, but not from script file.This was working fine until latest August update.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: