vscode-jupyter: vscode continues to crash, extension reload
Type: Bug
I try to run some piece of code in interactive mode (with # %% in the top line) - the code starts and executes but then the kernal crashes. Sometimes, after several trials, vscode remains up and works fine. However, I just did a complete clean reinstall of VSCode and it continued to crash again several times before now running ok. Once it runs no problems. Below the output from ‘window’. I lost already several working days trying to hunt down the error, so any help very much appreciated.
2023-05-17 19:04:38.796 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-17 19:04:38.797 [info] Automatically restarting the extension host.
2023-05-17 19:04:40.048 [error] SyntaxError: Unexpected token 'R', "R��4s��["... is not valid JSON
at JSON.parse (<anonymous>)
at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/BE353F5C-87F6-42F2-85A3-3FCC1091D2E6/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-17 19:04:40.050 [error] SyntaxError: Unexpected token 'Û', "ÛTa�'Z��"... is not valid JSON
at JSON.parse (<anonymous>)
at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/BE353F5C-87F6-42F2-85A3-3FCC1091D2E6/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-17 19:04:41.369 [error] ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code/User/globalStorage/vscodevim.vim/.registers': Error: ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code/User/globalStorage/vscodevim.vim/.registers'
2023-05-17 19:05:16.336 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-17 19:05:16.343 [info] Automatically restarting the extension host.
2023-05-17 19:05:17.435 [error] SyntaxError: Unexpected token 'R', "R��4s��["... is not valid JSON
at JSON.parse (<anonymous>)
at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/BE353F5C-87F6-42F2-85A3-3FCC1091D2E6/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-17 19:05:17.435 [error] SyntaxError: Unexpected token 'Û', "ÛTa�'Z��"... is not valid JSON
at JSON.parse (<anonymous>)
at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/BE353F5C-87F6-42F2-85A3-3FCC1091D2E6/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-17 19:05:18.760 [error] ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code/User/globalStorage/vscodevim.vim/.registers': Error: ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code/User/globalStorage/vscodevim.vim/.registers'
2023-05-17 19:06:40.709 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-17 19:06:42.006 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-05-17 19:06:42.126 [warning] UNRESPONSIVE extension host: 'ms-toolsai.jupyter' took 31.630306057040663% of 411.045ms, saved PROFILE here: 'file:///var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/exthost-0f7785.cpuprofile'
2023-05-17 19:07:01.004 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-17 19:07:05.068 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-05-17 19:07:05.195 [warning] UNRESPONSIVE extension host: 'ms-python.python' took 82.34758844847737% of 3348.332ms, saved PROFILE here: 'file:///var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/exthost-396bba.cpuprofile'
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:44:45.204Z) OS version: Darwin x64 22.4.0 Modes: Sandboxed: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-1068NG7 CPU @ 2.30GHz (8 x 2300) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | 3, 4, 4 |
Memory (System) | 32.00GB (0.44GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Extensions (8)
Extension | Author (truncated) | Version |
---|---|---|
python | ms- | 2023.8.0 |
vscode-pylance | ms- | 2023.5.20 |
jupyter | ms- | 2023.4.1011241018 |
jupyter-keymap | ms- | 1.1.0 |
jupyter-renderers | ms- | 1.0.15 |
vscode-jupyter-cell-tags | ms- | 0.1.8 |
vscode-jupyter-slideshow | ms- | 0.1.5 |
vim | vsc | 1.25.2 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
showlangstatbar:30737416
vsctsb:30705553
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
pythoncmv:30739700
fixshowwlkth:30730052
showsbindicator:30730056
pythongtdpathcf:30739705
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 71 (27 by maintainers)
Hello Don - no, I did a clean reinstall of the Mac operating system. Thanks for following up, it was a nightmare….On 1. Dec 2023, at 03:16, Don Jayamanne @.***> wrote: @SchumErik are you still running into this issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>