-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Interrupt & Restart buttons do not work for Julia on jupyter #1052
Comments
Hi, VSCode Version1.74.3 Jupyter Extension Versionv2022.11.1003412109 Coding Language and Runtime VersionJulia 1.7.3 Julia VS code extensionv1.38.2 IJuliaIJulia v1.24.0 |
Hi, I am also having the same problem when running Julia on a Jupyter notebook, i.e. when running a code, let say it stuck in a loop, I can't stop or restart it using Jupyter's "Restart" and "Stop" buttons. Pressing those buttons does nothing, the script will keep running. I am using Julia 1.9.2 The satisfying way to get around this is to close VScode entirely and restart the whole process. The workaround, I'm not sure if this is right,
Im not sure if this will just the display issue between Julia and Jupyter notebook, but it is definitely worth taking a look for a smoother experience between Julia and Jupyter notebook. |
Is there any progress on this? It's super frustrating to have to restart the entire Julia extension whenever I want to interrupt a cell. |
It's still happening, I stopped using Jupyter and use begin-end instead. |
When I click the restart/stop button in jupyter while a code block is running, the timer on the running cell does not stop and I simply cannot rerun the ipynb file. "Go to running cell" still shows that the code block is running. I just have to close VSCode to start over. ^c does not work, either.
As you can see, Jupyter server is hung when I try to interrupt kernel execution.
The stop button works fine in Jupyter Notebook, but a similar problem persists in the Jupyterlab application. When I click 'stop', Jupyter Notebook returns
InterruptException:
, but the kernel stays 'busy'. When I try to run other cells, the kernel does not do anything.Take a look at microsoft/vscode-jupyter#10328
The VS code manager I talked to in the issue agrees that the server is hung when I try to stop the code, and the person suspects it may be an issue with the Julia kernel not working well with jupyter notebooks.
I posted this issue on /julia-vscode and /vscode-jupyter, but based on the responses I get, it looks like the issue is in IJulia.
The text was updated successfully, but these errors were encountered: