Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Notebook will not open, just shows JSON. #1264

Closed
jamesdsmith99 opened this issue Aug 15, 2020 · 5 comments
Closed

Jupyter Notebook will not open, just shows JSON. #1264

jamesdsmith99 opened this issue Aug 15, 2020 · 5 comments
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@jamesdsmith99
Copy link

Issue Type: Bug

Double click the jupyter notebook to open in the file browser in the left. Then JSON will appear in the text editor.

The notebook editor still opens when creating a new notebook.

Running python in a Conda environment in WSL 2 with ubuntu.

Extension version: 2020.8.101144
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T07:50:42.600Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.104-microsoft-standard

System Info
Item Value
CPUs AMD Ryzen 5 3600X 6-Core Processor (12 x 3793)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.91GB (23.69GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-20.04
OS Linux x64 4.19.104-microsoft-standard
CPUs AMD Ryzen 5 3600X 6-Core Processor (12 x 3792)
Memory (System) 24.99GB (23.53GB free)
VM 0%
@DavidKutu
Copy link

Thanks for the issue @jamesdsmith99. We have a setting called 'python.dataScience.useNotebookEditor' that either opens the json or the Notebook Editor. Could you check if you have it set to false? That could be your issue.

@jamesdsmith99
Copy link
Author

Thanks for the reply @DavidKutu the setting is set to true.

@DavidKutu
Copy link

I can't get it to repro on regular windows, I think it only happens on WSL 2. We'll have to discuss this in an upcoming meeting.
In the mean time, please try to right click on your ipynb file and select 'Open in Notebook Editor', that should work.

@jamesdsmith99
Copy link
Author

Thanks, it is worth noting that creating a new notebook does work as intended.

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug temp-nice-for-october labels Nov 13, 2020
@greazer greazer added the P2 label Nov 14, 2020
@greazer
Copy link
Member

greazer commented Jun 6, 2021

Thanks for your feedback. This issue will be addressed once VS Code adds native support for editing notebooks. Please see microsoft/vscode#91987. You can experiment by using VS Code insiders, which defaults to the new notebook experience.

@greazer greazer closed this as completed Jun 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

5 participants