question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VS Code Insiders: Unable to open '....ipynb': Cannot read property '...' of undefined.

See original GitHub issue

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]

  1. Download VS Code Insiders
  2. Install Python & jupyter notebook extension
  3. Pip3 install ipykernel and ipython
  4. Open VS Code Insiders and select a folder
  5. Open a jupyter notebook within the selected folder
  6. 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 (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:29
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
rchiodocommented, Feb 12, 2021

See directions here on how to get an older build: https://github.com/microsoft/vscode/issues/46089#issuecomment-374246974

3reactions
gulshan17commented, Feb 15, 2021

See directions here on how to get an older build: microsoft/vscode#46089 (comment)

Looks good. But cannot get an older version compatible with M1.

https://vscode-update.azurewebsites.net/1.53.0-insider/darwin-arm64/insider Use this for M1 and then switch off the updates.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suddenly can't open Jupyter notebooks in VSC Insiders - Reddit
Suddenly can't open Jupyter notebooks in VSC Insiders - "Cannot read property 'Code' of undefined". I've been using VSC Insiders to run Jupyter ......
Read more >
Open Jupyter in VSCode: TypeError: Cannot read properties ...
I created a new Jupyter notebook in my VSCode using command shortcut and selected the right python kernel showed above. The empty notebook...
Read more >
Using Proposed API - Visual Studio Code
Proposed APIs are a set of unstable APIs that are implemented in VS Code but not exposed to the public as stable APIs...
Read more >
VSCode and Jupyter: TypeError: Cannot read property 'charAt ...
I found a fix to this problem. Apparently it is a known issue with many languages using jupyter notebooks. I had to install...
Read more >
Visual Studio Code 1.74.2 Download for Mac / Change Log ...
Extensions view doesn't auto load if is close when startup VSCode ... fixes TS Server fatal error: Cannot read property 'flags' of undefined...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found