Giter Site home page Giter Site logo

Kernel disposed because Notebook was closed or Cell was Deleted, when in fact notebook wasn't closed and cell wasn't deleted about vscode-jupyter HOT 43 OPEN

timsu92 avatar timsu92 commented on September 27, 2024
Kernel disposed because Notebook was closed or Cell was Deleted, when in fact notebook wasn't closed and cell wasn't deleted

from vscode-jupyter.

Comments (43)

DonJayamanne avatar DonJayamanne commented on September 27, 2024 2

Thank you for getting back, I would file an issue in the Continue repo .
Given this is caused by a 3rd party extension, I'm closing this issue.

from vscode-jupyter.

XC-Li avatar XC-Li commented on September 27, 2024 1

@XC-Li @timsu92

  • do you run into this issue when running another notebook?
  • Can you try running a different notebook with each cell containing print("Hello World")
  • Please can you disable ALL extensions except for Jupyter and Python (i.e. disable Pylance, and all other extensions)

Please let me know the results for each of the above. Thanks

Hi @DonJayamanne , thanks for your help. I may found the cause of this issue.
It's caused by this plugin called 'Continue': https://marketplace.visualstudio.com/items?itemName=Continue.continue

This plugin is disabled and required to reload window to apply update this morning, and I found all the notebooks can run normally. Then I reload the window and found the error is back. Then I disabled this plugin and the error is gone.
@timsu92 You can check if you have this plugin too, or try disable all other plugins and see if the error persists.

from vscode-jupyter.

ReverieTides avatar ReverieTides commented on September 27, 2024 1
screen-capture.1.mp4

Here is a small screen grab of the test

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

This is another log which I ran some cells, scroll them away, and then I see requests on cells (what's this?) and the kernel were both disposed.
Althought the log said I deleted some cells, I didn't. I was just scrolling throught the notebook.

log
Visual Studio Code (1.89.1, wsl, desktop)
Jupyter Extension Version: 2024.4.0.
Python Extension Version: 2024.6.0.
Pylance Extension Version: 2024.5.1.
Platform: linux (x64).
Workspace folder ~/quantum_computing/final, Home = /home/tim
23:28:06.650 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd075f745761b2a86e09083d25abce779ac76125800a629b2a1c0e3ff29df69a768./home/~/quantum_computing/final/.venv/python./home/~/quantum_computing/final/.venv/python.-m#ipykernel_launcher  (Python Path: ~/quantum_computing/final/.venv/bin/python, Poetry, .venv (Python 3.10.12), 3.10.12) for '~/quantum_computing/final/final.ipynb' (disableUI=true)
23:28:06.653 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd075f745761b2a86e09083d25abce779ac76125800a629b2a1c0e3ff29df69a768./home/~/quantum_computing/final/.venv/python./home/~/quantum_computing/final/.venv/python.-m#ipykernel_launcher  (Python Path: ~/quantum_computing/final/.venv/bin/python, Poetry, .venv (Python 3.10.12), 3.10.12) for '~/quantum_computing/final/c2q_transfer_learning_cifar.ipynb' (disableUI=true)
23:28:07.307 [info] Process Execution: ~/quantum_computing/final/.venv/bin/python -m pip list
23:28:07.325 [info] Process Execution: ~/quantum_computing/final/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
23:28:07.335 [info] Process Execution: ~/quantum_computing/final/.venv/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/run~e/kernel-v2-6878NBt8ALdoU3CC.json
    > cwd: //home/~/quantum_computing/final
23:28:07.346 [info] Process Execution: ~/quantum_computing/final/.venv/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
23:28:07.354 [info] Process Execution: ~/quantum_computing/final/.venv/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/run~e/kernel-v2-6878GxzRSk5W7pcP.json
    > cwd: //home/~/quantum_computing/final
23:28:07.886 [info] Process Execution: ~/quantum_computing/final/.venv/bin/python /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/pythonFiles/printJupyterDataDir.py
23:28:07.901 [warn] Got an empty Jupyter Data Dir from /home/~/quantum_computing/final/.venv/bin/python, stderr = undefined
23:28:20.885 [info] Handle Execution of Cells 1,2,4,5,6,7 for ~/quantum_computing/final/final.ipynb
23:28:25.689 [info] Cell 1 completed in 4.797s (start: 1716910100892, end: 1716910105689)
23:28:25.698 [info] Cell 2 completed in 0.005s (start: 1716910105693, end: 1716910105698)
23:28:25.705 [info] Cell 4 completed in 0.003s (start: 1716910105702, end: 1716910105705)
23:28:26.848 [info] Cell 5 completed in 0.006s (start: 1716910106842, end: 1716910106848)
23:28:27.002 [info] Cell 6 completed in 0.146s (start: 1716910106856, end: 1716910107002)
23:28:27.261 [info] Cell 7 completed in 0.256s (start: 1716910107004, end: 1716910107260)
23:28:41.488 [info] Handle Execution of Cells 9 for ~/quantum_computing/final/final.ipynb
23:28:41.497 [info] Cell 9 completed in 0.003s (start: 1716910121494, end: 1716910121497)
23:28:52.863 [info] Handle Execution of Cells 11 for ~/quantum_computing/final/final.ipynb
23:28:52.871 [info] Cell 11 completed in 0.002s (start: 1716910132869, end: 1716910132871)
23:29:27.908 [info] Handle Execution of Cells 13 for ~/quantum_computing/final/final.ipynb
23:29:27.922 [info] Cell 13 completed in 0.003s (start: 1716910167919, end: 1716910167922)
23:29:43.510 [info] Handle Execution of Cells 15 for ~/quantum_computing/final/final.ipynb
23:29:43.916 [info] Cell 15 completed in 0.398s (start: 1716910183517, end: 1716910183915)
23:29:46.564 [info] Handle Execution of Cells 17 for ~/quantum_computing/final/final.ipynb
23:29:46.572 [info] Cell 17 completed in 0.003s (start: 1716910186569, end: 1716910186572)
23:29:47.860 [info] Handle Execution of Cells 19 for ~/quantum_computing/final/final.ipynb
23:29:47.867 [info] Cell 19 completed in 0.002s (start: 1716910187865, end: 1716910187867)
23:29:53.219 [info] Handle Execution of Cells 21 for ~/quantum_computing/final/final.ipynb
23:29:53.226 [info] Cell 21 completed in 0.003s (start: 1716910193223, end: 1716910193226)
23:30:43.408 [info] Execution of code ms-toolsai.jupyter-1 completed in 46ms
23:31:25.815 [info] Disposing request as the cell (7) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.816 [info] Disposing request as the cell (9) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.817 [info] Disposing request as the cell (11) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.817 [info] Disposing request as the cell (13) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.818 [info] Disposing request as the cell (15) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.819 [info] Disposing request as the cell (17) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.820 [info] Disposing request as the cell (19) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.820 [info] Disposing request as the cell (21) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.822 [info] Dispose Kernel '~/quantum_computing/final/final.ipynb' associated with '~/quantum_computing/final/final.ipynb'

from vscode-jupyter.

XC-Li avatar XC-Li commented on September 27, 2024

Hi, @DonJayamanne I got the same error these days.
It seems to happen on new created jupyter notebooks.
And only happens when I run jupyter notebook on remote ubuntu server, local run is fine.
@timsu92 , please let me know if you found any solution, thanks.

Version info:
Python version: 3.12.3
Remote server version: Ubuntu 22.04.4 LTS
Local system: MacOS 14.5 (23F79)

VS Code Version:
Version: 1.89.1 (Universal)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:24.611Z (3 wks ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0

All VS Code extension are most recent version.

jupyter package version:
IPython : 8.24.0
ipykernel : 6.29.3
ipywidgets : not installed
jupyter_client : 8.6.2
jupyter_core : 5.7.2
jupyter_server : not installed
jupyterlab : not installed
nbclient : not installed
nbconvert : not installed
nbformat : not installed
notebook : not installed
qtconsole : not installed
traitlets : 5.14.3

My sample code, which will crash in about 3 minutes:
for i in range(6000): time.sleep(1) print(i)

Here is the log:

Show Logs
11:30:49.964 [info] Handle Execution of Cells 0,1,2,3,4 for ~/analysis/su_notebooks/temp/loop_only.ipynb
11:30:49.974 [debug] Cell Index:0 sent to kernel
11:30:49.984 [debug] Start cell 0 execution @ 1716921049983 (clear output)
11:30:49.984 [debug] Kernel acknowledged execution of cell 0 @ 1716921049983
11:30:49.991 [info] Cell 0 completed in 0.008s (start: 1716921049983, end: 1716921049991)
11:30:49.992 [debug] Cell 0 executed successfully
11:30:49.994 [debug] Cell Index:1 sent to kernel
11:30:50.001 [debug] Start cell 1 execution @ 1716921050001 (clear output)
11:30:50.001 [debug] Kernel acknowledged execution of cell 1 @ 1716921050001
11:30:50.013 [info] Cell 1 completed in 0.012s (start: 1716921050001, end: 1716921050013)
11:30:50.013 [debug] Cell 1 executed successfully
11:30:50.014 [debug] Cell Index:2 sent to kernel
11:30:50.025 [debug] Start cell 2 execution @ 1716921050025 (clear output)
11:30:50.025 [debug] Kernel acknowledged execution of cell 2 @ 1716921050025
11:30:50.030 [info] Cell 2 completed in 0.005s (start: 1716921050025, end: 1716921050030)
11:30:50.030 [debug] Cell 2 executed successfully
11:30:50.031 [debug] Cell Index:3 sent to kernel
11:30:50.036 [debug] Start cell 3 execution @ 1716921050035 (clear output)
11:30:50.036 [debug] Kernel acknowledged execution of cell 3 @ 1716921050035
11:33:52.657 [debug] Disposing kernel associated with ~/analysis/su_notebooks/temp/loop_only.ipynb, isClosed=true
11:33:52.657 [info] Dispose Kernel '~/analysis/su_notebooks/temp/loop_only.ipynb' associated with '~/analysis/su_notebooks/temp/loop_only.ipynb'
11:33:52.658 [debug] Cancel pending cells
11:33:52.658 [info] Cell 3 completed in -1716921050.035s (start: 1716921050035, end: undefined)
11:33:52.658 [info] Cell 4 completed in 0s (start: undefined, end: undefined)
11:33:52.660 [debug] Shutdown session b40a1956-84c8-4177-b338-bb9f5aa3ed5b, .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher - start called from Error: 
	at IT.shutdown (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:318:3505)
	at IT.disposeAsync (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:318:2982)
	at e (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:31465)
	at H_.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:31699)
	at Jy.disposeOldKernel (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:23060)
	at Jy.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:21281)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:165:20653)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.z (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:730)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:946)
	at r.$acceptDocumentAndEditorsDelta (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:160:8937)
	at c.S (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:5505)
	at c.Q (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:5271)
	at c.M (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:4361)
	at c.L (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:3579)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:2227)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
	at l.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:178:8023)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
	at l.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
	at r.z (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:17240)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:15692)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
	at f.acceptChunk (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:11949)
	at /media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:11236
	at Socket.S (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:175:13162)
	at Socket.emit (node:events:517:28)
	at addChunk (node:internal/streams/readable:335:12)
	at readableAddChunk (node:internal/streams/readable:308:9)
	at Readable.push (node:internal/streams/readable:245:10)
	at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
11:33:52.660 [debug] Dispose Kernel process 53226.
11:33:52.684 [debug] Kernel got disposed, hence there is no longer a kernel associated with ~/analysis/su_notebooks/temp/loop_only.ipynb
11:33:52.687 [debug] Notebook document ~/analysis/su_notebooks/temp/loop_only.ipynb got closed
11:33:52.688 [debug] Cancel executions after closing notebook ~/analysis/su_notebooks/temp/loop_only.ipynb
11:33:52.688 [debug] Cancel pending cells
11:33:52.690 [debug] Cell 3 executed successfully
11:33:52.691 [debug] Cell 4 executed successfully
11:33:52.693 [warn] Cancel all remaining cells due to dead kernel
11:33:52.693 [debug] Cancel pending cells
11:33:52.695 [debug] Shutdown session b40a1956-84c8-4177-b338-bb9f5aa3ed5b, .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher - shutdown complete
11:33:52.719 [debug] Disposed Kernel process 53226.
11:33:52.732 [debug] KernelProcess Exited 53226, Exit Code - undefined

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

11:33:52.657 [debug] Disposing kernel associated with ~/analysis/su_notebooks/temp/loop_only.ipynb, isClosed=true

Based on the logs, either a cell that was being executed was deleted or the notebook itself was closed.
Thus, this is by design

from vscode-jupyter.

XC-Li avatar XC-Li commented on September 27, 2024

Hi Don, Thanks for replying.
I didn't close the notebook or delete the cell while it's running, why the notebook would think the cell is deleted or notebook is closed?

I tried to run the notebook again, and it think the cell was deleted (which wasn't) this time:
image

Here is full log from starting the VS code:

Show Logs
Visual Studio Code (1.89.1, ssh-remote, desktop)
Jupyter Extension Version: 2024.4.0.
Python Extension Version: 2024.6.0.
Pylance Extension Version: 2024.5.1.
Platform: linux (x64).
Workspace folder ~/analysis/su_notebooks/temp, Home = /media/home/gli
14:24:12.070 [debug] Start refreshing Kernel Picker (1716931452070)
14:24:12.299 [debug] Preferred Remote kernel for ~/analysis/su_notebooks/temp/loop_only.ipynb is undefined
14:24:12.445 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.446 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.448 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.449 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.743 [debug] Search for KernelSpecs in Interpreter /usr/bin/python3
14:24:12.744 [debug] Search for KernelSpecs in Interpreter ~/anaconda3/bin/python
14:24:12.744 [debug] Search for KernelSpecs in Interpreter ~/anaconda3/envs/SCP_env/bin/python
14:24:12.744 [debug] Search for KernelSpecs in Interpreter ~/.virtualenvs/r-reticulate/bin/python
14:24:12.744 [debug] Search for KernelSpecs in Interpreter /bin/python3
14:24:12.744 [debug] Search for KernelSpecs in Interpreter ~/anaconda3/envs/may24/bin/python
14:24:12.745 [debug] Kernel Spec for 'Python 3 (ipykernel)' (/usr/share/jupyter/kernels/python3/kernel.json) is hidden. (isDefaultKernelSpec = true, language = python, registrationInfo = undefined)
14:24:12.747 [debug] Get Custom Env Variables, Class name = qm, completed in 679ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
14:24:12.747 [debug] Jupyter Paths /kernels: 
14:24:12.747 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/.local/share/jupyter/kernels
14:24:12.758 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.760 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.761 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.762 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.763 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:9999/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:9999
14:24:12.764 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.790 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.793 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.795 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.868 [error] Error fetching kernels from http://127.0.0.1:8888/ (R): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931452788 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:12.868 [debug] Disposing Jupyter Lab Helper
14:24:12.868 [debug] SessionManager - dispose contents manager
14:24:12.868 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:12.869 [error] Error fetching kernels from http://127.0.0.1:8888/ (127.0.0.1): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931452791 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:12.869 [debug] Disposing Jupyter Lab Helper
14:24:12.869 [debug] SessionManager - dispose contents manager
14:24:12.869 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:12.869 [error] Error fetching kernels from http://127.0.0.1:8888/ (127.0.0.1): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931452794 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:12.869 [debug] Disposing Jupyter Lab Helper
14:24:12.869 [debug] SessionManager - dispose contents manager
14:24:12.869 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:12.870 [error] Error fetching kernels from http://127.0.0.1:8888/ (127.0.0.1): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931452796 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:12.870 [debug] Disposing Jupyter Lab Helper
14:24:12.870 [debug] SessionManager - dispose contents manager
14:24:12.870 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:12.871 [debug] Finished disposing Jupyter Lab Helper
14:24:12.871 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:12.873 [debug] Finished disposing Jupyter Lab Helper
14:24:12.873 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:12.874 [debug] Finished disposing Jupyter Lab Helper
14:24:12.875 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:12.876 [debug] Finished disposing Jupyter Lab Helper
14:24:12.876 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:12.885 [debug] No controller, hence notebook communications cannot be initialized for editor ~/analysis/su_notebooks/temp/loop_only.ipynb
14:24:12.885 [debug] Start refreshing Interpreter Kernel Picker
14:24:12.960 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.963 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.965 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.967 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.968 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:9999/ failed, reason: connect ECONNREFUSED 127.0.0.1:9999
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:12.970 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.971 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.972 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:12.973 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://127.0.0.1:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:13.063 [debug] KernelProvider switched kernel to id = .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher
14:24:13.063 [debug] start the kernel, options.disableUI=true for ~/analysis/su_notebooks/temp/loop_only.ipynb
14:24:13.068 [debug] Registering commtarget jupyter.widget
14:24:13.069 [debug] Controller selection change completed
14:24:13.091 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.094 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.096 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.098 [error] Failed to validate Password info [D [FetchError]: request to http://127.0.0.1:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.116 [debug] Get Custom Env Variables, Class name = qm, completed in 0ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp", Arg 2: "RunPythonCode"
14:24:13.117 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher  (Python Path: ~/anaconda3/envs/may24/bin/python, Conda, may24 (Python 3.12.3), 3.12.3) for '~/analysis/su_notebooks/temp/loop_only.ipynb' (disableUI=true)
14:24:13.117 [debug] Creating raw notebook for resource '~/analysis/su_notebooks/temp/loop_only.ipynb'
14:24:13.119 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931452962 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.119 [debug] Disposing Jupyter Lab Helper
14:24:13.119 [debug] SessionManager - dispose contents manager
14:24:13.119 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.119 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931452964 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.119 [debug] Disposing Jupyter Lab Helper
14:24:13.119 [debug] SessionManager - dispose contents manager
14:24:13.119 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.120 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931452966 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.120 [debug] Disposing Jupyter Lab Helper
14:24:13.120 [debug] SessionManager - dispose contents manager
14:24:13.120 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.120 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931452968 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.120 [debug] Disposing Jupyter Lab Helper
14:24:13.120 [debug] SessionManager - dispose contents manager
14:24:13.120 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.121 [error] Error fetching kernels from http://localhost:9999/ (localhost): [FetchError: request to http://localhost:9999/api/kernels?1716931452970 failed, reason: connect ECONNREFUSED 127.0.0.1:9999
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.121 [debug] Disposing Jupyter Lab Helper
14:24:13.121 [debug] SessionManager - dispose contents manager
14:24:13.121 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.122 [debug] Finished disposing Jupyter Lab Helper
14:24:13.122 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.123 [debug] Finished disposing Jupyter Lab Helper
14:24:13.123 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.124 [debug] Finished disposing Jupyter Lab Helper
14:24:13.124 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.125 [debug] Finished disposing Jupyter Lab Helper
14:24:13.126 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.127 [debug] Finished disposing Jupyter Lab Helper
14:24:13.127 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.128 [error] Error fetching kernels from http://127.0.0.1:8888/ (R): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453093 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.128 [debug] Disposing Jupyter Lab Helper
14:24:13.128 [debug] SessionManager - dispose contents manager
14:24:13.128 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.129 [error] Error fetching kernels from http://127.0.0.1:8888/ (127.0.0.1): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453095 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.129 [debug] Disposing Jupyter Lab Helper
14:24:13.129 [debug] SessionManager - dispose contents manager
14:24:13.129 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.129 [error] Error fetching kernels from http://127.0.0.1:8888/ (127.0.0.1): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453097 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.129 [debug] Disposing Jupyter Lab Helper
14:24:13.129 [debug] SessionManager - dispose contents manager
14:24:13.129 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.129 [error] Error fetching kernels from http://127.0.0.1:8888/ (127.0.0.1): [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453099 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.129 [debug] Disposing Jupyter Lab Helper
14:24:13.129 [debug] SessionManager - dispose contents manager
14:24:13.129 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.130 [debug] Finished disposing Jupyter Lab Helper
14:24:13.130 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.130 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453093 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.130 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.131 [debug] Finished disposing Jupyter Lab Helper
14:24:13.131 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.131 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453095 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.131 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.132 [debug] Finished disposing Jupyter Lab Helper
14:24:13.132 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.132 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453097 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.132 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.132 [debug] Finished disposing Jupyter Lab Helper
14:24:13.132 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.132 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://127.0.0.1:8888/api/kernels?1716931453099 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.132 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.203 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:13.204 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:13.205 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:13.206 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:8888/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:8888
14:24:13.206 [debug] Error in detecting whether url is isJupyterHub: FetchError: request to http://localhost:9999/hub/api failed, reason: connect ECONNREFUSED 127.0.0.1:9999
14:24:13.226 [debug] Get Custom Env Variables, Class name = qm, completed in 1ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp/loop_only.ipynb", Arg 2: "RunPythonCode"
14:24:13.254 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.256 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.257 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.259 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.261 [error] Failed to validate Password info [D [FetchError]: request to http://localhost:9999/ failed, reason: connect ECONNREFUSED 127.0.0.1:9999
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)] {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
14:24:13.286 [debug] Hiding default KernelSpec 'python3123jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f', ~/anaconda3/envs/may24/bin/python for interpreter ~/anaconda3/envs/may24/bin/python (KernelSpec file ~/anaconda3/envs/may24/share/jupyter/kernels/python3/kernel.json)
14:24:13.287 [debug] Hiding default KernelSpec 'python3119jvsc74a57bd03b1fd75cd4d7b6b856480e187b11f9a7d71ec7502b18351c1e1a2c5dc40f03cb', ~/anaconda3/bin/python for interpreter ~/anaconda3/bin/python (KernelSpec file ~/anaconda3/share/jupyter/kernels/python3/kernel.json)
14:24:13.306 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931453255 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.306 [debug] Disposing Jupyter Lab Helper
14:24:13.306 [debug] SessionManager - dispose contents manager
14:24:13.306 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.306 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931453257 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.306 [debug] Disposing Jupyter Lab Helper
14:24:13.306 [debug] SessionManager - dispose contents manager
14:24:13.306 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.307 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931453258 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.307 [debug] Disposing Jupyter Lab Helper
14:24:13.307 [debug] SessionManager - dispose contents manager
14:24:13.307 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.307 [error] Error fetching kernels from http://localhost:8888/ (localhost): [FetchError: request to http://localhost:8888/api/kernels?1716931453260 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.307 [debug] Disposing Jupyter Lab Helper
14:24:13.307 [debug] SessionManager - dispose contents manager
14:24:13.307 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.307 [error] Error fetching kernels from http://localhost:9999/ (localhost): [FetchError: request to http://localhost:9999/api/kernels?1716931453262 failed, reason: connect ECONNREFUSED 127.0.0.1:9999
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.307 [debug] Disposing Jupyter Lab Helper
14:24:13.307 [debug] SessionManager - dispose contents manager
14:24:13.307 [debug] ShutdownSessionAndConnection - dispose session manager
14:24:13.308 [debug] Finished disposing Jupyter Lab Helper
14:24:13.308 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.308 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:8888/api/kernels?1716931453255 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.308 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.309 [debug] Finished disposing Jupyter Lab Helper
14:24:13.309 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.309 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:8888/api/kernels?1716931453257 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.309 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.309 [debug] Finished disposing Jupyter Lab Helper
14:24:13.309 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.309 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:8888/api/kernels?1716931453258 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.309 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.310 [debug] Finished disposing Jupyter Lab Helper
14:24:13.310 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.310 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:8888/api/kernels?1716931453260 failed, reason: connect ECONNREFUSED 127.0.0.1:8888
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.310 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.311 [debug] Finished disposing Jupyter Lab Helper
14:24:13.311 [error] Jupyter Lab Helper:getKernelSpecs failure:  [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
	at v.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
	at ni.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
	at r.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Promise.all (index 0)
	at async __.listKernelsFromConnection (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
	at async /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636]
14:24:13.311 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache [FetchError: request to http://localhost:9999/api/kernels?1716931453262 failed, reason: connect ECONNREFUSED 127.0.0.1:9999
	at ClientRequest.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
	at ClientRequest.emit (node:events:517:28)
	at Socket.socketErrorListener (node:_http_client:501:9)
	at Socket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]
14:24:13.311 [debug] UniversalRemoteKernelFinder: Writing 0 remote kernel connection metadata to cache
14:24:13.329 [debug] Launching kernel .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher for ~/analysis/su_notebooks/temp/loop_only.ipynb in //media/home/~/analysis/su_notebooks/temp with ports 9001, 9000, 9004, 9002, 9003
14:24:13.400 [debug] Python API env change detected, update => '/usr/bin/python3'
14:24:13.400 [debug] Search for KernelSpecs in Interpreter /usr/bin/python3
14:24:13.534 [debug] Conda file is conda
14:24:13.728 [debug] Python API env change detected, update => '/usr/bin/python3'
14:24:13.730 [debug] Refreshed Environments
14:24:14.094 [debug] Got env vars from Python Ext in 869ms for ~/anaconda3/envs/may24/bin/python, with env var count 47. 
    PATH value is /media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and 
    Path value is undefined
14:24:14.094 [debug] Prepend PATH with python bin for ~/anaconda3/envs/may24/bin/python
14:24:14.095 [debug] Activated Env Variables for ~/anaconda3/envs/may24/bin/python, 
    PATH value is /media/home/~/anaconda3/envs/may24/bin:/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and 
    Path value is undefined
14:24:14.096 [debug] Getting activated env variables, Class name = kp, completed in 870ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp/loop_only.ipynb", Arg 2: "~/anaconda3/envs/may24/bin/python", Arg 3: undefined
14:24:14.125 [info] Process Execution: ~/anaconda3/envs/may24/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
14:24:14.126 [debug] Kernel Env Variables for /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/temp/jupyter/kernels/python3123jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f/kernel.json, PATH value is /media/home/~/anaconda3/envs/may24/bin:/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
14:24:14.157 [info] Process Execution: ~/anaconda3/envs/may24/bin/python -m ipykernel_launcher --f=/media/home/~/.local/share/jupyter/runtime/kernel-v2-53669mMWjBnkVIgQd.json
    > cwd: //media/home/~/analysis/su_notebooks/temp
14:24:14.158 [debug] Kernel process 53878.
14:24:14.170 [debug] Got env vars from Python Ext in 1053ms for ~/anaconda3/envs/may24/bin/python, with env var count 47. 
    PATH value is /media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and 
    Path value is undefined
14:24:14.170 [debug] Prepend PATH with python bin for ~/anaconda3/envs/may24/bin/python
14:24:14.170 [debug] Activated Env Variables for ~/anaconda3/envs/may24/bin/python, 
    PATH value is /media/home/~/anaconda3/envs/may24/bin:/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and 
    Path value is undefined
14:24:14.170 [debug] Getting activated env variables, Class name = kp, completed in 1055ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp", Arg 2: "~/anaconda3/envs/may24/bin/python", Arg 3: undefined
14:24:14.198 [info] Process Execution: ~/anaconda3/envs/may24/bin/python -m pip list
14:24:14.291 [debug] ipykernel version & path 6.29.3, ~/anaconda3/envs/may24/lib/python3.12/site-packages/ipykernel/__init__.py for ~/anaconda3/envs/may24/bin/python
14:24:14.293 [debug] Interpreter for Pylance for Notebook URI "~/analysis/su_notebooks/temp/loop_only.ipynb" is ~/anaconda3/envs/may24/bin/python
14:24:14.495 [debug] Kernel output 53878: To connect another client to this kernel, use:
--existing kernel-v2-53669mMWjBnkVIgQd.json
14:24:14.617 [debug] Waiting for Raw Session to be ready in postStartRawSession
14:24:14.617 [debug] Waiting for Raw session to be ready, status: connected
14:24:14.617 [debug] Raw session connected
14:24:14.617 [debug] Waiting for Raw session to be ready
14:24:14.618 [debug] Waited for Raw session to be ready & got status: connected
14:24:14.618 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
14:24:14.618 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
14:24:14.618 [debug] Sending request for kernelInfo
14:24:14.628 [debug] Got response for requestKernelInfo
14:24:14.628 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 10ms
14:24:14.629 [debug] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
14:24:14.636 [debug] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
14:24:14.637 [debug] Started running kernel initialization for ~/analysis/su_notebooks/temp/loop_only.ipynb
14:24:14.637 [debug] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
14:24:14.643 [debug] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 0 output(s)
14:24:14.643 [debug] Determined IPyWidgets Version as undefined
14:24:14.643 [debug] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
14:24:14.658 [debug] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
14:24:14.658 [debug] Requesting Kernel info
14:24:14.658 [debug] Got Kernel info
14:24:14.658 [debug] End running kernel initialization, now waiting for idle
14:24:14.658 [debug] Waiting for idle on (kernel): b37704d9-238f-406b-a3e6-5d9a03d61ea3 -> idle
14:24:14.659 [debug] Finished waiting for idle on (kernel): b37704d9-238f-406b-a3e6-5d9a03d61ea3 -> idle
14:24:14.659 [debug] End running kernel initialization, session is idle
14:24:14.660 [debug] Registering Kernel Completion Provider from kernel may24 (Python 3.12.3) for language python
14:24:14.660 [debug] IPyWidgetScriptSource.initialize
14:24:14.662 [debug] getDataDirsImpl, Class name = qr (started execution), Arg 1: "~/analysis/su_notebooks/temp/loop_only.ipynb", Arg 2: "~/anaconda3/envs/may24/bin/python"
14:24:14.663 [debug] Get Custom Env Variables, Class name = qm, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
14:24:14.663 [debug] Jupyter Paths : 
14:24:14.663 [debug] Get Custom Env Variables, Class name = qm, completed in 0ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp/loop_only.ipynb", Arg 2: "RunPythonCode"
14:24:14.664 [debug] Got env vars from Python Ext in 1ms for ~/anaconda3/envs/may24/bin/python, with env var count 47. 
    PATH value is /media/home/~/anaconda3/envs/may24/bin:/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and 
    Path value is undefined
14:24:14.664 [debug] Prepend PATH with python bin for ~/anaconda3/envs/may24/bin/python
14:24:14.664 [debug] Activated Env Variables for ~/anaconda3/envs/may24/bin/python, 
    PATH value is /media/home/~/anaconda3/envs/may24/bin:/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/bin/remote-cli:/media/home/~/anaconda3/envs/may24/bin:/media/home/~/anaconda3/condabin:/media/home/~/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and 
    Path value is undefined
14:24:14.664 [debug] Getting activated env variables, Class name = kp, completed in 1ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp/loop_only.ipynb", Arg 2: "~/anaconda3/envs/may24/bin/python", Arg 3: undefined
14:24:14.688 [info] Process Execution: ~/anaconda3/envs/may24/bin/python /media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/pythonFiles/printJupyterDataDir.py
14:24:14.700 [debug] getDataDirsImpl, Class name = qr, completed in 38ms, has a truthy return value, Arg 1: "~/analysis/su_notebooks/temp/loop_only.ipynb", Arg 2: "~/anaconda3/envs/may24/bin/python", Return Value: <Uri:/media/home/~/.local/share/jupyter>, <Uri:/media/home/~/anaconda3/envs/may24/share/jupyter>, <Uri:/usr/local/share/jupyter>, <Uri:/usr/share/jupyter>
14:24:14.731 [debug] End refreshing Kernel Picker (1716931452070)
14:24:21.554 [info] Handle Execution of Cells 0,1,2,3,4 for ~/analysis/su_notebooks/temp/loop_only.ipynb
14:24:21.564 [debug] Cell Index:0 sent to kernel
14:24:21.574 [debug] Start cell 0 execution @ 1716931461573 (clear output)
14:24:21.574 [debug] Kernel acknowledged execution of cell 0 @ 1716931461573
14:24:21.581 [info] Cell 0 completed in 0.007s (start: 1716931461573, end: 1716931461580)
14:24:21.581 [debug] Cell 0 executed successfully
14:24:21.583 [debug] Cell Index:1 sent to kernel
14:24:21.588 [debug] Start cell 1 execution @ 1716931461588 (clear output)
14:24:21.588 [debug] Kernel acknowledged execution of cell 1 @ 1716931461588
14:24:21.602 [info] Cell 1 completed in 0.014s (start: 1716931461588, end: 1716931461602)
14:24:21.602 [debug] Cell 1 executed successfully
14:24:21.603 [debug] Cell Index:2 sent to kernel
14:24:21.608 [debug] Start cell 2 execution @ 1716931461608 (clear output)
14:24:21.608 [debug] Kernel acknowledged execution of cell 2 @ 1716931461608
14:24:21.610 [info] Cell 2 completed in 0.002s (start: 1716931461608, end: 1716931461610)
14:24:21.611 [debug] Cell 2 executed successfully
14:24:21.612 [debug] Cell Index:3 sent to kernel
14:24:21.616 [debug] Start cell 3 execution @ 1716931461616 (clear output)
14:24:21.616 [debug] Kernel acknowledged execution of cell 3 @ 1716931461616
14:27:31.690 [info] Disposing request as the cell (4) was deleted ~/analysis/su_notebooks/temp/loop_only.ipynb
14:27:31.690 [debug] Disposing kernel associated with ~/analysis/su_notebooks/temp/loop_only.ipynb, isClosed=true
14:27:31.691 [info] Dispose Kernel '~/analysis/su_notebooks/temp/loop_only.ipynb' associated with '~/analysis/su_notebooks/temp/loop_only.ipynb'
14:27:31.691 [debug] Cancel pending cells
14:27:31.691 [info] Cell 3 completed in -1716931461.616s (start: 1716931461616, end: undefined)
14:27:31.692 [info] Cell 4 completed in 0s (start: undefined, end: undefined)
14:27:31.693 [debug] Shutdown session b37704d9-238f-406b-a3e6-5d9a03d61ea3, .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher - start called from Error: 
	at IT.shutdown (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:318:3505)
	at IT.disposeAsync (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:318:2982)
	at e (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:31465)
	at H_.dispose (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:31699)
	at Jy.disposeOldKernel (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:23060)
	at Jy.<anonymous> (/media/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:299:21281)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:165:20653)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.z (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:730)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:946)
	at r.$acceptDocumentAndEditorsDelta (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:160:8937)
	at c.S (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:5505)
	at c.Q (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:5271)
	at c.M (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:4361)
	at c.L (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:3579)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:152:2227)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
	at l.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:178:8023)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
	at l.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:14175)
	at r.z (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:17240)
	at a.value (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:15692)
	at o.y (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:660)
	at o.fire (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:82:877)
	at f.acceptChunk (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:11949)
	at /media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:107:11236
	at Socket.S (/media/home/~/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/vs/workbench/api/node/extensionHostProcess.js:175:13162)
	at Socket.emit (node:events:517:28)
	at addChunk (node:internal/streams/readable:335:12)
	at readableAddChunk (node:internal/streams/readable:308:9)
	at Readable.push (node:internal/streams/readable:245:10)
	at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
14:27:31.694 [debug] Dispose Kernel process 53878.
14:27:31.720 [debug] Kernel got disposed, hence there is no longer a kernel associated with ~/analysis/su_notebooks/temp/loop_only.ipynb
14:27:31.723 [debug] Notebook document ~/analysis/su_notebooks/temp/loop_only.ipynb got closed
14:27:31.724 [debug] Cancel executions after closing notebook ~/analysis/su_notebooks/temp/loop_only.ipynb
14:27:31.724 [debug] Cancel pending cells
14:27:31.726 [debug] Cell 3 executed successfully
14:27:31.727 [debug] Cell 4 executed successfully
14:27:31.728 [warn] Cancel all remaining cells due to dead kernel
14:27:31.728 [debug] Cancel pending cells
14:27:31.730 [debug] Shutdown session b37704d9-238f-406b-a3e6-5d9a03d61ea3, .jvsc74a57bd00e345d715f4fcc8a1b07db394d392a49f48c73765ad76df508b088482331a45f./media/home/~/anaconda3/envs/may24/python./media/home/~/anaconda3/envs/may24/python.-m#ipykernel_launcher - shutdown complete
14:27:31.755 [debug] Disposed Kernel process 53878.
14:27:31.768 [debug] KernelProcess Exited 53878, Exit Code - undefined

from vscode-jupyter.

XC-Li avatar XC-Li commented on September 27, 2024

11:33:52.657 [debug] Disposing kernel associated with ~/analysis/su_notebooks/temp/loop_only.ipynb, isClosed=true

Based on the logs, either a cell that was being executed was deleted or the notebook itself was closed. Thus, this is by design

Hi @DonJayamanne , I have posted another full log on this error. Please take a look.

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

@timsu92 , please let me know if you found any solution, thanks.

@XC-Li Not yet found any thought🥲
Since my problem sometimes looks like that in the new issue, and sometimes not, I'm writing on both issues depending on what I see.

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

@timsu92 @XC-Li
Looks like both issues are related and the same

23:29:53.226 [info] Cell 21 completed in 0.003s (start: 1716910193223, end: 1716910193226)
23:30:43.408 [info] Execution of code ms-toolsai.jupyter-1 completed in 46ms
23:31:25.815 [info] Disposing request as the cell (7) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.816 [info] Disposing request as the cell (9) was deleted ~/quantum_computing/final/final.ipynb

For some reason some cells are being flagged as bing deleted.

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

@XC-Li @timsu92

  • do you run into this issue when running another notebook?
  • Can you try running a different notebook with each cell containing print("Hello World")
  • Please can you disable ALL extensions except for Jupyter and Python (i.e. disable Pylance, and all other extensions)

Please let me know the results for each of the above.
Thanks

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

@timsu92 @XC-Li Looks like both issues are related and the same

23:29:53.226 [info] Cell 21 completed in 0.003s (start: 1716910193223, end: 1716910193226)
23:30:43.408 [info] Execution of code ms-toolsai.jupyter-1 completed in 46ms
23:31:25.815 [info] Disposing request as the cell (7) was deleted ~/quantum_computing/final/final.ipynb
23:31:25.816 [info] Disposing request as the cell (9) was deleted ~/quantum_computing/final/final.ipynb

For some reason some cells are being flagged as bing deleted.

Yes, in this second log I posted, the cell looks like being deleted. However, in the first log, only the kernel was disposed.
I'm trying to see what makes these two different outcomes.

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

Hi, @XC-Li ! I have Continue installed as well, and disabling it truly solved the problem. However, re-enabling it doesn't trigger the problem as well.
I guess this problem may be somewhat probabilistic, as I successfully executed the same notebook yesterday.
Yesterday, I also tried disabling all the plugins except WSL, language pack, Jupyter plugins and Python, and it was successful as well.

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

After testing more, this is what I got: enabling Contiinue doesn't always trigger the error, but disabling it with all other plugins enabled works like a charm.

If I date back Continue to version v0.8.27 (which was released 3 weeks ago), I'm not facing any errors more. @XC-Li Can you confirm?

from vscode-jupyter.

XC-Li avatar XC-Li commented on September 27, 2024

After testing more, this is what I got: enabling Contiinue doesn't always trigger the error, but disabling it with all other plugins enabled works like a charm.

If I date back Continue to version v0.8.27 (which was released 3 weeks ago), I'm not facing any errors more. @XC-Li Can you confirm?

Yes, downgrade Continue to 0.8.27 solves the problem. thanks.

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

Have we posted an issue there yet?

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

No I haven't

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

OK no problem! I'm trying to record a video for their issue template, but the error didn't show up today.

from vscode-jupyter.

edgBR avatar edgBR commented on September 27, 2024

Hi,

I am having the same issue:

[info] Disposing request as the cell (-1) was deleted

I havent deleted any cell, but my notebooks flickers everytime. This doesnt happen in jupyter lab.

My version of VSCode:

Version: 1.90.2 (user setup)
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:34:26.404Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

And Im running VScode with AzureML extension.

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

Hi, @edgBR !

In the issue in Continue #1463, they all face the problem when using remotely, including people here.

I managed to use them by downgrading Continue to version v0.8.27. Maybe you can give it a try!

from vscode-jupyter.

tommilaj avatar tommilaj commented on September 27, 2024

I am facing the same issue, 11:42:40.721 [info] Disposing request as the cell (-1) was deleted <.ipynb path>, however, I don't have Continue installed. I've only faced this using Azure ML remote compute instances, can't replicate locally with the same VSCode configuration. I have identified that the kernel is interrupted when the file is saved, either by autosave or manually. Disabling autosave keeps the kernel running, even with changing context within the editor. This I can replicate with a new notebook. Debug logs do not have any other information.

I've encountered this now in two completely different Azure environments, both of which occurred after a while working on the project: some day when you reconnect to the instance, the issue is there. Before the first occurrance, autosave has worked normally. I've tried

  • creating a new compute instance, which shares files
  • creating a fresh directory with minimal Python dependencies

without luck. As if I've just accidentally enabled some keybind feature or similar, after which the notebooks just think they are deleting cells on save.

@DonJayamanne can this be reopened, since it is not only related to the mentioned extension.

from vscode-jupyter.

bjunkerm avatar bjunkerm commented on September 27, 2024

I can confirm, I have the same problems as @tommilaj also in the settings of Azure ML compute instances. As described, disabling the auto-safe makes the problem disappear.

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

@bjunkerm @tommilaj @edgBR Looks like all of you are using azure ML and thats most likely (some how) causing this issue.

Its possible that the same notebook file is opened in Jupyter Lab or the like and making updates to the ipynb file hence causing this issue.

  • Please can you close all other instances of Jupyter lab or the like and try again.
  • Please confirm no cells are running or being edited in jupyter lab or the like in az ml.

Updates to the ipynb file from other applicatinos can cause issues and unfrotunately theres not much we can do about this, except ask users to use only one tool to manage/edit ipynb files.

Also, please can you disable all extensions except for Jupyter, Python, and try again.

from vscode-jupyter.

ReverieTides avatar ReverieTides commented on September 27, 2024

Same scenario for me too, using azure ml.

[info] Disposing request as the cell (-1) was deleted

I've tried disabling all other addons besides Jupyer and Python and tried numerous rollbacks/reinstalls of vscode and various extension combos, with no success.

edit:
No other programs / kernels have the notebook open, I've tested with a brand new file too.

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

@tbombach @sevillal @shsuman
Are you aware of any back end service that might be running in the background that would be updating the ipynb file.
Given this is only reported on Azure ML, I suspect something is going on with some other service that could be updating the ipynb file.

from vscode-jupyter.

shsuman avatar shsuman commented on September 27, 2024

@DonJayamanne Not exactly. Can you please let me know whether this is happening from Azure ML Studio click out or Azure AI Studio click out ? In the meantime, lets sync up with Azure ML team offline to shed some more light on it

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

e Not exactly. Can you please let me know whether this is happening from Azure ML Studio click out or Azure AI Studio click out ?

I have no idea, please can you check

from vscode-jupyter.

shsuman avatar shsuman commented on September 27, 2024

@edgBR @timsu92 @tommilaj @ReverieTides @bjunkerm Can you please let me know whether you are using Compute instances click out (Azure ML Studio) or Environment containers click out (Azure AI Studio) ?

from vscode-jupyter.

tommilaj avatar tommilaj commented on September 27, 2024

@shsuman I am not sure what the up-to-date naming convention is. I'm using Azure Machine Learning workspace resource, and a Compute instance created within that workspace, which I've connected using the VSCode ms-toolsai.vscode-ai-remote extension. The portal studio is titled Azure AI | Machine Learning Studio, being not very informative.

I found out the saving causing the interruption by chance, when I tried disabling editor configurations and enabling them one by one. Using interactive cells on regular .py files saving has no effect.

Let me know if there is anything I can do to help you. Will try responding within a day or two.

from vscode-jupyter.

bjunkerm avatar bjunkerm commented on September 27, 2024

@shsuman Same here, I am working on a compute instance in an Azure Machine Learning workspace.

from vscode-jupyter.

timsu92 avatar timsu92 commented on September 27, 2024

@edgBR @timsu92 @tommilaj @ReverieTides @bjunkerm Can you please let me know whether you are using Compute instances click out (Azure ML Studio) or Environment containers click out (Azure AI Studio) ?

I'm not using Azure ML, but using VSCode on Windows and connect to local WSL2 (Ubuntu 22.04), and that's why I think I'm running Jupyter remotely.

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

#15716 (comment)

@shsuman Looks like this might not be an AzML issue after all.

from vscode-jupyter.

edgBR avatar edgBR commented on September 27, 2024

Hi @DonJayamanne

I am currently OOO but I was using AzureML compute instance in Azure Machine Learning Studio. As @tommilaj I'm using the VScode extension to connect to the compute instance. However I also launched VScode in the browser and I had exactly the same problem.

BR
E

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

However I also launched VScode in the browser and I had exactly the same problem.

Were you connected to Jupyter in the browser? I.e. were you connected to a person remote jupyter server, or azml, or was it code spaces?

from vscode-jupyter.

edgBR avatar edgBR commented on September 27, 2024

Hi @DonJayamanne

Again, just AzureML, basically in the UI of compute instances you have the option to launch jupyterlab, VScode and VSCode in the browser (https://learn.microsoft.com/en-us/azure/machine-learning/how-to-launch-vs-code-remote?view=azureml-api-2&tabs=vscode-web). When using VSCode option you need the azureML extension in VSCode, when you use the browser VSCode you don't need that extension. In any of the cases I have the same problem.

from vscode-jupyter.

shsuman avatar shsuman commented on September 27, 2024

en using VSCode option you need the azureML extension in VSCode, when you use the browser VSCode you don't need that extension. In any of the cases I have the same problem.

@DonJayamanne seems like a generic remote workspace problem. I suggest looking if you can repro in WSL

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

@edgBR @tommilaj @ReverieTides @bjunkerm
I'm sorry you continue to run into this issue and thanks for your patience.

I also noticed that you hadn't provided logs, perhaps your scenarios could be different from the case where logs were provided (as that was due to the cursor extension).

Please can you share the logs when you run into this, along with screenshots of any error messages dispalyed
Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to verbose
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel. (use the command Jupyter: Show Output to get there)

Can you try the following

  • Disable auto save & try to repro again
  • Does this repro with a simple notebook that only contains print statements and possibly time.sleep
  • When exactly do you run into this issue
    • Do you run into this only when hitting save or leaving a notebook running for a while and then coming back?

FYI, I haven't been able to repro this at my end neither with WSL nor with Azure ML compute.

  • Perhaps you can share a very simple notebook as well (that repro this issue)
    • Please try to ensure this is a minimal notebook, without using too many packages and the like (as that will only delay the setup and complicate it)
  • Provide the exact steps (is it just running all notebooks)

from vscode-jupyter.

ReverieTides avatar ReverieTides commented on September 27, 2024

@edgBR @tommilaj @ReverieTides @bjunkerm I'm sorry you continue to run into this issue and thanks for your patience.

I also noticed that you hadn't provided logs, perhaps your scenarios could be different from the case where logs were provided (as that was due to the cursor extension).

Please can you share the logs when you run into this, along with screenshots of any error messages dispalyed Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to verbose
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel. (use the command Jupyter: Show Output to get there)

Can you try the following

  • Disable auto save & try to repro again

  • Does this repro with a simple notebook that only contains print statements and possibly time.sleep

  • When exactly do you run into this issue

    • Do you run into this only when hitting save or leaving a notebook running for a while and then coming back?

FYI, I haven't been able to repro this at my end neither with WSL nor with Azure ML compute.

  • Perhaps you can share a very simple notebook as well (that repro this issue)

    • Please try to ensure this is a minimal notebook, without using too many packages and the like (as that will only delay the setup and complicate it)
  • Provide the exact steps (is it just running all notebooks)

Sorry this is a mess, I'm not experienced with contributing debugging issues.

Here are my logs:

Show Logs
Visual Studio Code (1.91.1, amlext, desktop)
Jupyter Extension Version: 2024.6.2024070901.
Python Extension Version: 2024.11.2024071501.
Pylance Extension Version: 2024.7.1.
Platform: linux (x64).
Workspace folder ~/cloudfiles/code, Home = /home/azureuser
10:05:41.014 [info] User does not belong to experiment group 'CustomEditor'
10:05:41.258 [debug] Start refreshing Kernel Picker (1721383541258)
10:05:42.278 [trace] Search for KernelSpecs in Interpreter /anaconda/envs/azureml_py310_sdkv2/bin/python
10:05:42.279 [trace] Search for KernelSpecs in Interpreter /anaconda/envs/azureml_py38/bin/python
10:05:42.280 [trace] Search for KernelSpecs in Interpreter /anaconda/envs/azureml_py38_PT_TF/bin/python
10:05:42.280 [trace] Search for KernelSpecs in Interpreter /anaconda/envs/redacted/bin/python
10:05:42.280 [trace] Search for KernelSpecs in Interpreter /bin/python3
10:05:42.281 [trace] Search for KernelSpecs in Interpreter /usr/bin/python3
10:05:42.281 [trace] Search for KernelSpecs in Interpreter /anaconda/bin/python
10:05:42.282 [trace] Search for KernelSpecs in Interpreter /anaconda/envs/jupyter_env/bin/python
10:05:42.285 [debug] Get Custom Env Variables, Class name = Sm, completed in 1028ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
10:05:42.285 [debug] Jupyter Paths /kernels: 
10:05:42.286 [trace] Kernel python38-azureml-pt-tf matches /anaconda/envs/azureml_py38_PT_TF/bin/python based on argv.
10:05:42.286 [trace] Kernel python310-sdkv2 matches /anaconda/envs/azureml_py310_sdkv2/bin/python based on argv.
10:05:42.287 [trace] Kernel python38-azureml matches /anaconda/envs/azureml_py38/bin/python based on argv.
10:05:42.289 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/.local/share/jupyter/kernels
10:05:42.397 [trace] Hiding default KernelSpec /anaconda/envs/azureml_py310_sdkv2/bin/python for interpreter /anaconda/envs/azureml_py310_sdkv2/bin/python (KernelSpec file /anaconda/envs/azureml_py310_sdkv2/share/jupyter/kernels/python3/kernel.json)
10:05:42.398 [trace] Hiding default KernelSpec /python for interpreter /anaconda/envs/azureml_py38/bin/python (KernelSpec file /anaconda/envs/azureml_py38/share/jupyter/kernels/python3/kernel.json)
10:05:42.399 [trace] Hiding default KernelSpec /anaconda/envs/azureml_py38_PT_TF/bin/python for interpreter /anaconda/envs/azureml_py38_PT_TF/bin/python (KernelSpec file /anaconda/envs/azureml_py38_PT_TF/share/jupyter/kernels/python3/kernel.json)
10:05:42.399 [trace] Hiding default KernelSpec /python for interpreter /anaconda/envs/jupyter_env/bin/python (KernelSpec file /anaconda/envs/jupyter_env/share/jupyter/kernels/python3/kernel.json)
10:05:42.400 [trace] Hiding default KernelSpec /python for interpreter /anaconda/envs/redacted/bin/python (KernelSpec file /anaconda/envs/redacted/share/jupyter/kernels/python3/kernel.json)
10:05:42.400 [debug] End refreshing Kernel Picker (1721383541258)
10:05:42.501 [debug] KernelProvider switched kernel to id = .jvsc74a57bd0baa4e5c2f73e02477bbc2388cc22327fc5d9d8306708087499c949f00c92c663./anaconda/envs/redacted/python./anaconda/envs/redacted/python.-m#ipykernel_launcher
10:05:42.502 [debug] start the kernel, options.disableUI=true for "~/cloudfiles/code/mre.ipynb"
10:05:42.530 [trace] Registering commtarget jupyter.widget
10:05:42.532 [debug] Controller selection change completed
10:05:42.551 [debug] Get Custom Env Variables, Class name = Sm, completed in 1ms, has a truthy return value, Arg 1: "~/cloudfiles/code", Arg 2: "RunPythonCode"
10:05:42.551 [info] Starting Kernel (Python Path: /anaconda/envs/redacted/bin/python, Conda, 3.11.8) for '"~/cloudfiles/code/mre.ipynb"' (disableUI=true)
10:05:42.553 [trace] Creating raw notebook for resource '"~/cloudfiles/code/mre.ipynb"'
10:05:42.574 [debug] Get Custom Env Variables, Class name = Sm, completed in 1ms, has a truthy return value, Arg 1: ""~/cloudfiles/code/mre.ipynb"", Arg 2: "RunPythonCode"
10:05:42.598 [debug] Launching kernel .jvsc74a57bd0baa4e5c2f73e02477bbc2388cc22327fc5d9d8306708087499c949f00c92c663./anaconda/envs/redacted/python./anaconda/envs/redacted/python.-m#ipykernel_launcher for "~/cloudfiles/code/mre.ipynb" in //home/~/cloudfiles/code/redacted with ports 9001, 9000, 9004, 9002, 9003
10:05:43.992 [debug] Interpreter for Pylance for Notebook URI ""~/cloudfiles/code/mre.ipynb"" is /anaconda/envs/redacted/bin/python
10:05:55.114 [trace] Conda file is conda
10:05:55.882 [debug] Got env vars from Python Ext in 13331ms for /anaconda/envs/redacted/bin/python, with env var count 62.
10:05:55.882 [trace] Prepend PATH with python bin for /anaconda/envs/redacted/bin/python
10:05:55.882 [debug] Getting activated env variables, Class name = pd, completed in 13332ms, has a truthy return value, Arg 1: "~/cloudfiles/code", Arg 2: "/anaconda/envs/redacted/bin/python", Arg 3: undefined
10:05:55.888 [info] Process Execution: /anaconda/envs/redacted/bin/python -m pip list
10:05:55.890 [debug] Got env vars from Python Ext in 13317ms for /anaconda/envs/redacted/bin/python, with env var count 62.
10:05:55.890 [trace] Prepend PATH with python bin for /anaconda/envs/redacted/bin/python
10:05:55.890 [debug] Getting activated env variables, Class name = pd, completed in 13317ms, has a truthy return value, Arg 1: ""~/cloudfiles/code/mre.ipynb"", Arg 2: "/anaconda/envs/redacted/bin/python", Arg 3: undefined
10:05:55.894 [info] Process Execution: /anaconda/envs/redacted/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
10:05:55.899 [info] Process Execution: /anaconda/envs/redacted/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v2-80894D7Qy34yLmwhG.json
    > cwd: //home/~/cloudfiles/code/redacted
10:05:55.899 [debug] Kernel process 81803.
10:05:55.935 [debug] Waiting for Raw Session to be ready in postStartRawSession
10:05:55.936 [debug] Waiting for Raw session to be ready, status: connected
10:05:55.936 [trace] Raw session connected
10:05:55.937 [debug] Waited for Raw session to be ready & got status: connected
10:05:55.937 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
10:05:55.937 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
10:05:55.937 [debug] Sending request for kernelInfo
10:05:56.152 [trace] ipykernel version & path 6.29.4, /anaconda/envs/redacted/lib/python3.11/site-packages/ipykernel/__init__.py for /anaconda/envs/redacted/bin/python
10:05:56.382 [debug] Kernel output 81803: To connect another client to this kernel, use:
--existing kernel-v2-80894D7Qy34yLmwhG.json
10:05:56.437 [trace] Did not get a response for requestKernelInfo
10:05:56.438 [debug] Sending request for kernelInfo
10:05:56.545 [debug] KernelProcess error 81803: [IPKernelApp] WARNING | Unknown error in handling startup files:

10:05:56.792 [trace] Got response for requestKernelInfo
10:05:56.793 [debug] Successfully completed postStartRawSession after 2 attempt(s) in 856ms
10:05:56.795 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
10:05:56.804 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
10:05:56.805 [trace] Started running kernel initialization for "~/cloudfiles/code/mre.ipynb"
10:05:56.806 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
10:05:56.811 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 0 output(s)
10:05:56.811 [trace] Determined IPyWidgets Version as undefined
10:05:56.812 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
10:05:56.824 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
10:05:56.824 [debug] Requesting Kernel info
10:05:56.825 [trace] Got Kernel info
10:05:56.825 [trace] End running kernel initialization, now waiting for idle
10:05:56.826 [trace] Waiting for idle on (kernel): 2d69d82f-4c3d-4b0c-98ec-73858aef34d8 -> idle
10:05:56.826 [trace] Finished waiting for idle on (kernel): 2d69d82f-4c3d-4b0c-98ec-73858aef34d8 -> idle
10:05:56.826 [trace] End running kernel initialization, session is idle
10:05:56.828 [trace] Registering Kernel Completion Provider from kernel redacted (Python 3.11.8) for language python
10:05:56.829 [trace] IPyWidgetScriptSource.initialize
10:05:56.830 [info] Kernel successfully started
10:05:56.831 [debug] getDataDirsImpl, Class name = Mr (started execution), Arg 1: ""~/cloudfiles/code/mre.ipynb"", Arg 2: "/anaconda/envs/redacted/bin/python"
10:05:56.832 [debug] Get Custom Env Variables, Class name = Sm, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
10:05:56.833 [debug] Jupyter Paths : 
10:05:56.837 [info] Process Execution: /anaconda/envs/redacted/bin/python /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.6.2024070901-linux-x64/pythonFiles/printJupyterDataDir.py
10:05:56.874 [debug] getDataDirsImpl, Class name = Mr, completed in 43ms, has a truthy return value, Arg 1: "~/cloudfiles/code/mre.ipynb", Arg 2: "/anaconda/envs/redacted/bin/python", Return Value: <Uri:/home/~/.local/share/jupyter>, <Uri:/anaconda/envs/redacted/share/jupyter>, <Uri:/usr/local/share/jupyter>, <Uri:/usr/share/jupyter>
10:06:18.824 [debug] Handle Execution of Cells 0 for "~/cloudfiles/code/mre.ipynb"
10:06:18.828 [trace] Cell Index:0 sent to kernel
10:06:18.835 [trace] Start cell 0 execution @ 1721383578835 (clear output)
10:06:18.836 [debug] Kernel acknowledged execution of cell 0 @ 1721383578835
10:06:24.466 [debug] VS Code interrupted kernel for "~/cloudfiles/code/mre.ipynb"
10:06:24.466 [debug] Command interrupted kernel for "~/cloudfiles/code/mre.ipynb"
10:06:24.466 [debug] interrupt the kernel, options.disableUI=false for "~/cloudfiles/code/mre.ipynb"
10:06:24.467 [info] Interrupt kernel execution
10:06:24.467 [debug] Cancel pending cells
10:06:24.467 [info] Interrupt requested "~/cloudfiles/code/mre.ipynb"
10:06:24.474 [info] Disposing request as the cell (-1) was deleted "~/cloudfiles/code/mre.ipynb"
10:06:24.474 [trace] Cell -1 completed in -1721383578.835s (start: 1721383578835, end: undefined)
10:06:24.477 [warn] Cell completed with errors (cancelled)
10:06:24.478 [info] Interrupt kernel execution
10:06:24.478 [info] Interrupting kernel: python3118jvsc74a57bd0baa4e5c2f73e02477bbc2388cc22327fc5d9d8306708087499c949f00c92c663
10:06:24.478 [info] Interrupting kernel via SIGINT
10:06:24.479 [trace] Cell -1 executed successfully
10:06:24.481 [info] Interrupt requested & sent for "~/cloudfiles/code/mre.ipynb" in notebookEditor.
10:06:24.484 [debug] Interpreter for Pylance for Notebook URI ""~/cloudfiles/code/mre.ipynb"" is /anaconda/envs/redacted/bin/python
10:06:24.539 [warn] Unhandled message found: execute_reply

This was the code used to generate the logs.
image

`import time

for i in range(1000):
print(i)
time.sleep(1)`

Disabling auto-save stops the issue from happening automatically, but the issue still occurs whenever the file is saved manually when a cell is running.

from vscode-jupyter.

melissa-barca avatar melissa-barca commented on September 27, 2024

I think I've been seeing this same bug. I ran the extension bisect and it identified Jupyter Cell Tags (0.1.9) as the issue. Disabling it or downgrading it to 0.1.8 seems to resolve the issue.

from vscode-jupyter.

edgBR avatar edgBR commented on September 27, 2024

I think I've been seeing this same bug. I ran the extension bisect and it identified Jupyter Cell Tags (0.1.9) as the issue. Disabling it or downgrading it to 0.1.8 seems to resolve the issue.

Hi @melissa-barca I tried to downgrade or disable but I am still having the same problem.

BR
E

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

TEMPORARY WORK AROUND

I know this is not a solution, but merely a very bad work around.
Please disable auto save feature and try to avoid saving whilst executing cells in a notebook

from vscode-jupyter.

DonJayamanne avatar DonJayamanne commented on September 27, 2024

Looks like saving of notebooks somehow causes the models to go out of sync.

from vscode-jupyter.

amunger avatar amunger commented on September 27, 2024

Unfortunately, none of us have been able to repro this issue, but we've added in some additional logging in vscode insiders to narrow it down.

If you can still repro this could you:

  1. download and install vscode insiders
  2. Set up your repro case
  3. run the command Developer: set log level and select trace
  4. open the output panel and select window and clear the current content (just to reduce the amount of logs)
  5. reproduce the issue
  6. Copy the window logs from the output panel, as well as the notebook and jupyter logs, and post them all here

from vscode-jupyter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.