vscode-jupyter: VS Code can't open .ipynb files
Environment data
- VS Code version: 1.49.0
- Extension version (available under the Extensions sidebar): v2020.8.108011
- OS and version: Ubuntu 20.04
- Python version (& distribution if applicable, e.g. Anaconda): Anaconda python 3.8.3
- Type of virtual environment used: using conda environment
- Value of the
python.languageServer
setting: “Pylance” - ipython version: 7.16.1
- jedi version: 0.17.1
- ipykernel version: 5.3.2
Expected behaviour
VS Code could open .ipynb
normally. It’s opening normally in Jupiter Notebook
Actual behaviour
VS Code keeps loading all the time and won’t open the .ipynb
file.
Steps to reproduce:
- Open VS Code
- Open any
.ipynb
file.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 21
- Comments: 48 (6 by maintainers)
until a proper fix comes out, just click on
Maximize Panel Size
then on the same button again to open your notebook …worked for me
Behaves as if the panel is loading the document then waiting for a screen redraw event, which never comes as there is nothing on the screen. Closing and opening the panel provides a screen draw event which displays the notebook.
What is more critical is how this bug got through QA and into a global release on a Friday as the team is going home for the weekend. It’s sloppy and needs explaining to everyone that spent time having to find workarounds for over 48 hours.
VSCode version: 1.51.0 Python Extention: v2020.10.332292344
@7kemZmani that’s exactly the experiment we turned on. It fixed file associations with ipynb files. Once VS code ships the root cause of the problem in microsoft/vscode-python#13901 we’ll be able to turn this back on.
Worked For Me Thanks.