Closed munael closed 1 day ago
I think I saw this a few times this month @DonJayamanne
Use it until it hangs randomly.
Looks like it hangs at some point and thats most likely the issue, not necessarily the execution or the like.
@munael when things hang, is it possible to share some of the logs from VS Code (have a look at the console logs Dev Tools
using the command Toggle Developer Tools
), if there are any please can you share them.
I think I saw this a few times this month
Not sure how execution prevents saving of notebooks
@rebornix did you run into this or did you see other similar issues? @amunger /cc
I'll try to get logs.
There's something else I noticed: the hang starts when I try to access a non-existent property of a variable and either auto-complete or type info hover tips get invoked, or when I try to run the cell.
Specifically, it happened when I tried to access a[b].shape but a[b] was a tuple, not a torch tensor (as I expected).
But other non-existent properties are fine 😅
Please note that the "hang" does not affect any part of the UI in the traditional way of hangs. Type tips still work, scrolling and typing work. But execution waits indefinitely, the cell with the code above stays in the waiting stage and never moved to execution.
And if you try to save nothing happens. If you try to close or restart the window or the tab, you get prompted to save or discard changes. Choosing Save shows an infinite loading modal with the option to cancel. The only option that works is to discard all changes.
@munael
There's something else I noticed: the hang starts when I try to access a non-existent property of
Can you replicate this issue when you reload VS Code, open this notebook and start typing in that same place Or do you have to first run some code in the notebook against the kernel. Basically I'm looking for exact steps to repro this and eliminate steps like (no need to execute code, other extensions do not play a role, etc).
@DonJayamanne
Noticed these warnings when it happened again today without invoking type tooltips.
The first message repeats many times above the quoted portion.
2024-05-23 03:17:12.991 [error] Unavailable (FileSystemError): ENOPRO: No file system provider found for resource 'vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224d542d4750552d303034227d/<data/path>/playground.ipynb#X23sdnNjb2RlLXJlbW90ZQ%3D%3D'
at E.e (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:6619)
at Object.stat (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:3892)
2024-05-23 03:17:13.782 [error] Unavailable (FileSystemError): ENOPRO: No file system provider found for resource 'vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224d542d4750552d303034227d/<data/path>/playground.ipynb#X23sdnNjb2RlLXJlbW90ZQ%3D%3D'
at E.e (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:6619)
at Object.stat (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:3892)
2024-05-23 03:17:19.675 [error] [ms-toolsai.jupyter] provider FAILED
2024-05-23 03:17:19.676 [error] Error: DisposableStore is missing...
at Pe.l (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:155:108416)
at Pe.resolveCompletionItem (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:155:107886)
@munael Are you still running into this issue with the latest versions?
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Type: Performance Issue
VS Code version: Code - Insiders 1.90.0-insider (f209ce35ef894bd32c12057724e8d1f1139c433f, 2024-05-17T17:49:32.956Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.0-102-generic
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.79GB (0.54GB free)| |Process Argv|--crash-reporter-id 99e317c3-0ab7-4106-9d83-dcf6c481fe98| |Screen Reader|yes| |VM|0%| |Item|Value| |---|---| |Remote|SSH: my-remote-machine| |OS|Linux x64 5.15.0-102-generic| |CPUs|Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (48 x 1210)| |Memory (System)|251.77GB (238.42GB free)| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 1 150 14844 code-insiders main 0 13 3784 fileWatcher [2] 0 103 4408 window [8] (Issue Reporter) 0 99 7564 window 0 35 13772 extensionHost [3] 0 4 5412 "C:\Users\Workspace Info
``` | Remote: SSH: my-remote-machine; ```Extensions (66)
Extension|Author (truncated)|Version ---|---|--- monokai-charcoal-high-contrast|74t|3.4.0 Bookmarks|ale|13.5.0 jsonl|Alp|0.0.1 sdlang|arm|0.1.0 spellright|ban|3.0.124 theme-verdandi|be5|2.0.1 vscode-hyperscript-org|dz4|0.1.5 LogFileHighlighter|emi|2.19.0 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.6.0 better-nunjucks|gin|0.2.5 language-cython|guy|0.0.8 bootstrap5-snippets|Han|1.2.5 output-colorizer|IBM|0.1.2 vsc-python-indent|Kev|1.18.0 l13-diff|L13|1.3.8 l13-projects|L13|1.1.1 python-sphinx-highlight|leo|0.3.0 jupyter-keymap|ms-|1.1.2 remote-ssh|ms-|0.112.2024051615 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.5.2024051509 rose-pine|mvl|2.9.0 colorful-comments|Par|1.0.0 bib|phr|0.3.0 salt-water-taffy|rad|0.3.0 shellman|Rem|5.7.0 shebang-snippets|rpi|0.1.4 powerquerymlanguage|sea|1.0.0 vscode-field-lights|sve|0.0.11 semantic-rainbow|the|1.1.7 pdf|tom|1.2.2 errorlens|use|3.17.0 vscode-vimrc|voi|0.1.0 vim|vsc|1.27.3 material-theme|zhu|3.17.2 path-intellisense|chr|2.8.5 rainbow-highlighter|cob|0.1.0 fastcompare|Dav|1.2.1 gitlens|eam|15.0.4 comment-anchors|Exo|1.10.4 vscode-edit-csv|jan|0.9.1 vsc-python-indent|Kev|1.18.0 l13-diff|L13|1.3.8 bash-extension-pack|liz|0.0.4 bash-ide-vscode|mad|1.41.0 vscode-color-identifiers-mode|Mat|1.3.0 rainbow-csv|mec|3.11.0 git-graph|mhu|1.30.0 debugpy|ms-|2024.7.11371019 python|ms-|2024.7.11371014 vscode-pylance|ms-|2024.5.101 jupyter|ms-|2024.4.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-powertoys|ms-|0.1.1 vscode-jupyter-slideshow|ms-|0.1.6 powershell|ms-|2024.2.2 vsliveshare|ms-|1.0.5918 indent-rainbow|ode|8.3.1 shellman|Rem|5.7.0 partial-diff|ryu|1.4.3 indenticator|Sir|0.7.0 vscode-fileutils|sle|3.10.3 markdown-all-in-one|yzh|3.6.2 (55 theme extensions excluded)