Skip to content

NotFound Error when connecting to Jupyter Kernel on Windows #5395

@c-my

Description

@c-my

I pressed the "Render" button in VSCode and the following error appears:

PS C:\Users\xxx\Code\demo> quarto preview c:/Users/xxx/Code/demo/quarto/walkthrough.qmd --no-browser --no-watch-inputs
ERROR: NotFound: 系统找不到指定的文件。 (os error 2), remove 'C:\Users\xxx\AppData\Local\quarto\jt\f55fba9f67420280e4ee'

NotFound: 系统找不到指定的文件。 (os error 2), remove 'C:\Users\xxx\AppData\Local\quarto\jt\f55fba9f67420280e4ee'
    at Object.removeSync (deno:runtime/js/30_fs.js:157:9)
    at connectToKernel (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:54706:18)
    at async executeKernelKeepalive (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:54500:31)
    at async Object.execute (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:55305:17)
    at async renderExecute (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:86465:27)
    at async renderFiles (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:86588:51)
    at async render (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:90675:21)
    at async renderForPreview (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:102408:26)
    at async render (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:102303:20)
    at async preview (file:///C:/Users/xxx/scoop/apps/quarto/current/bin/quarto.js:102309:21)

Note: It doesn't happen every time. If the error occurs in this run, the next time it will succeed, and the next time there will be an error again.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjupyterneeds-reproIssues that are blocked until reporter provides an adequate reproductionstaleIssues open for 30+ days without providing a "working" reproducible examplewindows

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions