I have set up the Synapse extension in VS code according to the guidelines. I did install JDK8 and conda as prerequisites, making sure to set the environment variables for JDK and conda: JAVA_HOME + adding JDK and condabin to PATH.
The Synapse extension successfully installs the fabric-synapse-runtime-1-1 and fabric-synapse-runtime-1-2 environments and VS code finds them and "loads" them. I am also able to connect to my workspace and find the tables, notebooks etc.
However, when i try to run a cell in any notebook, the kernel fails to start. It does now matter with of the two kernels i choose. It warns me about "No interpreter with path <path> found in Python API, will convert Uri path to string as Id", and gives me a `ERR_INVALID_URL` error. Anyone have similar problems?
16:15:44.212 [info] Telemetry is disabled
16:15:44.213 [info] Experiments are disabled, only manually opted experiments are active.
16:15:53.741 [info] Process Execution: ~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-1\python.exe -m pip list
16:16:05.029 [warn] No interpreter with path C:\Users\~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe found in Python API, will convert Uri path to string as Id C:\Users\~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe
16:16:05.055 [info] Disposing kernel .jvsc74a57bd0f3f096fc69170fdf5af131225790e27197ebddc039bb1ab2a944c3b90a4d6a54.c:\Users\~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-1\python.exe.c:\Users\~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-1\python.exe.-m#ipykernel_launcher for notebook ~\OneDrive - <company name> AB\Dokument\fabric\<redacted>\SynapseNotebook\<redacted>\history_transformations\history_transformations.ipynb due to selection of another kernel or closing of the notebook
16:16:05.056 [info] Dispose Kernel '~\OneDrive - <company name> AB\Dokument\fabric\<redacted>\SynapseNotebook\<redacted>\history_transformations\history_transformations.ipynb' associated with '~\OneDrive - <company name> AB\Dokument\fabric\<redacted>\SynapseNotebook\<redacted>\history_transformations\history_transformations.ipynb'
16:16:08.100 [info] Process Execution: ~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe -m pip list
16:16:16.297 [info] Starting Kernel (Python Path: ~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe, Conda, 3.10.12) for '~\OneDrive - <company name> AB\Dokument\fabric\<redacted>\SynapseNotebook\<redacted>\history_transformations\history_transformations.ipynb' (disableUI=false)
16:16:16.328 [info] Process Execution: ~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
16:16:16.436 [info] Process Execution: ~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 17308
> cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\pythonFiles\vscode_datascience_helpers
16:16:16.735 [info] Process Execution: ~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v370e594ae7f8ef9a4e834b9962586c219ac8ef776.json
> cwd: ~\OneDrive - <company name> AB\Dokument\fabric\<redacted>\SynapseNotebook\<redacted>\history_transformations
16:26:19.024 [error] Failed to request kernel info [Canceled: Canceled
at i.value (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:181:24587)
at r.B (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:732)
at r.fire (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:949)
at A.cancel (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:5355)
at T.cancel (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:5765)
at Timeout._onTimeout (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:11746)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)]
16:26:19.035 [info] Process Execution: c:\Windows\System32\taskkill.exe /F /T /PID 19744
16:26:19.036 [warn] Failed to shutdown kernel, .jvsc74a57bd042ca2dda699156c6f0b3a70f3f780ea477e3c370851a4a6c8118eaa21c6db42e.c:\Users\~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe.c:\Users\~\AppData\Local\miniconda3\envs\fabric-synapse-runtime-1-2\python.exe.-m#ipykernel_launcher [TypeError: Failed to parse URL from /api/kernels/91b951e1-a408-444c-8761-fb9462f94503?1726496779036
at new Request (node:internal/deps/undici/undici:4855:19)
at Object.t [as handleRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.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.8.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.8.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.8.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.8.1-win32-x64\dist\extension.node.js:304:12333)
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processTimers (node:internal/timers:511:9)
at async U_.startKernel (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:21270)
at async Ay.create (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:23577)
at async n_.createJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:35993)
at async n_.startJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:34001)
at async n.wrapKernelMethodImpl (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.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:4853:25)
at Object.t [as handleRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.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.8.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.8.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.8.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.8.1-win32-x64\dist\extension.node.js:304:12333)
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processTimers (node:internal/timers:511:9)
at async U_.startKernel (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:21270)
at async Ay.create (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:23577)
at async n_.createJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:35993)
at async n_.startJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:34001)
at async n.wrapKernelMethodImpl (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:82604)] {
code: 'ERR_INVALID_URL',
input: '/api/kernels/91b951e1-a408-444c-8761-fb9462f94503?1726496779036'
}
}