vscode-jupyter: VS Code Insiders: Unable to open '....ipynb': Cannot read property '...' of undefined.
Environment data
- VS Code version: VS Code Insiders Version 1.5.4.0-insiders
- Jupyter Extension version (available under the Extensions sidebar): v2020.12.414227025
- Python Extension version (available under the Extensions sidebar): v2021.1.502429796
- OS (Windows | Mac | Linux distro) and version: macOS BigSur 11.2
- Python and/or Anaconda version: Homebrew Python 3.9.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Jupyter server running: Local | Remote | N/A
Expected behaviour
Open a jupyter notebook
Actual behaviour
Any .ipynb opened will cause VS Code Insiders to say: Unable to open ‘…ipynb’: Cannot read property ‘…’ of undefined.
NOTE: The second set of inverted commas has been ‘Rich’ or ‘Error’
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- Download VS Code Insiders
- Install Python & jupyter notebook extension
- Pip3 install ipykernel and ipython
- Open VS Code Insiders and select a folder
- Open a jupyter notebook within the selected folder
- Any .ipynb opened will cause VS Code Insiders to say: Unable to open ‘…ipynb’: Cannot read property ‘…’ of undefined. 6.1 The second set of inverted commas has been ‘Rich’ or ‘Error’
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 29
- Comments: 23 (6 by maintainers)
See directions here on how to get an older build: https://github.com/microsoft/vscode/issues/46089#issuecomment-374246974
https://vscode-update.azurewebsites.net/1.53.0-insider/darwin-arm64/insider Use this for M1 and then switch off the updates.
For Linux (Ubuntu 20.04), got the .deb file for 1.53.0 from here.
vscode-update.azurewebsites.net/1.53.0-insider/linux-deb-x64/insider
Unfortunately VS code is in the process of updating their notebook APIs. As they change them we’ll be randomly broken until we can catch up.
We’re working on a process for making our extension update automatically every night as well (on insiders only) so we should be closer to keeping up with VS code changes.
Same issue too. Is there anyway to downgrade VS Code Insiders Edition, or do we have to go back to non-Insiders edition?
same problem here
Unable to open '*.ipynb': Cannot read property 'Rich' of undefined.
It started after the recent update.
I rolled back to this version while it still showed:" Cannot read property ‘Markdown’ of undefined。"