Skip to content

Juvio kernel dies in VSCode #2

@windemut

Description

@windemut

I was trying to run the Juvio kernel in the VSCode Jupyter extension. Mostly, because I would like to have github copilot help me with the code, which Jupyter Lab is less convenient for.

I basically set up the environment to work with Jupyter Lab and then selected that same environment in the Jupyter VSCode extension. The extension seems to be ok with running the Juvio kernel (it is offered up for selection), but the kernel dies upon startup.

I realize that you may not have time or interest to support VSCode, but I wanted to raise the issue just in case you do, or you see something in the log that may help.

11:44:28.795 [info] Starting Kernel (Python Path: ~/code/platform/.gx/bin/python, Venv, 3.12.10) for 'Untitled-1.ipynb' (disableUI=false)
11:44:28.801 [info] Process Execution: ~/code/platform/.gx/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
11:44:28.808 [info] Launching Raw Kernel Juvio # juvio-kernel-launcher
11:44:28.810 [info] Process Execution: /juvio-kernel-launcher -f ~/Library/Jupyter/runtime/kernel-v3751786769bbd384e9649266290bc16808967e627.json
    > cwd: ~/code/platform
11:44:28.978 [error] Disposing kernel process due to an error Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
    > Kernel Id = .jvsc74a57bd083025ceba1601b4f7137e816de03c2cf63f838cae0d2e51502c6b4d035e626e3#juvio.~/code/platform/.gx/python.~/code/platform/.gx/python.
    > Interpreter Id = ~/code/platform/.gx/bin/python
    > at ChildProcess.<anonymous> (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:296:45046)
    > stdErr = 
11:44:28.978 [error] 
11:44:28.979 [error] Failed to connect raw kernel session: Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
11:44:28.979 [error] Failed to connect raw kernel session: Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
11:44:28.979 [warn] Failed to shutdown kernel, .jvsc74a57bd083025ceba1601b4f7137e816de03c2cf63f838cae0d2e51502c6b4d035e626e3#juvio.~/code/platform/.gx/python.~/code/platform/.gx/python. TypeError: Cannot read properties of undefined (reading 'dispose')
    at dT.shutdown (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:301:13745)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at pT.shutdown (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:301:22578)
11:44:28.979 [warn] Error occurred while trying to start the kernel, options.disableUI=false Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
    > Kernel Id = .jvsc74a57bd083025ceba1601b4f7137e816de03c2cf63f838cae0d2e51502c6b4d035e626e3#juvio.~/code/platform/.gx/python.~/code/platform/.gx/python.
    > Interpreter Id = ~/code/platform/.gx/bin/python
    > at ChildProcess.<anonymous> (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:296:45046)
    > stdErr = 
11:44:28.979 [warn] Kernel Error, context = start Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
    > Kernel Id = .jvsc74a57bd083025ceba1601b4f7137e816de03c2cf63f838cae0d2e51502c6b4d035e626e3#juvio.~/code/platform/.gx/python.~/code/platform/.gx/python.
    > Interpreter Id = ~/code/platform/.gx/bin/python
    > at ChildProcess.<anonymous> (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:296:45046)
    > stdErr = 
11:44:28.981 [info] Process Execution: ~/code/platform/.gx/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
11:44:29.112 [info] Dispose Kernel 'Untitled-1.ipynb' associated with 'Untitled-1.ipynb'
11:44:29.113 [error] Error in notebook cell execution Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
    > Kernel Id = .jvsc74a57bd083025ceba1601b4f7137e816de03c2cf63f838cae0d2e51502c6b4d035e626e3#juvio.~/code/platform/.gx/python.~/code/platform/.gx/python.
    > Interpreter Id = ~/code/platform/.gx/bin/python
    > at ChildProcess.<anonymous> (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:296:45046)
    > stdErr = 
11:44:29.113 [error] Error in execution (get message for cell) Error: The kernel died. Error: ... View Jupyter [log](command:jupyter.viewOutput) for further details.
    > Kernel Id = .jvsc74a57bd083025ceba1601b4f7137e816de03c2cf63f838cae0d2e51502c6b4d035e626e3#juvio.~/code/platform/.gx/python.~/code/platform/.gx/python.
    > Interpreter Id = ~/code/platform/.gx/bin/python
    > at ChildProcess.<anonymous> (~/.vscode/extensions/ms-toolsai.jupyter-2025.4.1-darwin-arm64/dist/extension.node.js:296:45046)
    > stdErr = 
11:44:29.114 [info] Process Execution: ~/code/platform/.gx/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions