Closed d3tk closed 1 month ago
@d3tk Thank you for filing this issue and sorry you are running into this issue.
"jupyterSettings.enablePythonKernelLogging": true
Reload vs code and try to replicate the issue once again and then share the logs again.
I added that line to my settings.json. It was greyed out: "Unknown Configuration Setting".
Here is the new log:
@DonJayamanne any updates on this?
I am still having trouble with this problem
Thank you for sharing the logs and apologies for the delay. Please can you install Pytohn 3.12 and try using that in a virtual environment instead. Python 3.13 is still very recent and possible there are some issues with upstream packages such as IPython, IPyKernek or the like (which is beyond the scope/control of Jupyter extension).
Hello, no problem. Thank you for the reply.
Here is the new Python 3.12 log. Identical behavior.
22:55:47.600 [debug] Launching kernel .jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16.z:\ML\thesis-project.venv\Scripts\python.exe.z:\ML\thesis-project.venv\Scripts\python.exe.-m#ipykernel_launcher for z:\ML\thesis-project\new_train_model.ipynb in z:\ML\thesis-project with ports 9017, 9016, 9020, 9018, 9019
z
drive a local drive or is this a mapped network drive?and tested it on Windows and WSL, and no combination worked.
Can you share the logs for WSL?
Both of these issues started on the same day; however, I don't think I changed or did anything.
Working on getting you WSL logs but it seems my VS Code has stopped working on WSL now as well... something along the lines of https://github.com/microsoft/vscode-remote-release/issues/7921
I'm also using python 3.13. The kernel works fine when I select python.exe instead of python3.13t.exe in the python installation selection when generating the virtual environment.
I'm also using python 3.13. The kernel works fine when I select python.exe instead of python3.13t.exe in the python installation selection when generating the virtual environment.
Thank you for your reply. I am already using python.exe. I don't have a python3.13t.exe in my python313 dir
@d3tk can you try running Jupyter lab in the terminal and check if that works
python -m jupyter lab --debug
(you can install them using python -m pip install jupyterlab
If fails, you might have some more logs from the logs (terminal output), let me know how that goes.
I ran the command and a browser window opened but it was just blank. Here is the log: out.txt
Looks like you have some setup issue at your end @d3tk Given the fact that Jupyter & Ollama applications also do work & given these are all outside VS Code, it shows that its not a problem with just VS Code. Hopefully you can get to the bottom of this.
Perhaps you can try stack overflow or the like to figure out the problem
Alright, thank you for your help, I will look into this. I realize the last log didnt work correctly. Here it is in case: out.txt
I was able to fix my Jupyter outside of VS code. Here is the Log:
For some reason I have to refresh a couple times before it works as there are some packets "pending" but it eventually opens.
It appears I can't connect to the kernel inside Jupyter labs either though. I made a post in Jupyter hopefully they can assist
Environment data
Expected behaviour
When I run a cell in a notebook, it should connect to the specified kernel and then run the cell.
Actual behaviour
The kernel never connects, from the logs it seems it is gets no response from kernel info.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
I have reinstalled Python, Jupiter, and Python extensions, remade my environment, and tested it on Windows and WSL, and no combination worked.
Logs
Logs
Visual Studio Code (1.94.2, undefined, desktop) Jupyter Extension Version: 2024.9.1. Python Extension Version: 2024.16.1. Pylance Extension Version: 2024.10.1. Platform: win32 (x64). Temp Storage folder ~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1 Workspace folder z:\ML\thesis-project, Home = c:\Users\dkuts 12:05:18.436 [debug] Start refreshing Kernel Picker (1728576318436) 12:05:18.465 [trace] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python311\python.exe 12:05:18.467 [trace] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python310\python.exe 12:05:18.467 [trace] Search for KernelSpecs in Interpreter c:\ProgramData\miniconda3\python.exe 12:05:18.467 [trace] Search for KernelSpecs in Interpreter ~\miniconda3\python.exe 12:05:18.468 [trace] Search for KernelSpecs in Interpreter ~\miniconda3\envs\xt\python.exe 12:05:18.468 [trace] Search for KernelSpecs in Interpreter z:\ML\thesis-project\.venv\Scripts\python.exe 12:05:18.469 [debug] Get Custom Env Variables, Class name = Cm, completed in 33ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode" 12:05:18.469 [debug] Jupyter Paths kernels: 12:05:18.470 [debug] Kernel Spec Root Paths, ~\AppData\Roaming\jupyter\kernels, c:\ProgramData\jupyter\kernels 12:05:20.033 [debug] API called from ms-toolsai.vscode-jupyter-powertoys 12:05:20.251 [debug] KernelProvider switched kernel to id = .jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16.z:\ML\thesis-project\.venv\Scripts\python.exe.z:\ML\thesis-project\.venv\Scripts\python.exe.-m#ipykernel_launcher 12:05:20.251 [debug] start the kernel, options.disableUI=true for z:\ML\thesis-project\train_models.ipynb 12:05:20.269 [trace] Registering commtarget jupyter.widget 12:05:20.272 [debug] Controller selection change completed 12:05:20.275 [trace] Hiding default KernelSpec python for interpreter z:\ML\thesis-project\.venv\Scripts\python.exe (KernelSpec file z:\ML\thesis-project\.venv\share\jupyter\kernels\python3\kernel.json) 12:05:20.276 [debug] End refreshing Kernel Picker (1728576318436) 12:05:20.315 [debug] Get Custom Env Variables, Class name = Cm, completed in 0ms, has a truthy return value, Arg 1: "/z:/ML/thesis-project", Arg 2: "RunPythonCode" 12:05:20.315 [info] Starting Kernel (Python Path: z:\ML\thesis-project\.venv\Scripts\python.exe, Venv, 3.13.0) for 'z:\ML\thesis-project\train_models.ipynb' (disableUI=true) 12:05:20.316 [trace] Creating raw notebook for resource 'z:\ML\thesis-project\train_models.ipynb' 12:05:20.512 [debug] Get Custom Env Variables, Class name = Cm, completed in 1ms, has a truthy return value, Arg 1: "/z:/ML/thesis-project/train_models.ipynb", Arg 2: "RunPythonCode" 12:05:20.727 [debug] Got env vars from Python Ext in 412ms for z:\ML\thesis-project\.venv\Scripts\python.exe, with env var count 62. 12:05:20.727 [trace] Prepend PATH with python bin for z:\ML\thesis-project\.venv\Scripts\python.exe 12:05:20.728 [debug] Getting activated env variables, Class name = gd, completed in 414ms, has a truthy return value, Arg 1: "/z:/ML/thesis-project", Arg 2: "Z:\\ML\\THESIS-PROJECT\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined 12:05:20.735 [info] Process Execution: z:\ML\thesis-project\.venv\Scripts\python.exe -m pip list 12:05:20.840 [debug] Got env vars from Python Ext in 329ms for z:\ML\thesis-project\.venv\Scripts\python.exe, with env var count 62. 12:05:20.840 [trace] Prepend PATH with python bin for z:\ML\thesis-project\.venv\Scripts\python.exe 12:05:20.841 [debug] Getting activated env variables, Class name = gd, completed in 330ms, has a truthy return value, Arg 1: "/z:/ML/thesis-project/train_models.ipynb", Arg 2: "Z:\\ML\\THESIS-PROJECT\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined 12:05:20.847 [info] Process Execution: z:\ML\thesis-project\.venv\Scripts\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)" 12:05:21.236 [trace] ipykernel version & path 6.29.5, z:\ML\thesis-project\.venv\Lib\site-packages\ipykernel\__init__.py for z:\ML\thesis-project\.venv\Scripts\python.exe 12:05:21.301 [debug] Launching kernel .jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16.z:\ML\thesis-project\.venv\Scripts\python.exe.z:\ML\thesis-project\.venv\Scripts\python.exe.-m#ipykernel_launcher for z:\ML\thesis-project\train_models.ipynb in z:\ML\thesis-project with ports 9001, 9000, 9004, 9002, 9003 12:05:21.313 [debug] Get Custom Env Variables, Class name = Cm, completed in 1ms, has a truthy return value, Arg 1: "/z:/ML/thesis-project/train_models.ipynb", Arg 2: "RunPythonCode" 12:05:21.391 [warn] Failed to get activated env vars for ~\AppData\Local\Programs\Python\Python311\python.exe in 79ms 12:05:21.393 [debug] Create ProcessService, Class name = Sm (started execution), Arg 1: undefined 12:05:21.396 [debug] Get Custom Env Variables, Class name = Cm, completed in 3ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode", Arg 3: undefined 12:05:21.396 [debug] Create ProcessService, Class name = Sm, completed in 3ms, has a truthy return value, Arg 1: undefined 12:05:21.400 [info] Process Execution: ~\AppData\Local\Programs\Python\Python311\python.exe -c "import site;print("USER_BASE_VALUE");print(site.USER_SITE);print("USER_BASE_VALUE");" 12:05:21.458 [trace] USER_SITE for ~\AppData\Local\Programs\Python\Python311\python.exe is c:\Users\~\AppData\Roaming\Python\Python311\Scripts 12:05:21.458 [trace] Prepend PATH with user site path for ~\AppData\Local\Programs\Python\Python311\python.exe, user site c:\Users\~\AppData\Roaming\Python\Python311\Scripts 12:05:21.459 [trace] Prepend PATH with python bin for ~\AppData\Local\Programs\Python\Python311\python.exe 12:05:21.459 [debug] Getting activated env variables, Class name = gd, completed in 147ms, has a truthy return value, Arg 1: "/z:/ML/thesis-project/train_models.ipynb", Arg 2: "~\\APPDATA\\LOCAL\\PROGRAMS\\PYTHON\\PYTHON311\\PYTHON.EXE", Arg 3: undefined 12:05:21.466 [info] Process Execution: ~\AppData\Local\Programs\Python\Python311\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 19476 > cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\pythonFiles\vscode_datascience_helpers 12:05:21.549 [debug] Start refreshing Interpreter Kernel Picker 12:05:21.549 [debug] Start refreshing Kernel Picker (1728576321549) 12:05:21.604 [trace] Got a response of 2464 for INITIALIZE_INTERRUPT:0 12:05:21.611 [info] Process Execution: z:\ML\thesis-project\.venv\Scripts\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v32d070ca975ccf9bfde142053da7150e9cece23d2.json > cwd: z:\ML\thesis-project 12:05:21.611 [debug] Kernel process 18372. 12:05:21.655 [debug] Interpreter for Pylance for Notebook URI "z:\ML\thesis-project\train_models.ipynb" is z:\ML\thesis-project\.venv\Scripts\python.exe 12:05:21.794 [trace] Python API env change detected, add => 'C:\USERS\~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON313\PYTHON.EXE' 12:05:21.797 [trace] No Kernels found in interpreter C:\USERS\~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON313\PYTHON.EXE 12:05:21.972 [trace] Python API env change detected, update => 'C:\USERS\~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON313\PYTHON.EXE' 12:05:21.973 [trace] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python313\python.exe 12:05:23.221 [trace] Conda file is C:\ProgramData\miniconda3\Scripts\conda.exe 12:05:23.397 [trace] Python API env change detected, update => 'C:\USERS\~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE' 12:05:23.398 [trace] Python API env change detected, update => 'Z:\ML\THESIS-PROJECT\.VENV\SCRIPTS\PYTHON.EXE' 12:05:23.399 [trace] Python API env change detected, update => 'C:\USERS\~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON311\PYTHON.EXE' 12:05:23.399 [trace] Python API env change detected, update => 'C:\PROGRAMDATA\MINICONDA3\PYTHON.EXE' 12:05:23.400 [trace] Python API env change detected, update => 'C:\USERS\~\MINICONDA3\PYTHON.EXE' 12:05:23.400 [trace] Python API env change detected, update => 'C:\USERS\~\MINICONDA3\ENVS\XT\PYTHON.EXE' 12:05:23.403 [debug] Refreshed Environments 12:05:23.485 [debug] Waiting for Raw Session to be ready in postStartRawSession 12:05:23.485 [debug] Waiting for Raw session to be ready, status: connected 12:05:23.485 [trace] Raw session connected 12:05:23.486 [debug] Waited for Raw session to be ready & got status: connected 12:05:23.486 [debug] Successfully waited for Raw Session to be ready in postStartRawSession 12:05:23.486 [debug] Kernel status is 'unknown' before requesting kernel info and after ready 12:05:23.486 [debug] Sending request for kernelInfo 12:05:23.740 [debug] Kernel output 18372: To connect another client to this kernel, use: --existing c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v32d070ca975ccf9bfde142053da7150e9cece23d2.json 12:05:23.988 [trace] Did not get a response for requestKernelInfo 12:05:23.989 [debug] Sending request for kernelInfo 12:05:24.408 [debug] End refreshing Kernel Picker (1728576321549) 12:05:24.490 [trace] Did not get a response for requestKernelInfo 12:05:24.490 [debug] Sending request for kernelInfo 12:05:24.993 [trace] Did not get a response for requestKernelInfo 12:05:24.993 [debug] Sending request for kernelInfo 12:05:25.015 [debug] No interpreter for Pylance for Notebook URI "z:\ML\thesis-project\graph_losses.ipynb" 12:05:25.493 [trace] Did not get a response for requestKernelInfo 12:05:25.494 [debug] Sending request for kernelInfo 12:05:25.996 [trace] Did not get a response for requestKernelInfo 12:05:25.996 [debug] Sending request for kernelInfo 12:05:26.536 [trace] Did not get a response for requestKernelInfo 12:05:26.536 [debug] Sending request for kernelInfo 12:05:27.037 [trace] Did not get a response for requestKernelInfo 12:05:27.038 [debug] Sending request for kernelInfo 12:05:27.538 [trace] Did not get a response for requestKernelInfo 12:05:27.539 [debug] Sending request for kernelInfo 12:05:28.046 [trace] Did not get a response for requestKernelInfo 12:05:28.047 [debug] Sending request for kernelInfo 12:05:28.557 [trace] Did not get a response for requestKernelInfo 12:05:28.557 [debug] Sending request for kernelInfo 12:05:29.059 [trace] Did not get a response for requestKernelInfo 12:05:29.059 [debug] Sending request for kernelInfo 12:05:29.563 [trace] Did not get a response for requestKernelInfo 12:05:29.564 [debug] Sending request for kernelInfo 12:05:30.063 [trace] Did not get a response for requestKernelInfo 12:05:30.064 [debug] Sending request for kernelInfo 12:05:30.572 [trace] Did not get a response for requestKernelInfo 12:05:30.572 [debug] Sending request for kernelInfo 12:05:31.072 [trace] Did not get a response for requestKernelInfo 12:05:31.073 [debug] Sending request for kernelInfo 12:05:31.574 [trace] Did not get a response for requestKernelInfo 12:05:31.574 [debug] Sending request for kernelInfo 12:05:32.080 [trace] Did not get a response for requestKernelInfo 12:05:32.080 [debug] Sending request for kernelInfo 12:05:32.583 [trace] Did not get a response for requestKernelInfo 12:05:32.583 [debug] Sending request for kernelInfo 12:05:33.090 [trace] Did not get a response for requestKernelInfo 12:05:33.090 [debug] Sending request for kernelInfo 12:05:33.597 [trace] Did not get a response for requestKernelInfo 12:05:33.598 [debug] Sending request for kernelInfo 12:05:34.101 [trace] Did not get a response for requestKernelInfo 12:05:34.102 [debug] Sending request for kernelInfo 12:05:34.617 [trace] Did not get a response for requestKernelInfo 12:05:34.618 [debug] Sending request for kernelInfo 12:05:35.124 [trace] Did not get a response for requestKernelInfo 12:05:35.124 [debug] Sending request for kernelInfo 12:05:35.625 [trace] Did not get a response for requestKernelInfo 12:05:35.625 [debug] Sending request for kernelInfo 12:05:36.136 [trace] Did not get a response for requestKernelInfo 12:05:36.137 [debug] Sending request for kernelInfo 12:05:36.640 [trace] Did not get a response for requestKernelInfo 12:05:36.641 [debug] Sending request for kernelInfo 12:05:37.142 [trace] Did not get a response for requestKernelInfo 12:05:37.143 [debug] Sending request for kernelInfo 12:05:37.648 [trace] Did not get a response for requestKernelInfo 12:05:37.648 [debug] Sending request for kernelInfo 12:05:38.152 [trace] Did not get a response for requestKernelInfo 12:05:38.153 [debug] Sending request for kernelInfo 12:05:38.658 [trace] Did not get a response for requestKernelInfo 12:05:38.659 [debug] Sending request for kernelInfo 12:05:39.164 [trace] Did not get a response for requestKernelInfo 12:05:39.164 [debug] Sending request for kernelInfo 12:05:39.674 [trace] Did not get a response for requestKernelInfo 12:05:39.675 [debug] Sending request for kernelInfo 12:05:40.190 [trace] Did not get a response for requestKernelInfo 12:05:40.191 [debug] Sending request for kernelInfo 12:05:40.692 [trace] Did not get a response for requestKernelInfo 12:05:40.692 [debug] Sending request for kernelInfo 12:05:41.207 [trace] Did not get a response for requestKernelInfo 12:05:41.208 [debug] Sending request for kernelInfo 12:05:41.724 [trace] Did not get a response for requestKernelInfo 12:05:41.726 [debug] Sending request for kernelInfo 12:05:42.242 [trace] Did not get a response for requestKernelInfo 12:05:42.243 [debug] Sending request for kernelInfo 12:05:42.758 [trace] Did not get a response for requestKernelInfo 12:05:42.759 [debug] Sending request for kernelInfo 12:05:43.275 [trace] Did not get a response for requestKernelInfo 12:05:43.276 [debug] Sending request for kernelInfo 12:05:43.790 [trace] Did not get a response for requestKernelInfo 12:05:43.792 [debug] Sending request for kernelInfo 12:05:44.300 [trace] Did not get a response for requestKernelInfo 12:05:44.301 [debug] Sending request for kernelInfo 12:05:44.801 [trace] Did not get a response for requestKernelInfo 12:05:44.802 [debug] Sending request for kernelInfo 12:05:45.317 [trace] Did not get a response for requestKernelInfo 12:05:45.318 [debug] Sending request for kernelInfo 12:05:45.825 [trace] Did not get a response for requestKernelInfo 12:05:45.826 [debug] Sending request for kernelInfo 12:05:46.327 [trace] Did not get a response for requestKernelInfo 12:05:46.328 [debug] Sending request for kernelInfo 12:05:46.832 [trace] Did not get a response for requestKernelInfo 12:05:46.832 [debug] Sending request for kernelInfo 12:05:47.332 [trace] Did not get a response for requestKernelInfo 12:05:47.333 [debug] Sending request for kernelInfo 12:05:47.835 [trace] Did not get a response for requestKernelInfo 12:05:47.835 [debug] Sending request for kernelInfo 12:05:48.335 [trace] Did not get a response for requestKernelInfo 12:05:48.335 [debug] Sending request for kernelInfo 12:05:48.849 [trace] Did not get a response for requestKernelInfo 12:05:48.851 [debug] Sending request for kernelInfo 12:05:49.368 [trace] Did not get a response for requestKernelInfo 12:05:49.368 [debug] Sending request for kernelInfo 12:05:49.882 [trace] Did not get a response for requestKernelInfo 12:05:49.882 [debug] Sending request for kernelInfo 12:05:50.385 [trace] Did not get a response for requestKernelInfo 12:05:50.385 [debug] Sending request for kernelInfo 12:05:50.900 [trace] Did not get a response for requestKernelInfo 12:05:50.901 [debug] Sending request for kernelInfo 12:05:51.418 [trace] Did not get a response for requestKernelInfo 12:05:51.419 [debug] Sending request for kernelInfo 12:05:51.927 [trace] Did not get a response for requestKernelInfo 12:05:51.928 [debug] Sending request for kernelInfo 12:05:52.434 [trace] Did not get a response for requestKernelInfo 12:05:52.434 [debug] Sending request for kernelInfo 12:05:52.950 [trace] Did not get a response for requestKernelInfo 12:05:52.950 [debug] Sending request for kernelInfo 12:05:53.452 [trace] Did not get a response for requestKernelInfo 12:05:53.452 [debug] Sending request for kernelInfo 12:05:53.953 [trace] Did not get a response for requestKernelInfo 12:05:53.953 [debug] Sending request for kernelInfo 12:05:54.467 [trace] Did not get a response for requestKernelInfo 12:05:54.468 [debug] Sending request for kernelInfo 12:05:54.968 [trace] Did not get a response for requestKernelInfo 12:05:54.969 [debug] Sending request for kernelInfo 12:05:55.483 [trace] Did not get a response for requestKernelInfo 12:05:55.483 [debug] Sending request for kernelInfo 12:05:55.985 [trace] Did not get a response for requestKernelInfo 12:05:55.986 [debug] Sending request for kernelInfo 12:05:56.495 [trace] Did not get a response for requestKernelInfo 12:05:56.496 [debug] Sending request for kernelInfo 12:05:57.001 [trace] Did not get a response for requestKernelInfo 12:05:57.002 [debug] Sending request for kernelInfo 12:05:57.503 [trace] Did not get a response for requestKernelInfo 12:05:57.504 [debug] Sending request for kernelInfo 12:05:58.010 [trace] Did not get a response for requestKernelInfo 12:05:58.011 [debug] Sending request for kernelInfo 12:05:58.512 [trace] Did not get a response for requestKernelInfo 12:05:58.513 [debug] Sending request for kernelInfo 12:05:59.020 [trace] Did not get a response for requestKernelInfo 12:05:59.021 [debug] Sending request for kernelInfo 12:05:59.536 [trace] Did not get a response for requestKernelInfo 12:05:59.537 [debug] Sending request for kernelInfo 12:06:00.051 [trace] Did not get a response for requestKernelInfo 12:06:00.054 [debug] Sending request for kernelInfo 12:06:00.561 [trace] Did not get a response for requestKernelInfo 12:06:00.562 [debug] Sending request for kernelInfo 12:06:01.078 [trace] Did not get a response for requestKernelInfo 12:06:01.078 [debug] Sending request for kernelInfo 12:06:01.580 [trace] Did not get a response for requestKernelInfo 12:06:01.582 [debug] Sending request for kernelInfo 12:06:02.093 [trace] Did not get a response for requestKernelInfo 12:06:02.095 [debug] Sending request for kernelInfo 12:06:02.603 [trace] Did not get a response for requestKernelInfo 12:06:02.604 [debug] Sending request for kernelInfo 12:06:03.111 [trace] Did not get a response for requestKernelInfo 12:06:03.112 [debug] Sending request for kernelInfo 12:06:03.620 [trace] Did not get a response for requestKernelInfo 12:06:03.621 [debug] Sending request for kernelInfo 12:06:04.126 [trace] Did not get a response for requestKernelInfo 12:06:04.127 [debug] Sending request for kernelInfo 12:06:04.636 [trace] Did not get a response for requestKernelInfo 12:06:04.636 [debug] Sending request for kernelInfo 12:06:05.150 [trace] Did not get a response for requestKernelInfo 12:06:05.151 [debug] Sending request for kernelInfo 12:06:05.668 [trace] Did not get a response for requestKernelInfo 12:06:05.669 [debug] Sending request for kernelInfo 12:06:06.184 [trace] Did not get a response for requestKernelInfo 12:06:06.184 [debug] Sending request for kernelInfo 12:06:06.687 [trace] Did not get a response for requestKernelInfo 12:06:06.688 [debug] Sending request for kernelInfo 12:06:07.198 [trace] Did not get a response for requestKernelInfo 12:06:07.198 [debug] Sending request for kernelInfo 12:06:07.703 [trace] Did not get a response for requestKernelInfo 12:06:07.704 [debug] Sending request for kernelInfo 12:06:08.220 [trace] Did not get a response for requestKernelInfo 12:06:08.221 [debug] Sending request for kernelInfo 12:06:08.729 [trace] Did not get a response for requestKernelInfo 12:06:08.730 [debug] Sending request for kernelInfo 12:06:09.244 [trace] Did not get a response for requestKernelInfo 12:06:09.245 [debug] Sending request for kernelInfo 12:06:09.761 [trace] Did not get a response for requestKernelInfo 12:06:09.761 [debug] Sending request for kernelInfo 12:06:10.265 [trace] Did not get a response for requestKernelInfo 12:06:10.266 [debug] Sending request for kernelInfo 12:06:10.771 [trace] Did not get a response for requestKernelInfo 12:06:10.772 [debug] Sending request for kernelInfo 12:06:11.278 [trace] Did not get a response for requestKernelInfo 12:06:11.279 [debug] Sending request for kernelInfo 12:06:11.788 [trace] Did not get a response for requestKernelInfo 12:06:11.789 [debug] Sending request for kernelInfo 12:06:12.305 [trace] Did not get a response for requestKernelInfo 12:06:12.306 [debug] Sending request for kernelInfo 12:06:12.820 [trace] Did not get a response for requestKernelInfo 12:06:12.821 [debug] Sending request for kernelInfo 12:06:13.321 [trace] Did not get a response for requestKernelInfo 12:06:13.321 [debug] Sending request for kernelInfo 12:06:13.830 [trace] Did not get a response for requestKernelInfo 12:06:13.832 [debug] Sending request for kernelInfo 12:06:14.338 [trace] Did not get a response for requestKernelInfo 12:06:14.338 [debug] Sending request for kernelInfo 12:06:14.854 [trace] Did not get a response for requestKernelInfo 12:06:14.855 [debug] Sending request for kernelInfo 12:06:15.363 [trace] Did not get a response for requestKernelInfo 12:06:15.364 [debug] Sending request for kernelInfo 12:06:15.872 [trace] Did not get a response for requestKernelInfo 12:06:15.873 [debug] Sending request for kernelInfo 12:06:16.387 [trace] Did not get a response for requestKernelInfo 12:06:16.388 [debug] Sending request for kernelInfo 12:06:16.903 [trace] Did not get a response for requestKernelInfo 12:06:16.905 [debug] Sending request for kernelInfo 12:06:17.420 [trace] Did not get a response for requestKernelInfo 12:06:17.422 [debug] Sending request for kernelInfo 12:06:17.930 [trace] Did not get a response for requestKernelInfo 12:06:17.931 [debug] Sending request for kernelInfo 12:06:18.431 [trace] Did not get a response for requestKernelInfo 12:06:18.431 [debug] Sending request for kernelInfo 12:06:18.948 [trace] Did not get a response for requestKernelInfo 12:06:18.948 [debug] Sending request for kernelInfo 12:06:19.462 [trace] Did not get a response for requestKernelInfo 12:06:19.462 [debug] Sending request for kernelInfo 12:06:19.978 [trace] Did not get a response for requestKernelInfo 12:06:19.979 [debug] Sending request for kernelInfo 12:06:20.495 [trace] Did not get a response for requestKernelInfo 12:06:20.496 [debug] Sending request for kernelInfo 12:06:20.999 [trace] Did not get a response for requestKernelInfo 12:06:20.999 [debug] Sending request for kernelInfo 12:06:21.513 [trace] Did not get a response for requestKernelInfo 12:06:21.514 [debug] Sending request for kernelInfo 12:06:22.013 [trace] Did not get a response for requestKernelInfo 12:06:22.015 [debug] Sending request for kernelInfo 12:06:22.523 [trace] Did not get a response for requestKernelInfo 12:06:22.523 [debug] Sending request for kernelInfo 12:06:23.036 [trace] Did not get a response for requestKernelInfo 12:06:23.036 [debug] Sending request for kernelInfo 12:06:23.486 [error] Failed to request kernel info [Canceled: Canceled at gh.value (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:181:24587) at T.B (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:732) at T.fire (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:950) at vh.cancel (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:3232) at wt.cancel (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:3643) at Timeout._onTimeout (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:11746) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)] 12:06:23.486 [debug] Dispose Kernel process 18372. 12:06:23.492 [info] Process Execution: c:\WINDOWS\System32\taskkill.exe /F /T /PID 18372 12:06:23.493 [warn] Failed to shutdown kernel, .jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16.z:\ML\thesis-project\.venv\Scripts\python.exe.z:\ML\thesis-project\.venv\Scripts\python.exe.-m#ipykernel_launcher [TypeError: Failed to parse URL from /api/kernels/6a774fa9-7171-4aca-a8f8-c5c7f1f22796?1728576383492 at new Request (node:internal/deps/undici/undici:9271:19) at Object.t [as handleRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:2054) at Object.t [as makeRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:730) at Object.Vl [as shutdownKernel] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:5781) at n.shutdown (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:89571) at L_.start (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:12333) at async U_.startKernel (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:21270) at async Ay.create (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:23577) at async n_.createJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:285:35993) at async n_.startJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:285:34001) at async n.wrapKernelMethodImpl (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:82604)] { [cause]: [TypeError: Invalid URL at new URL (node:internal/url:797:36) at new Request (node:internal/deps/undici/undici:9269:25) at Object.t [as handleRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:2054) at Object.t [as makeRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:730) at Object.Vl [as shutdownKernel] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:5781) at n.shutdown (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:89571) at L_.start (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:12333) at async U_.startKernel (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:21270) at async Ay.create (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:23577) at async n_.createJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:285:35993) at async n_.startJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:285:34001) at async n.wrapKernelMethodImpl (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:82604)] { code: 'ERR_INVALID_URL', input: '/api/kernels/6a774fa9-7171-4aca-a8f8-c5c7f1f22796?1728576383492' } } 12:06:23.580 [debug] KernelProcess Exited 18372, Exit Code - 1 12:06:23.580 [error] Disposing session as kernel process died ExitCode: 1, Reason: 12:06:23.587 [debug] Disposed Kernel process 18372. 12:06:23.588 [error] Failed to connect raw kernel session: Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details. 12:06:23.589 [trace] failed to create IJupyterKernelConnectionSession in kernel, UI Disabled = true [Ll [Error]: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details. at L_. (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:11641)
at T.B (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:732)
at T.C (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:802)
at T.fire (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:1019)
at ChildProcess. (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44443)
at ChildProcess.emit (node:events:531:35)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)] {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\\Users\\~\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-toolsai.jupyter\\version-2024.9.1\\jupyter\\kernels\\python3130jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16\\kernel.json',
interpreterPath: 'z:\\ML\\thesis-project\\.venv\\Scripts\\python.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3130jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16',
argv: [Array],
language: 'python',
executable: 'python',
display_name: '.venv',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'Z:\\ML\\THESIS-PROJECT\\.VENV\\SCRIPTS\\PYTHON.EXE',
uri: [ta]
},
id: '.jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16.z:\\ML\\thesis-project\\.venv\\Scripts\\python.exe.z:\\ML\\thesis-project\\.venv\\Scripts\\python.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: ''
}
12:06:23.591 [warn] Error occurred while trying to start the kernel, options.disableUI=true [Ll [Error]: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
at L_. (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:11641)
at T.B (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:732)
at T.C (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:802)
at T.fire (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:1019)
at ChildProcess. (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44443)
at ChildProcess.emit (node:events:531:35)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)] {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\\Users\\~\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-toolsai.jupyter\\version-2024.9.1\\jupyter\\kernels\\python3130jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16\\kernel.json',
interpreterPath: 'z:\\ML\\thesis-project\\.venv\\Scripts\\python.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3130jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16',
argv: [Array],
language: 'python',
executable: 'python',
display_name: '.venv',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'Z:\\ML\\THESIS-PROJECT\\.VENV\\SCRIPTS\\PYTHON.EXE',
uri: [ta]
},
id: '.jvsc74a57bd07ca51eb31293b7c6638d80ab837e4580352c0c000640d211c613c34ad55d5a16.z:\\ML\\thesis-project\\.venv\\Scripts\\python.exe.z:\\ML\\thesis-project\\.venv\\Scripts\\python.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: ''
}