Skip to content

Start Native Python REPL errors: UNKNOWN notebook type: jupyter-notebook #24593

@anthonykim1

Description

@anthonykim1

Discussed in #24590

Originally posted by ChiNoel-osu December 11, 2024
When I try to start the REPL it shows this error message:
image
Smart send (Shift+Enter) gives the same error message:
image

This was working before, I was just using it, and I have no idea why it suddenly stopped working.

2024-12-12 11:55:02.185 [error] Error: UNKNOWN notebook type: jupyter-notebook
    at VUe.f (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1886:34374)
    at VUe.createUntitledNotebookTextModel (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1886:35512)
    at Y6e.$tryCreateNotebook (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:780:43024)
    at Fdt.S (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3145:41680)
    at Fdt.Q (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3145:41458)
    at Fdt.M (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3145:40546)
    at Fdt.L (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3145:39650)
    at aee.value (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3145:38444)
    at x.B (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:748)
    at x.fire (vscode-file://vscode-app/c:/Users/victor1.wang/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:967) python.startNativeREPL {"value":"ms-python.python","_lower":"ms-python.python"}

I don't have Jupyter extension installed. It was working without that extension too. I tried installing it now but still this error throws.
Terminal REPL works, but native REPL doesn't.

Metadata

Metadata

Labels

area-replbugIssue identified by VS Code Team member as probable bugneeds spikeLabel for issues that need investigation before they can be worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions