-
Notifications
You must be signed in to change notification settings - Fork 295
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
With Remote SSH, Notebook cells are not executed sequentially #15746
Comments
Can Confirm. My Remote SSH has enough resources though. |
Please could you enable logging as follows:
|
OK, here are my Traces from "restart kernel" and 2 times "run all": Resulting Errors stem from the random execution of Cells. If Cell 0 does not "import dotenv", Cell 1 can't call the dotenv... Show Logs
|
Thank you for sharing the logs.
|
Here is NB 1 with the code that prints 1-6. This got executed as 1, 2, 3, 6, 5, 4: Logs print 1-6
|
And heres the Output of Notebook 2 which failed. Logs NB 2 (fail)
|
@s1lvester Thank you very much for the logs
Once again, thank you for your patience and continued support to resolve this issue. |
Hi, Sorry for the delay: Here is the Log with the custom build extension: Run 1 is with the "FAIL" notebook, Run 2 with the "PASS" notebook. log
|
@s1lvester Thank you very much for sharing the logs. |
@s1lvester @k-khr |
Hi, Using this Version I no longer can reproduce the error. Thank you @DonJayamanne . |
Fixed with #15841 |
Applies To
What happened?
With Remote - SSH extension and connecting to a server (which maybe slow to respond), and when pressing "Run All" or "Execute Cell and Below" button, the notebook cells are not executed sequentially.
This behavior does not reproduce in local, so it may be specific to Remote-SSH.
Also, the server I am connected to via SSH has relatively low computational resources and is slow to respond, so I suspect this might be the cause.
Explanation of the Attached Log
This log is from when the "Run All" button was pressed three times. Each time the button is pressed, the order in which the cells are executed changes.
The first time, it started executing from Cell 1, resulting in a NameError.
The second time, it executed correctly in the order of Cell 0 -> 1 -> 2.
The third time, it executed in the order of Cell 0 -> 2 -> 1.
Here is screenshot of the notebook I used in this experiment, after the last execution.
VS Code Version
1.89.1
Jupyter Extension Version
Greater than or equal to 2024.2.0. This is not reproduced in 2024.1.1.
Jupyter logs
Coding Language and Runtime Version
Python 3.9.15
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote
The text was updated successfully, but these errors were encountered: