microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.27k stars 29.31k forks source link

VS code cannot open notebook file #228863

Open pod2c opened 1 month ago

pod2c commented 1 month ago

Environment data

Expected behaviour

Open ipynb file

Actual behaviour

Cannot open ipynb file, and display error: Unable to open editor due to an unexpected error: Unable to open notebook editor resource of type 'jupyter-notebook', please check that the correct extension is installed and enabled.

Screenshot 2024-09-17 181729
amunger commented 1 month ago

can you search the extensions view for @builtin .ipynb and see if it activated successfully. Also check the developers tools console if there were any errors in there (Developer: toggle developer tools)

tianqi-zhao commented 1 month ago

I have the same problem. This may be the info you needed?![Uploading WechatIMG2481.jpg…]()

pod2c commented 1 month ago

can you search the extensions view for @builtin .ipynb and see if it activated successfully. Also check the developers tools console if there were any errors in there (Developer: toggle developer tools)

Hi, thanks for your reply. I just checked the ipynb support and it activated successfully. I also checked the developer tool console and found two errors: ERR [network] #6: https://marketplace.visualstudio.com/_apis/public/gallery/searchrelevancy/extensionquery - error POST Canceled workbench.desktop.main.js:sourcemap:33 ERR [network] #10: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Canceled

pod2c commented 1 month ago

Thanks for your help, but I cannot see the image you uploaded. @tianqi-zhao