vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Jupyter notebook not openning/executing using dev container

Open RicaBenhossi opened this issue 6 years ago • 6 comments

Issue Type: Bug

Since last 3 or 4 days my jupyter notebooks are not opening on my dev container. When I'm not connected to the container, it opens. Using vscode stable version, it opens both ways: local and using dev container.

Even regular python files using #%% notation to run cells are not running on dev container. It shows "executing cells" forever in Status Bar.

I already tried to build the container again from scratch but didn't work...

VS Code version: Code - Insiders 1.46.0-insider (cd41dd1f6065db76c77c6e2f659bb50e6f558dec, 2020-05-29T05:40:08.467Z) OS version: Linux x64 5.3.0-53-generic Remote OS version: Linux x64 5.3.0-53-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (4 x 2241)
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: disabled_software
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 7.67GB (0.17GB free)
Process Argv --no-sandbox --unity-launch
Screen Reader no
VM 0%
DESKTOP_SESSION pantheon
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP pantheon
XDG_SESSION_TYPE x11
Item Value
Remote Dev Container: EnergyStats
OS Linux x64 5.3.0-53-generic
CPUs Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (4 x 2241)
Memory (System) 7.67GB (0.17GB free)
VM 0%
Extensions (32)
Extension Author (truncated) Version
project-manager ale 11.0.1
bracket-pair-colorizer Coe 1.0.61
remote-containers ms- 0.118.1
remote-ssh-edit-nightly ms- 2020.5.19620
remote-ssh-nightly ms- 2020.5.19620
vscode-remote-extensionpack ms- 0.20.0
code-settings-sync Sha 3.4.3
vscode-icons vsc 10.1.1
jinja who 0.0.8
Bookmarks ale 11.2.0
project-manager ale 11.0.1
read-only-indicator ale 3.2.0
gitkraken-glo axo 1.1.0
vscode-django bat 0.20.0
gitignore cod 0.6.0
vscode-markdownlint Dav 0.36.0
python-preview don 0.0.4
git-extension-pack don 0.1.3
githistory don 0.6.5
gitlens eam 10.2.1
todo-tree Gru 0.0.176
MagicPython mag 1.1.0
vscode-docker ms- 1.2.1
python ms- 2020.5.80290
resourcemonitor mut 1.0.7
embrace myc 1.0.0
autodocstring njp 0.5.2
markdown-preview-enhanced shd 0.5.10
clockify-tracker tob 3.0.11
vscodeintellicode Vis 1.2.7
change-case wma 1.0.0
vscode-open-in-github ziy 1.3.6

(1 theme extensions excluded)

RicaBenhossi avatar May 29 '20 11:05 RicaBenhossi

/needsMoreInfo can you please provide minimal notebook sample that enables us to reproduce the problem in a dev container. Can you share your container definition?

egamma avatar May 31 '20 10:05 egamma

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

vscodebot[bot] avatar May 31 '20 10:05 vscodebot[bot]

@RicaBenhossi @mnaveedb Anything intersting in the dev tools console (Help > Toggle Developer Tools) or in the log (Output > Log (...))?

aeschli avatar Jun 02 '20 08:06 aeschli

Sorry for the delay in answering the questions. I've updated VSCode today (as I do every day) and it seems that it back to normal again...

@egamma if you still want to check it out, here is one of my Jupyter notebooks that I've been using to test this issue and the files to dev container I use EnergyStats.zip But a blank notebook with a simple print("Hello world") wasn't working though and was working perfectly before.

@aeschli the only thing I've seen in the Console log is this error: image But this error was already happening before and it doesn't seem to prevent the execution or even the opening of Jupyter notebooks. In fact, I've installed the stable version of VSCode (where the problem doesn't happen) and this error happens there too, and there the notebooks open and execute normally on the stable version. Here's the full log of Insiders version if you want to check it out VSCodeInsiders.log

Thank you guys for the help and, again, sorry for the delay...

RicaBenhossi avatar Jun 02 '20 23:06 RicaBenhossi

I also updated it works There are some errors @egamma I have attached the logs -1591179345711.log

mnaveedb avatar Jun 03 '20 10:06 mnaveedb

Hey @RicaBenhossi, thanks for opening this issue. Since it sounds like the issue was resolved after updating VS Code, going to close this issue. But please feel free to let us know if you're still experiencing any problems or have any other questions, and we'd be happy to discuss further or reopen. Thank you!

bamurtaugh avatar Oct 23 '20 21:10 bamurtaugh