microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.27k stars 284 forks source link

vscode continues to crash, extension reload #13651

Closed SchumErik closed 9 months ago

SchumErik commented 1 year ago

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(R) Core(TM) 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 ```
SchumErik commented 1 year ago

Same issue today - here another error log:

2023-05-18 16:21:27.169 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-05-18 16:21:28.763 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:21:28.838 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:21:29.494 [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-18 16:21:30.247 [info] [perf] Render performance baseline is 28ms
2023-05-18 16:27:47.799 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-18 16:27:47.800 [info] Automatically restarting the extension host.
2023-05-18 16:27:48.740 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:27:48.740 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:27:49.935 [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-18 16:28:04.850 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-18 16:28:04.851 [info] Automatically restarting the extension host.
2023-05-18 16:28:05.658 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:28:05.658 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:28:06.923 [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-18 16:28:22.394 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-18 16:28:34.085 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-05-18 16:28:36.473 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:28:36.669 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:28:37.306 [info] [perf] Render performance baseline is 32ms
2023-05-18 16:28:37.339 [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-18 16:29:06.575 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-18 16:29:06.576 [info] Automatically restarting the extension host.
2023-05-18 16:29:07.603 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:29:07.603 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-18 16:29:08.630 [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'
SchumErik commented 1 year ago

... really need help here, super frustrating.

deepak1556 commented 1 year ago
2023-05-18 16:21:28.763 [error] SyntaxError: Unexpected token 'L', "L����vۆ�͑'"... is not valid JSON
at JSON.parse ()
at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)

Seems like a bad password state stored in the keychain, passing onto @TylerLeonhardt for investigation.

SchumErik commented 1 year ago

ok, thanks a lot - how could I access and change or delete that password?

deepak1556 commented 1 year ago

We might need the current broken state of the password manager to investigate the underlying issue, so I would recommend not changing anything in the keychain until asked.

Please use our insiders version https://code.visualstudio.com/insiders until the issue is resolved.

TylerLeonhardt commented 1 year ago

@SchumErik Can you follow these steps so that we can get more information on what's going on?

cydhhp commented 1 year ago

@TylerLeonhardt

May different.

Even clean broswer cache, still error.

023-05-29 21:36:30.596 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-05-29 21:36:30.596 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
2023-05-29 21:36:30.596 [info] Got 0 sessions for scopes: email offline_access openid profile
2023-05-29 21:36:36.037 [info] Logging in for the following scopes: email offline_access openid profile
2023-05-29 21:36:41.136 [info] Exchanging login code for token for scopes: email offline_access openid profile
2023-05-29 21:36:46.381 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired
2023-05-29 21:36:46.381 [error] Error exchanging code for token (for scopes email offline_access openid profile): Error: Network failure
2023-05-29 21:36:46.381 [error] Error creating session for scopes: email offline_access openid profile Error: Error: Network failure
2023-05-29 21:37:21.044 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired
2023-05-29 21:37:21.044 [error] Error exchanging code for token (for scopes email offline_access openid profile): Error: Network failure
2023-05-29 21:37:21.044 [error] Error creating session for scopes: email offline_access openid profile Error: Error: Network failure
2023-05-29 21:37:51.804 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired
2023-05-29 21:37:51.804 [error] Error exchanging code for token (for scopes email offline_access openid profile): Error: Network failure
2023-05-29 21:37:51.804 [error] Error creating session for scopes: email offline_access openid profile Error: Error: Network failure
2023-05-29 21:39:21.684 [info] Getting sessions for the following scopes: email offline_access openid profile
2023-05-29 21:39:21.684 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
2023-05-29 21:39:21.684 [info] Got 0 sessions for scopes: email offline_access openid profile
2023-05-29 21:39:24.955 [info] Logging in for the following scopes: email offline_access openid profile
2023-05-29 21:39:32.391 [info] Exchanging login code for token for scopes: email offline_access openid profile
2023-05-29 21:40:43.049 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired
TylerLeonhardt commented 1 year ago

That's a different error than this issue... see steps here: https://github.com/microsoft/vscode/issues/180812#issuecomment-1522282123

SchumErik commented 1 year ago

Hello Tyler,

Thanks for looking into this!!

Just to two comments: The issue also occurs also when I use Code - insiders. It only occurs when I try to run some Python code in interactive mode (ie I have somewhere in the file # %%), and the message in the blue line all the way at the bottom says something like: extension server restarting … Then I try around initiating the file and / or program from the MAC terminal by running code program.py or by opening a workspace…Maybe I even stop one of the extensions … and then suddenly the extension server is stable. Unfortunately I can’t say when it works.

One other thing I noticed: VSCode and my whole machine becomes a bit sluggish after a while. Not sure if this is associated, but there is lag when entering text from the keyboard. Starts slowly, and it not only affects VScode but all other programs as well.

My machine is a fully equipped i7 MBP from 2020.

Wednesday morning I try to follow your instructions and will reproduce the behaviour. In the meantime, here the WINDOW log from the code-insiders version, the top of the log shows the extensions restarting. Below I also give you the window log from the regular Code version:

VS CODE - INSIDER

2023-05-26 11:14:32.175 [info] Started initializing default profile extensions in extensions installation folder. file:///Users/Erik/.vscode-insiders/extensions
2023-05-26 11:14:32.796 [info] Completed initializing default profile extensions in extensions installation folder. file:///Users/Erik/.vscode-insiders/extensions
2023-05-26 11:14:35.986 [info] [perf] Render performance baseline is 28ms
2023-05-26 11:15:23.979 [error] ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code - Insiders/User/globalStorage/vscodevim.vim/.registers': Error: ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code - Insiders/User/globalStorage/vscodevim.vim/.registers'
2023-05-26 11:16:04.197 [error] ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code - Insiders/User/globalStorage/vscodevim.vim/.registers': Error: ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code - Insiders/User/globalStorage/vscodevim.vim/.registers'
2023-05-26 11:16:04.958 [info] [perf] Render performance baseline is 30ms
2023-05-26 11:18:22.233 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-26 11:18:22.234 [info] Automatically restarting the extension host.
2023-05-26 11:18:25.117 [error] ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code - Insiders/User/globalStorage/vscodevim.vim/.registers': Error: ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code - Insiders/User/globalStorage/vscodevim.vim/.registers'
2023-05-26 11:19:06.247 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-26 11:19:19.205 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-26 11:19:32.693 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-26 11:19:42.712 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-26 11:19:45.246 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-05-27 17:18:37.635 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:76690
    at _0x2d081e (/Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:85999)
    at async q.provideCompletionItems (/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:101:51223)
2023-05-28 15:08:07.962 [warning] Editor ID Mismatch: interactive !== vscode-interactive-input. This will cause bugs. Please ensure editorInput.editorId matches the registered id
2023-05-28 15:08:25.580 [warning] Editor ID Mismatch: interactive !== vscode-interactive-input. This will cause bugs. Please ensure editorInput.editorId matches the registered id
2023-05-28 19:14:21.476 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:76690
    at _0x2d081e (/Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:85999)
    at async q.provideCompletionItems (/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:101:51223)
2023-05-28 19:20:01.914 [error] Illegal value for lineNumber: Error: Illegal value for lineNumber
    at d.w (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:604:20431)
    at d.tokenizeIfCheap (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:604:20800)
    at v (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1067:46051)
    at Dr.provideCodeActions (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1155:45800)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:661:63763
    at Array.map (<anonymous>)
    at l (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:661:63717)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83915
    at C (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:11292)
    at e.MarkerHoverParticipant.l (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83891)
    at e.MarkerHoverParticipant.k (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83279)
    at e.MarkerHoverParticipant.renderHoverParts (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:81204)
    at dr.u (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:12048)
    at dr.r (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:11024)
    at dr.t (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:11634)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:9479
    at g.invoke (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at r.deliver (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at C.w (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14858)
    at C.s (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14355)
    at C.u (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14742)
    at P.a (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14042)
    at P.h (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:17622)
    at P.g (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:17606)
2023-05-28 19:20:03.019 [error] Illegal value for lineNumber: Error: Illegal value for lineNumber
    at d.w (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:604:20431)
    at d.tokenizeIfCheap (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:604:20800)
    at v (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1067:46051)
    at Dr.provideCodeActions (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1155:45800)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:661:63763
    at Array.map (<anonymous>)
    at l (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:661:63717)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83915
    at C (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:11292)
    at e.MarkerHoverParticipant.l (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83891)
    at e.MarkerHoverParticipant.k (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83279)
    at e.MarkerHoverParticipant.renderHoverParts (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:81204)
    at dr.u (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:12048)
    at dr.r (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:11024)
    at dr.t (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:11634)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:9479
    at g.invoke (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at r.deliver (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at C.w (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14858)
    at C.s (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14355)
    at C.u (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14742)
    at P.a (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14042)
    at P.h (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:17622)
    at P.g (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:17606)
2023-05-28 19:20:06.295 [error] Illegal value for lineNumber: Error: Illegal value for lineNumber
    at d.w (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:604:20431)
    at d.tokenizeIfCheap (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:604:20800)
    at v (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1067:46051)
    at Dr.provideCodeActions (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1155:45800)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:661:63763
    at Array.map (<anonymous>)
    at l (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:661:63717)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83915
    at C (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:11292)
    at e.MarkerHoverParticipant.l (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83891)
    at e.MarkerHoverParticipant.k (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:83279)
    at e.MarkerHoverParticipant.renderHoverParts (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:755:81204)
    at dr.u (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:12048)
    at dr.r (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:11024)
    at dr.t (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:11634)
    at vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:750:9479
    at g.invoke (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at r.deliver (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at C.w (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14858)
    at C.s (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14355)
    at C.u (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14742)
    at P.a (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:606:14042)
    at P.h (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:17622)
    at P.g (vscode-file://vscode-app/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:97:17606)
2023-05-28 19:25:29.759 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:76690
    at _0x2d081e (/Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:85999)
    at async q.provideCompletionItems (/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:101:51223)
2023-05-28 19:41:33.466 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:76690
    at _0x2d081e (/Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:85999)
    at async q.provideCompletionItems (/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:101:51223)
2023-05-29 19:52:34.348 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:76690
    at _0x2d081e (/Users/Erik/.vscode-insiders/extensions/ms-python.vscode-pylance-2023.5.41/dist/extension.bundle.js:1:85999)
    at async q.provideCompletionItems (/private/var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/AppTranslocation/555A021C-FDA9-4145-92F1-26689ECC2987/d/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:101:51223)

VS CODE

2023-05-26 08:28:48.225 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-05-26 08:28:48.888 [warning] Settings pattern "security.*" doesn't match any settings
2023-05-26 08:28:48.888 [warning] SettingsEditor2: Settings not included in settingsLayout.ts: interactiveEditor.editMode, accessibility.verbosity.diff-editor, accessibility.verbosity.terminal
2023-05-26 08:28:51.895 [warning] Settings pattern "security.*" doesn't match any settings
2023-05-26 08:28:52.485 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:28:52.845 [warning] Settings pattern "security.*" doesn't match any settings
2023-05-26 08:28:53.297 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:28:54.239 [info] [perf] Render performance baseline is 44ms
2023-05-26 08:28:55.006 [warning] Settings pattern "security.*" doesn't match any settings
2023-05-26 08:49:04.114 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-26 08:49:04.115 [info] Automatically restarting the extension host.
2023-05-26 08:49:05.298 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:49:05.299 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:49:58.906 [warning] Aborted onWillSaveNotebookDocument-event after 1750ms
2023-05-26 08:50:06.397 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-26 08:50:06.398 [info] Automatically restarting the extension host.
2023-05-26 08:50:07.435 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:50:07.435 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:52:54.082 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-05-26 08:52:57.186 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:52:57.398 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 08:52:58.360 [info] [perf] Render performance baseline is 48ms
2023-05-26 10:02:57.684 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-26 10:47:32.915 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-26 10:47:32.917 [info] Automatically restarting the extension host.
2023-05-26 10:47:34.170 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 10:47:34.173 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 11:08:36.889 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-26 11:12:10.590 [warning] Aborted onWillSaveNotebookDocument-event after 1750ms
2023-05-26 11:12:17.096 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-26 11:12:17.099 [info] Automatically restarting the extension host.
2023-05-26 11:12:18.515 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 11:12:18.515 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 11:12:54.090 [error] spawn /usr/bin/git EMFILE: Error: spawn /usr/bin/git EMFILE
    at ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:497:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
2023-05-26 11:12:58.868 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-26 11:12:58.871 [info] Automatically restarting the extension host.
2023-05-26 11:13:00.173 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 11:13:00.175 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-26 22:32:11.874 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-26 22:40:59.296 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-26 23:07:24.456 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 10:12:10.046 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 10:27:50.435 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 10:33:38.322 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 10:49:23.527 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 11:48:14.084 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 12:26:22.820 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 14:15:06.428 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 14:40:33.576 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 15:13:40.384 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 15:18:45.290 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 15:26:00.072 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-27 15:37:14.576 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-28 10:38:48.035 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-28 11:10:03.683 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-28 11:15:06.850 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-28 14:22:21.267 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-28 20:17:35.580 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
2023-05-28 20:17:53.372 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-28 20:17:53.373 [info] Automatically restarting the extension host.
2023-05-28 20:17:54.853 [error] SyntaxError: Unexpected token 'L', "L���vۆ�͑'"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-28 20:17:54.855 [error] SyntaxError: Unexpected token '݀', "݀M��2�N]w"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e.MainThreadSecretState.$getPassword (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1525:48130)
2023-05-28 20:43:11.663 [error] Unable to read file '/*** unresolved ***' (Error: Unable to resolve nonexistent file '/*** unresolved ***'): Error: Unable to read file '/*** unresolved ***' (Error: Unable to resolve nonexistent file '/*** unresolved ***')
    at e.FileService.w (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:624:17839)
    at e.FileService.v (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:624:17501)
    at async e.NativeTextFileService.H (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2307:38305)
    at async e.NativeTextFileService.readStream (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2307:38000)
    at async Hs.Ab (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2298:54368)
    at async Hs.resolve (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2298:52773)
    at async e.TextFileEditorModelManager.P (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2307:34335)
    at async s.m (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2298:62950)
    at async c.acquire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:19:31496)
    at async e.TextModelResolverService.createModelReference (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2298:64703)
2023-05-28 21:24:30.947 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:100:52890)
TylerLeonhardt commented 1 year ago

@SchumErik so it seems you have a few different problems... we have folks on the team that own different parts so we ask that 1 problem goes with 1 issue so we can tackle it more easily. For the Python issue, can you call that out over in: https://github.com/Microsoft/vscode-python and they can help you out with that one.

I wanna focus on Unexpected token '݀', "݀M���2�N]w"... is not valid JSON which involves what I own. Now it seems like you only experience that error in VS Code stable. Insiders doesn't have it in the logs so Insiders likely doesn't have that problem (obviously it still has the python issue, but yeah the folks that own that should take a look, not I). So, can you please include the Main Output channel for me, so I can understand the unexpected token a bit more?

SchumErik commented 1 year ago

Here you go:

2023-05-26 08:28:44.851 [info] update#setState idle
2023-05-26 08:29:14.858 [info] update#setState checking for updates
2023-05-26 08:29:15.462 [info] update#setState idle
2023-05-26 08:49:04.000 [info] Extension host with pid 3521 exited with code: 6, signal: unknown.
2023-05-26 08:49:04.001 [error] [UtilityProcess id: 1, type: extensionHost, pid: 3521]: crashed with code 6 and reason 'crashed'
2023-05-26 08:50:06.263 [info] Extension host with pid 4262 exited with code: 6, signal: unknown.
2023-05-26 08:50:06.264 [error] [UtilityProcess id: 2, type: extensionHost, pid: 4262]: crashed with code 6 and reason 'crashed'
2023-05-26 08:52:53.654 [info] Extension host with pid 4421 exited with code: 0, signal: unknown.
2023-05-26 09:29:14.925 [info] update#setState checking for updates
2023-05-26 09:29:15.274 [info] update#setState idle
2023-05-26 10:29:14.883 [info] update#setState checking for updates
2023-05-26 10:29:15.090 [info] update#setState idle
2023-05-26 10:47:32.801 [info] Extension host with pid 4658 exited with code: 0, signal: unknown.
2023-05-26 10:47:32.895 [error] [UtilityProcess id: 4, type: extensionHost, pid: 4658]: crashed with code 6 and reason 'crashed'
2023-05-26 11:12:16.995 [info] Extension host with pid 6857 exited with code: 6, signal: unknown.
2023-05-26 11:12:16.996 [error] [UtilityProcess id: 5, type: extensionHost, pid: 6857]: crashed with code 6 and reason 'crashed'
2023-05-26 11:12:58.688 [info] Extension host with pid 7282 exited with code: 6, signal: unknown.
2023-05-26 11:12:58.688 [error] [UtilityProcess id: 6, type: extensionHost, pid: 7282]: crashed with code 6 and reason 'crashed'
2023-05-26 11:29:14.893 [info] update#setState checking for updates
2023-05-26 11:29:15.343 [info] update#setState idle
2023-05-26 12:46:32.746 [info] update#setState checking for updates
2023-05-26 12:46:33.677 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-26 12:46:33.677 [info] update#setState idle
2023-05-26 13:46:33.523 [info] update#setState checking for updates
2023-05-26 13:46:33.720 [info] update#setState idle
2023-05-26 14:46:33.548 [info] update#setState checking for updates
2023-05-26 14:46:33.789 [info] update#setState idle
2023-05-26 16:15:00.570 [info] update#setState checking for updates
2023-05-26 16:15:01.705 [info] update#setState idle
2023-05-26 17:15:01.345 [info] update#setState checking for updates
2023-05-26 17:15:01.561 [info] update#setState idle
2023-05-26 18:41:13.381 [info] update#setState checking for updates
2023-05-26 18:41:15.248 [info] update#setState idle
2023-05-26 19:41:14.114 [info] update#setState checking for updates
2023-05-26 19:41:14.325 [info] update#setState idle
2023-05-26 20:41:14.048 [info] update#setState checking for updates
2023-05-26 20:41:14.253 [info] update#setState idle
2023-05-26 21:41:14.048 [info] update#setState checking for updates
2023-05-26 21:41:14.278 [info] update#setState idle
2023-05-26 22:41:14.030 [info] update#setState checking for updates
2023-05-26 22:41:14.238 [info] update#setState idle
2023-05-26 23:58:34.551 [info] update#setState checking for updates
2023-05-26 23:58:35.665 [info] update#setState idle
2023-05-27 01:24:38.572 [info] update#setState checking for updates
2023-05-27 01:24:40.770 [info] update#setState idle
2023-05-27 03:28:17.551 [info] update#setState checking for updates
2023-05-27 03:28:17.735 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-27 03:28:17.735 [info] update#setState idle
2023-05-27 05:38:56.523 [info] update#setState checking for updates
2023-05-27 05:38:58.624 [info] update#setState idle
2023-05-27 06:55:01.469 [info] update#setState checking for updates
2023-05-27 06:55:01.710 [error] UpdateService error: The internet connection appears to be offline.
2023-05-27 06:55:01.711 [info] update#setState idle
2023-05-27 08:04:54.384 [info] update#setState checking for updates
2023-05-27 08:04:55.317 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-27 08:04:55.317 [info] update#setState idle
2023-05-27 09:04:55.149 [info] update#setState checking for updates
2023-05-27 09:04:55.360 [info] update#setState idle
2023-05-27 10:04:55.094 [info] update#setState checking for updates
2023-05-27 10:04:55.272 [info] update#setState idle
2023-05-27 11:04:55.057 [info] update#setState checking for updates
2023-05-27 11:04:55.245 [info] update#setState idle
2023-05-27 12:04:55.031 [info] update#setState checking for updates
2023-05-27 12:04:55.225 [info] update#setState idle
2023-05-27 13:07:35.178 [info] update#setState checking for updates
2023-05-27 13:07:37.162 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-27 13:07:37.163 [info] update#setState idle
2023-05-27 14:07:36.236 [info] update#setState checking for updates
2023-05-27 14:07:36.462 [info] update#setState idle
2023-05-27 15:07:36.086 [info] update#setState checking for updates
2023-05-27 15:07:36.275 [info] update#setState idle
2023-05-27 16:07:36.066 [info] update#setState checking for updates
2023-05-27 16:07:36.284 [info] update#setState idle
2023-05-27 17:07:36.303 [info] update#setState checking for updates
2023-05-27 17:07:36.504 [info] update#setState idle
2023-05-27 18:07:36.234 [info] update#setState checking for updates
2023-05-27 18:07:36.423 [info] update#setState idle
2023-05-27 19:07:36.353 [info] update#setState checking for updates
2023-05-27 19:07:36.550 [info] update#setState idle
2023-05-27 20:07:36.317 [info] update#setState checking for updates
2023-05-27 20:07:36.564 [info] update#setState idle
2023-05-27 21:22:21.494 [info] update#setState checking for updates
2023-05-27 21:22:22.726 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-27 21:22:22.730 [info] update#setState idle
2023-05-28 00:16:53.533 [info] update#setState checking for updates
2023-05-28 00:16:55.197 [info] update#setState idle
2023-05-28 01:49:25.399 [info] update#setState checking for updates
2023-05-28 01:49:27.573 [info] update#setState idle
2023-05-28 04:14:17.408 [info] update#setState checking for updates
2023-05-28 04:14:19.383 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-28 04:14:19.383 [info] update#setState idle
2023-05-28 05:14:18.118 [info] update#setState checking for updates
2023-05-28 05:14:18.333 [info] update#setState idle
2023-05-28 06:55:01.323 [info] update#setState checking for updates
2023-05-28 06:55:03.793 [info] update#setState idle
2023-05-28 08:05:49.290 [info] update#setState checking for updates
2023-05-28 08:05:50.208 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-28 08:05:50.208 [info] update#setState idle
2023-05-28 09:17:58.290 [info] update#setState checking for updates
2023-05-28 09:18:00.401 [info] update#setState idle
2023-05-28 10:17:58.990 [info] update#setState checking for updates
2023-05-28 10:17:59.205 [info] update#setState idle
2023-05-28 11:17:58.960 [info] update#setState checking for updates
2023-05-28 11:17:59.228 [info] update#setState idle
2023-05-28 12:17:59.117 [info] update#setState checking for updates
2023-05-28 12:17:59.339 [info] update#setState idle
2023-05-28 13:30:56.300 [info] update#setState checking for updates
2023-05-28 13:30:57.366 [info] update#setState idle
2023-05-28 14:30:56.242 [info] update#setState checking for updates
2023-05-28 14:30:56.417 [info] update#setState idle
2023-05-28 15:30:56.263 [info] update#setState checking for updates
2023-05-28 15:30:56.440 [info] update#setState idle
2023-05-28 16:31:34.365 [info] update#setState checking for updates
2023-05-28 16:31:35.484 [info] update#setState idle
2023-05-28 17:31:35.088 [info] update#setState checking for updates
2023-05-28 17:31:35.274 [info] update#setState idle
2023-05-28 18:46:23.017 [info] update#setState checking for updates
2023-05-28 18:46:23.869 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-28 18:46:23.870 [info] update#setState idle
2023-05-28 19:46:23.713 [info] update#setState checking for updates
2023-05-28 19:46:23.906 [info] update#setState idle
2023-05-28 20:17:53.309 [info] Extension host with pid 7454 exited with code: 6, signal: unknown.
2023-05-28 20:17:53.311 [error] [UtilityProcess id: 7, type: extensionHost, pid: 7454]: crashed with code 6 and reason 'crashed'
2023-05-28 20:46:23.722 [info] update#setState checking for updates
2023-05-28 20:46:23.938 [info] update#setState idle
2023-05-28 22:00:01.173 [info] update#setState checking for updates
2023-05-28 22:00:03.518 [info] update#setState idle
2023-05-29 00:46:08.504 [info] update#setState checking for updates
2023-05-29 00:46:08.997 [info] update#setState idle
2023-05-29 02:42:45.315 [info] update#setState checking for updates
2023-05-29 02:42:47.420 [info] update#setState idle
2023-05-29 04:52:18.281 [info] update#setState checking for updates
2023-05-29 04:52:21.795 [info] update#setState idle
2023-05-29 06:55:01.280 [info] update#setState checking for updates
2023-05-29 06:55:01.479 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-29 06:55:01.480 [info] update#setState idle
2023-05-29 07:55:01.242 [info] update#setState checking for updates
2023-05-29 07:55:01.460 [info] update#setState idle
2023-05-29 08:55:01.149 [info] update#setState checking for updates
2023-05-29 08:55:01.487 [info] update#setState idle
2023-05-29 10:03:11.181 [info] update#setState checking for updates
2023-05-29 10:03:13.520 [info] update#setState idle
2023-05-29 11:29:11.182 [info] update#setState checking for updates
2023-05-29 11:29:12.029 [error] UpdateService error: The internet connection appears to be offline.
2023-05-29 11:29:12.041 [info] update#setState idle
2023-05-29 13:16:40.117 [info] update#setState checking for updates
2023-05-29 13:16:42.249 [info] update#setState idle
2023-05-29 14:16:40.863 [info] update#setState checking for updates
2023-05-29 14:16:41.073 [info] update#setState idle
2023-05-29 15:22:36.784 [info] update#setState checking for updates
2023-05-29 15:22:38.143 [info] update#setState idle
2023-05-29 16:44:20.982 [info] update#setState checking for updates
2023-05-29 16:44:21.827 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-29 16:44:21.827 [info] update#setState idle
2023-05-29 17:50:01.047 [info] update#setState checking for updates
2023-05-29 17:50:02.005 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-29 17:50:02.005 [info] update#setState idle
2023-05-29 18:50:01.870 [info] update#setState checking for updates
2023-05-29 18:50:02.093 [info] update#setState idle
2023-05-29 19:50:01.822 [info] update#setState checking for updates
2023-05-29 19:50:02.023 [info] update#setState idle
2023-05-29 21:02:01.992 [info] update#setState checking for updates
2023-05-29 21:02:02.900 [error] UpdateService error: A server with the specified hostname could not be found.
2023-05-29 21:02:02.914 [info] update#setState idle
2023-05-29 22:02:02.806 [info] update#setState checking for updates
2023-05-29 22:02:03.025 [info] update#setState idle
2023-05-29 23:02:02.736 [info] update#setState checking for updates
2023-05-29 23:02:03.046 [info] update#setState idle
2023-05-30 00:02:02.749 [info] update#setState checking for updates
2023-05-30 00:02:02.949 [info] update#setState idle
2023-05-30 02:25:19.928 [info] update#setState checking for updates
2023-05-30 02:25:20.716 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 02:25:20.716 [info] update#setState idle
2023-05-30 05:22:07.141 [info] update#setState checking for updates
2023-05-30 05:22:07.713 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 05:22:07.715 [info] update#setState idle
2023-05-30 06:22:07.320 [info] update#setState checking for updates
2023-05-30 06:22:07.578 [info] update#setState idle
2023-05-30 07:41:50.108 [info] update#setState checking for updates
2023-05-30 07:41:51.177 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 07:41:51.177 [info] update#setState idle
2023-05-30 08:56:30.370 [info] update#setState checking for updates
2023-05-30 08:56:31.569 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 08:56:31.569 [info] update#setState idle
2023-05-30 09:56:30.448 [info] update#setState checking for updates
2023-05-30 09:56:30.463 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 09:56:30.463 [info] update#setState idle
2023-05-30 10:56:30.385 [info] update#setState checking for updates
2023-05-30 10:56:30.758 [info] update#setState idle
2023-05-30 11:56:30.285 [info] update#setState checking for updates
2023-05-30 11:56:30.541 [info] update#setState idle
2023-05-30 14:44:54.817 [info] update#setState checking for updates
2023-05-30 14:44:55.601 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 14:44:55.601 [info] update#setState idle
2023-05-30 15:45:00.819 [info] update#setState checking for updates
2023-05-30 15:45:00.842 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 15:45:00.842 [info] update#setState idle
2023-05-30 16:53:36.053 [info] update#setState checking for updates
2023-05-30 16:53:36.089 [error] UpdateService error: The internet connection appears to be offline.
2023-05-30 16:53:36.089 [info] update#setState idle
2023-05-30 18:13:57.609 [info] update#setState checking for updates
2023-05-30 18:13:58.082 [info] update#setState idle
2023-05-30 19:26:31.920 [info] update#setState checking for updates
2023-05-30 19:26:34.378 [info] update#setState idle
SchumErik commented 1 year ago

1) OK, here is the trace info (vscode- insider):

2023-05-30 19:52:18.117 [info] update#setState idle
2023-05-30 19:52:48.124 [info] update#setState checking for updates
2023-05-30 19:52:48.596 [info] update#setState idle
2023-05-30 19:53:29.910 [info] Extension host with pid 50050 exited with code: 0, signal: unknown.
2023-05-30 19:53:29.957 [error] [UtilityProcess id: 1, type: extensionHost, pid: 50050]: crashed with code 6 and reason 'crashed'
2023-05-30 19:54:29.764 [info] Extension host with pid 50254 exited with code: 6, signal: unknown.
2023-05-30 19:54:29.765 [error] [UtilityProcess id: 2, type: extensionHost, pid: 50254]: crashed with code 6 and reason 'crashed'

2) Now trying to get it to work:

WINDOW SERVER 2023-05-31 08:28:48.136 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session 2023-05-31 08:28:56.312 [info] UNRESPONSIVE extension host: starting to profile NOW 2023-05-31 08:28:59.095 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session 2023-05-31 08:29:15.277 [error] Error: Aborted onWillSaveTextDocument-event after 1750ms at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1853:13556 2023-05-31 08:29:15.358 [info] UNRESPONSIVE extension host: starting to profile NOW 2023-05-31 08:29:23.454 [error] Error: Aborted onWillSaveTextDocument-event after 1750ms at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1853:13556 2023-05-31 08:29:26.091 [info] UNRESPONSIVE extension host: starting to profile NOW 2023-05-31 08:29:28.557 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session

3) To confirm, fresh start of vscode-insider w/ Pylance and Black Formatter disabled

WINDOW SERVER

2023-05-31 08:34:01.521 [error] Handler already set!: Error: Handler already set!
    at g.setHandler (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1514:1951)
    at e.WalkthroughsService.Q (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1969:16266)
    at async e.WalkthroughsService.getWalkthroughs (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1969:21346)
    at async qu.hc (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2520:71151)
    at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2520:60801
2023-05-31 08:34:05.867 [info] [perf] Render performance baseline is 30ms
2023-05-31 08:34:28.136 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-31 08:34:28.137 [info] Automatically restarting the extension host.
2023-05-31 08:34:58.250 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-05-31 08:34:58.250 [info] Automatically restarting the extension host.
2023-05-31 08:35:48.543 [warning] Aborted onWillSaveNotebookDocument-event after 1750ms
2023-05-31 08:35:48.746 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-31 08:36:00.130 [warning] Aborted onWillSaveNotebookDocument-event after 1750ms
2023-05-31 08:36:15.739 [warning] Aborted onWillSaveNotebookDocument-event after 1750ms
2023-05-31 08:36:17.261 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-31 08:36:20.364 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-05-31 08:36:24.617 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-31 08:36:28.869 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-05-31 08:36:33.411 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-05-31 08:36:35.800 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session

MAIN

2023-05-31 08:33:58.604 [info] update#setState idle
2023-05-31 08:34:27.993 [info] Extension host with pid 52834 exited with code: 6, signal: unknown.
2023-05-31 08:34:27.994 [error] [UtilityProcess id: 1, type: extensionHost, pid: 52834]: crashed with code 6 and reason 'crashed'
2023-05-31 08:34:28.606 [info] update#setState checking for updates
2023-05-31 08:34:29.347 [info] update#setState downloading
2023-05-31 08:34:47.933 [info] update#setState ready
2023-05-31 08:34:58.176 [info] Extension host with pid 53020 exited with code: 6, signal: unknown.
2023-05-31 08:34:58.176 [error] [UtilityProcess id: 2, type: extensionHost, pid: 53020]: crashed with code 6 and reason 'crashed'

4) BUT: Unfortunately I could not repeat this - tried with different combinations of disabled extensions, but I am still looking for a way to get this to work now. Very frustrating….. However, my computer is at normal speed…..

Best, Erik

TylerLeonhardt commented 1 year ago

Let's pick at this one by one... the biggest part of what your facing relates to vscode-python, I think... but I wanna get you back to a good state with respect to Unexpected token 'Û', "ÛT�a�'Z���"... is not valid JSON. If you open Keychain Access on your Mac and search for vscode you can delete all of that stuff so that you don't see Unexpected token 'Û', "ÛT�a�'Z���"... is not valid JSON anymore.

image

Once that issue goes away, and you say that that one's gone, I'll move this issue over to vscode-python so they can help you out. I think there is a performance related issue with the Python extension in your case.

SchumErik commented 1 year ago

Thanks, will do! Today I was getting quite frustrated since I could not get the extension server to stop crashing…. Then I tried again half an hour layer and it magically worked despite all extensions enabled. A real mustery….Will delete keychain stuff related to vscode (even though I can’t rememer having put anything there)sent from my mobile device - please excuse brevity and typos

SchumErik commented 1 year ago

OK - Deleted three keychain passwords (Microsoft & Git) - unfortunately still the same crashes:

WINDOW loger

2023-05-31 22:50:12.724 [info] [perf] Render performance baseline is 36ms 2023-05-31 22:50:43.918 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated. 2023-05-31 22:50:43.919 [info] Automatically restarting the extension host. 2023-05-31 22:53:31.821 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated. 2023-05-31 22:53:31.822 [info] Automatically restarting the extension host.

MAIN logger

2023-05-31 22:50:08.795 [info] update#setState idle 2023-05-31 22:50:38.798 [info] update#setState checking for updates 2023-05-31 22:50:39.454 [info] update#setState idle 2023-05-31 22:50:43.823 [info] Extension host with pid 68881 exited with code: 6, signal: unknown. 2023-05-31 22:50:43.824 [error] [UtilityProcess id: 1, type: extensionHost, pid: 68881]: crashed with code 6 and reason 'crashed' 2023-05-31 22:53:31.727 [info] Extension host with pid 69010 exited with code: 6, signal: unknown. 2023-05-31 22:53:31.727 [error] [UtilityProcess id: 2, type: extensionHost, pid: 69010]: crashed with code 6 and reason ‘crashed'

On 31. May 2023, at 20:41, Erik Schumacher @.***> wrote:

Thanks, will do! Today I was getting quite frustrated since I could not get the extension server to stop crashing…. Then I tried again half an hour layer and it magically worked despite all extensions enabled. A real mustery….

Will delete keychain stuff related to vscode (even though I can’t rememer having put anything there)

sent from my mobile device - please excuse brevity and typos

TylerLeonhardt commented 1 year ago

@karthiknadig forgive me if you're not the right person, but originally we had suspected an issue with auth but the error displayed was totally unrelated. @SchumErik is seeing crashes in the extension host and python related extensions are the common denominator. Can you help out here?

karthiknadig commented 1 year ago

Looking at the call stack this should likely be looked at by pylance.

Black-formatter extension is a LSP wrapper for black formatter server written in python. All it does is launches a python LSP server. The call stacks don't seem to indicate anything specific there.

rchiodo commented 1 year ago

Is this the 'pylance' error?

2023-05-28 21:24:30.947 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:55300
    at _0x510d3a (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.5.40/dist/extension.bundle.js:1:64725)
    at async oe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js💯52890)
karthiknadig commented 1 year ago

That is the I am suspecting is causing the crash.

rchiodo commented 1 year ago

@stellahuang95, you should be able to use the tools we use in our dashboard to see what that callstack maps to in the real code.

This file here should be able to find the real stack:

build\automation\map_callstacks.js

As long as you have the map files for build 2023.5.40.

rchiodo commented 1 year ago

Sorry I was curious, so I did the mapping myself. Here's what I think is the top of that stack:

C:\Users\aku91\source\repos\pyrx>node build\automation\map_callstacks.js "C:\Users\aku91\Downloads\extension.bundle.js.map" 1 55300
{
  source: 'vscode-pylance/src/sharedExtension.ts',
  line: 220,
  column: 90,
  name: null
}

Which comes to here: https://github.com/microsoft/pyrx/blob/4f734066a174a67333aa351f6f62d6e266ec7d7d/packages/vscode-pylance/src/sharedExtension.ts#L220

Which doesn't make any sense. Perhaps this python module will be able to map better.

https://pypi.org/project/sourcemap/

That's what we use in our internal dashboard.

cydhhp commented 1 year ago

Still Crash

I try everything about above solution.

If uninstall reboot install It always show this, but this is before settings 截圖 2023-06-01 12 48 36

always 023-05-29 21:36:30.596 [info] Getting sessions for the following scopes: email offline_access openid profile 2023-05-29 21:36:30.596 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile 2023-05-29 21:36:30.596 [info] Got 0 sessions for scopes: email offline_access openid profile 2023-05-29 21:36:36.037 [info] Logging in for the following scopes: email offline_access openid profile 2023-05-29 21:36:41.136 [info] Exchanging login code for token for scopes: email offline_access openid profile 2023-05-29 21:36:46.381 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired 2023-05-29 21:36:46.381 [error] Error exchanging code for token (for scopes email offline_access openid profile): Error: Network failure 2023-05-29 21:36:46.381 [error] Error creating session for scopes: email offline_access openid profile Error: Error: Network failure 2023-05-29 21:37:21.044 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired 2023-05-29 21:37:21.044 [error] Error exchanging code for token (for scopes email offline_access openid profile): Error: Network failure 2023-05-29 21:37:21.044 [error] Error creating session for scopes: email offline_access openid profile Error: Error: Network failure 2023-05-29 21:37:51.804 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expired 2023-05-29 21:37:51.804 [error] Error exchanging code for token (for scopes email offline_access openid profile): Error: Network failure 2023-05-29 21:37:51.804 [error] Error creating session for scopes: email offline_access openid profile Error: Error: Network failure 2023-05-29 21:39:21.684 [info] Getting sessions for the following scopes: email offline_access openid profile 2023-05-29 21:39:21.684 [trace] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile 2023-05-29 21:39:21.684 [info] Got 0 sessions for scopes: email offline_access openid profile 2023-05-29 21:39:24.955 [info] Logging in for the following scopes: email offline_access openid profile 2023-05-29 21:39:32.391 [info] Exchanging login code for token for scopes: email offline_access openid profile 2023-05-29 21:40:43.049 [error] Fetching token failed for scopes (email offline_access openid profile): request to https://login.microsoftonline.com/organizations/oauth2/v2.0/token failed, reason: certificate has expire

reason: certificate has expire But keychain has no about vscode (deleted before)

SchumErik commented 1 year ago

Hello,

not sure how I got into this feed, but my VSCode extension server continues to crash… until - by waiting or continued restarting it finally works. But after a while my whole machine slows down. MAC MBP. Please advise what I should do / if this is the right group for me..

On 1. Jun 2023, at 02:04, Rich Chiodo @.***> wrote:

Sorry I was curious, so I did the mapping myself. Here's what I think is the top of that stack:

C:\Users\aku91\source\repos\pyrx>node build\automation\map_callstacks.js "C:\Users\aku91\Downloads\extension.bundle.js.map" 1 55300 { source: 'vscode-pylance/src/sharedExtension.ts', line: 220, column: 90, name: null } Which comes to here: https://github.com/microsoft/pyrx/blob/4f734066a174a67333aa351f6f62d6e266ec7d7d/packages/vscode-pylance/src/sharedExtension.ts#L220

Which doesn't make any sense. Perhaps this python module will be able to map better.

https://pypi.org/project/sourcemap/

That's what we use in our internal dashboard.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-jupyter/issues/13651, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACU53IEGG37PKVZBAAX7IKDXI7MBPANCNFSM6AAAAAAYWEADTU. You are receiving this because you authored the thread.

StellaHuang95 commented 1 year ago

Hi @cydhhp, thanks for reporting the issue. In order to address issues effectively, we aim to tackle one issue at a time. Could you please file a new issue at https://github.com/microsoft/vscode? Thanks.

@SchumErik Could you try switching the python language server to Jedi and see if you're still experiencing the same crash? Thanks.

SchumErik commented 1 year ago

Hi Stella,

unfortunately the extension server still crashed w/ Jedi as language server. Here the logs:

WINDOW:

2023-06-04 12:27:25.847 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. 2023-06-04 12:27:26.251 [warning] Settings pattern "security." doesn't match any settings 2023-06-04 12:27:26.252 [warning] SettingsEditor2: Settings not included in settingsLayout.ts: interactiveEditor.editMode, accessibility.verbosity.diff-editor, accessibility.verbosity.terminal 2023-06-04 12:27:26.441 [error] Error: The editor could not be opened because the file was not found. at lu.cc (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2285:93538) at async lu.setInput (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2285:92524) at async e.EditorPanes.M (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2283:23399) at async e.EditorPanes.D (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2283:21994) at async e.EditorPanes.openEditor (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2283:20897) at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2462:13516 2023-06-04 12:27:28.303 [warning] Settings pattern "security." doesn't match any settings 2023-06-04 12:27:29.421 [warning] Settings pattern "security." doesn't match any settings 2023-06-04 12:27:30.876 [warning] Settings pattern "security." doesn't match any settings 2023-06-04 12:27:31.680 [info] [perf] Render performance baseline is 29ms 2023-06-04 12:27:32.219 [warning] Settings pattern "security.*" doesn't match any settings 2023-06-04 12:27:54.036 [error] IsADirectoryError: [Errno 21] Is a directory: '/': Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:27:58.809 [error] IsADirectoryError: [Errno 21] Is a directory: '/': Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:28:15.203 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated. 2023-06-04 12:28:15.205 [info] Automatically restarting the extension host. 2023-06-04 12:28:17.662 [error] IsADirectoryError: [Errno 21] Is a directory: '/': Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:28:19.385 [error] IsADirectoryError: [Errno 21] Is a directory: '/': Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:29:46.905 [error] IsADirectoryError: [Errno 21] Is a directory: '/': Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:30:26.291 [info] UNRESPONSIVE extension host: starting to profile NOW 2023-06-04 12:30:31.423 [warning] UNRESPONSIVE extension host: 'ms-python.python' took 83.23181383015552% of 4183.474ms, saved PROFILE here: 'file:///var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/exthost-332c29.cpuprofile’

MAIN:

2023-06-04 12:27:25.304 [info] update#setState idle 2023-06-04 12:27:55.309 [info] update#setState checking for updates 2023-06-04 12:27:55.738 [info] update#setState idle 2023-06-04 12:28:15.094 [info] Extension host with pid 7386 exited with code: 6, signal: unknown. 2023-06-04 12:28:15.095 [error] [UtilityProcess id: 1, type: extensionHost, pid: 7386]: crashed with code 6 and reason ‘crashed'

EXTENSION HOST:

2023-06-04 12:27:28.485 [info] Extension host with pid 7386 started 2023-06-04 12:27:28.485 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/9b3868f31889efb2221e33472b7c387e. 2023-06-04 12:27:28.565 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2023-06-04 12:27:28.573 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python', root cause: ms-python.black-formatter 2023-06-04 12:27:28.651 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python' 2023-06-04 12:27:28.724 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2023-06-04 12:27:29.245 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter 2023-06-04 12:27:29.259 [info] ExtensionService#_doActivateExtension ms-python.black-formatter, startup: false, activationEvent: 'onLanguage:python' 2023-06-04 12:27:29.274 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python' 2023-06-04 12:27:29.578 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '', root cause: vscode.git 2023-06-04 12:27:29.583 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '' 2023-06-04 12:27:29.717 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2023-06-04 12:27:29.780 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '' 2023-06-04 12:27:29.823 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2023-06-04 12:27:30.296 [info] Eager extensions activated 2023-06-04 12:27:30.450 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2023-06-04 12:27:30.453 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2023-06-04 12:27:54.035 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:27:54.035 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:27:54.689 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:27:54.689 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:27:55.891 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-04 12:27:55.897 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-04 12:27:58.808 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:27:58.808 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:28:15.754 [info] Extension host with pid 7561 started 2023-06-04 12:28:15.754 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/9b3868f31889efb2221e33472b7c387e. 2023-06-04 12:28:15.795 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2023-06-04 12:28:15.805 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python', root cause: ms-python.black-formatter 2023-06-04 12:28:15.868 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python' 2023-06-04 12:28:15.918 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2023-06-04 12:28:15.928 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2023-06-04 12:28:15.943 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git 2023-06-04 12:28:15.945 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:' 2023-06-04 12:28:15.951 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-04 12:28:15.955 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-04 12:28:16.257 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git' 2023-06-04 12:28:16.390 [info] ExtensionService#_doActivateExtension ms-python.black-formatter, startup: false, activationEvent: 'onLanguage:python' 2023-06-04 12:28:16.406 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python' 2023-06-04 12:28:16.769 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2023-06-04 12:28:16.773 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '*' 2023-06-04 12:28:16.926 [info] Eager extensions activated 2023-06-04 12:28:16.932 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2023-06-04 12:28:16.934 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2023-06-04 12:28:17.660 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:28:17.660 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:28:19.384 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:28:19.384 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:29:46.904 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:29:46.904 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:30:45.203 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:30:45.204 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:30:59.140 [warning] ExtHostTextEditorOptions 'setCursorStyle' failed:' 2023-06-04 12:30:59.140 [warning] TextEditor(vs.editor.ICodeEditor:7,$model8) has been disposed 2023-06-04 12:31:08.850 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-04 12:31:08.850 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-04 12:31:08.853 [warning] TextEditor is closed/disposed 2023-06-04 12:31:08.853 [warning] TextEditor is closed/disposed 2023-06-04 12:31:08.853 [warning] TextEditor is closed/disposed

Any help greatly appreciated….

Best, Erik

On 1. Jun 2023, at 20:43, Stella @.***> wrote:

Hi @cydhhp https://github.com/cydhhp, thanks for reporting the issue. In order to address issues effectively, we aim to tackle one issue at a time. Could you please file a new issue at https://github.com/microsoft/vscode? Thanks.

@SchumErik https://github.com/SchumErik Could you try switching the python language server to Jedi and see if you're still experiencing the same crash? Thanks.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-jupyter/issues/13651, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACU53IBBKHQS3VFJXV5T6UTXJDPETANCNFSM6AAAAAAYWEADTU. You are receiving this because you were mentioned.

luabud commented 1 year ago

@karthiknadig given this repro's with Jedi, could it be a Python extension issue?

karthiknadig commented 1 year ago

@SchumErik Can you use the steps described here to figure out the exact extension causing the issue: https://code.visualstudio.com/blogs/2021/02/16/extension-bisect#_welcome-extension-bisect

SchumErik commented 1 year ago

Hello Karthik,Not sure if this helps - tried this several times, and eventually the bisection switches off the Jupiter extension, which means interactive mode does not work anymore (in particular starting an interactive window from a python script with cells starting with # %%), and I no longer can reproduce the problem… Any suggestion how to deal with this (maybe it is the jupyter extension….) Aside from the Jupyter extension I only use the black, pylance and VIM extensions…sent from my mobile device - please excuse brevity and typosOn 5. Jun 2023, at 22:56, Karthik Nadig @.***> wrote: @SchumErik Can you use the steps described here to figure out the exact extension causing the issue: https://code.visualstudio.com/blogs/2021/02/16/extension-bisect#_welcome-extension-bisect

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

karthiknadig commented 1 year ago

@SchumErik I think that might be a clue that this this needs to be further investigated in jupyter extension. This might be triggering something that is causing the crash. I will move this issue there to see they can help find anything.

amunger commented 1 year ago

It seems like a lot of issues have come up in this thread - what is the current behavior that you are experiencing? and when does it trigger? Does it only crash when running something in the interactive window, or just when the extension activates by opening a python file? Could you also provide the logs from the Jupyter extension by running Jupyter: show output and paste that content here if they are available.

SchumErik commented 1 year ago

@amunger The extension crashes only occur when I do a 'Run Cell' for the first time in a Python file. As discussed before, sometimes things work, sometimes this leads to repeat crashes of the extension server. Somehow I always get it to work, but I don't really know why... Once it works, no problems. Also: No problems w/ VSCode per se - files open, extensions work etc. Also: No problems with my Conda environments when I run Python code from the command line. It is only the initiation of an interactive window (which I love to work with....)

Here the output generated by Jupyter (before it crashed again and the output was deleted....):

Visual Studio Code (1.78.2, undefined, desktop) Jupyter Extension Version: 2023.4.1011241018. Python Extension Version: 2023.8.0. Platform: darwin (x64). No workspace folder opened. 09:25:54.549 [info] Start refreshing Kernel Picker (1686036354549) 09:25:54.551 [info] Not using Pylance 09:25:56.023 [info] Registering dummy command feature 09:25:57.368 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m pip list 09:25:58.802 [info] End refreshing Kernel Picker (1686036354549) 09:30:13.287 [info] Loading webview. View is notset 09:30:13.288 [info] Loading web view... 09:30:13.289 [info] Webview panel created. 09:30:13.562 [info] Web view react rendered 09:30:17.575 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0746466cc7a1095553910325fa17b49b8d13ff90204a7f5c0591848d27e0ec975.~/anaconda3/envs/for311/python.~/anaconda3/envs/for311/python.-m#ipykernel_launcher (Python Path: ~/anaconda3/envs/for311/bin/python, Conda, for311, 3.11.3) for '/Interactive-1.interactive' (disableUI=false) 09:30:17.591 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 09:30:17.636 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9018 --control=9016 --hb=9015 --Session.signature_scheme="hmac-sha256" --Session.key=b"ba98a0e6-d96a-49c6-b811-9fa3e446ba93" --shell=9017 --transport="tcp" --iopub=9019 --f=~/Library/Jupyter/runtime/kernel-v2-17661PgLKZ0XvLslB.json

cwd: ~/antnik_code/BaySF/BaySF_Analyse 09:30:17.920 [info] ipykernel version & path 6.19.2, ~/anaconda3/envs/for311/lib/python3.11/site-packages/ipykernel/init.py for ~/anaconda3/envs/for311/bin/python 09:30:18.531 [warn] StdErr from Kernel Process This version of python seems to be incorrectly compiled (internal generated filenames are not absolute). This may make the debugger miss breakpoints. Related bug: http://bugs.python.org/issue1666807 09:30:18.829 [info] Started Kernel for311 (Python 3.11.3) (pid: 17796) 09:30:18.829 [info] Started new session 83461c37-7601-419b-af8f-5aea43f52d6b 09:30:18.922 [info] Process Execution: ~/anaconda3/envs/for311/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/pythonFiles/printJupyterDataDir.py 09:30:18.927 [info] Generated code for 1 = with 84 lines 09:30:18.970 [warn] Got a non-existent Jupyer Data Dir file://~/.local/share/jupyter

... and here again:

Visual Studio Code (1.78.2, undefined, desktop) Jupyter Extension Version: 2023.4.1011241018. Python Extension Version: 2023.8.0. Platform: darwin (x64). No workspace folder opened. 09:25:54.549 [info] Start refreshing Kernel Picker (1686036354549) 09:25:54.551 [info] Not using Pylance 09:25:56.023 [info] Registering dummy command feature 09:25:57.368 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m pip list 09:25:58.802 [info] End refreshing Kernel Picker (1686036354549) 09:30:13.287 [info] Loading webview. View is notset 09:30:13.288 [info] Loading web view... 09:30:13.289 [info] Webview panel created. 09:30:13.562 [info] Web view react rendered 09:30:17.575 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0746466cc7a1095553910325fa17b49b8d13ff90204a7f5c0591848d27e0ec975.~/anaconda3/envs/for311/python.~/anaconda3/envs/for311/python.-m#ipykernel_launcher (Python Path: ~/anaconda3/envs/for311/bin/python, Conda, for311, 3.11.3) for '/Interactive-1.interactive' (disableUI=false) 09:30:17.591 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 09:30:17.636 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9018 --control=9016 --hb=9015 --Session.signature_scheme="hmac-sha256" --Session.key=b"ba98a0e6-d96a-49c6-b811-9fa3e446ba93" --shell=9017 --transport="tcp" --iopub=9019 --f=~/Library/Jupyter/runtime/kernel-v2-17661PgLKZ0XvLslB.json

cwd: ~/antnik_code/BaySF/BaySF_Analyse 09:30:17.920 [info] ipykernel version & path 6.19.2, ~/anaconda3/envs/for311/lib/python3.11/site-packages/ipykernel/init.py for ~/anaconda3/envs/for311/bin/python 09:30:18.531 [warn] StdErr from Kernel Process This version of python seems to be incorrectly compiled (internal generated filenames are not absolute). This may make the debugger miss breakpoints. Related bug: http://bugs.python.org/issue1666807 09:30:18.829 [info] Started Kernel for311 (Python 3.11.3) (pid: 17796) 09:30:18.829 [info] Started new session 83461c37-7601-419b-af8f-5aea43f52d6b 09:30:18.922 [info] Process Execution: ~/anaconda3/envs/for311/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/pythonFiles/printJupyterDataDir.py 09:30:18.927 [info] Generated code for 1 = with 84 lines 09:30:18.970 [warn] Got a non-existent Jupyer Data Dir file://~/.local/share/jupyter

amunger commented 1 year ago

Thanks for the recap (and sticking with us for so long to help fix this)

From the log message Error: IsADirectoryError: [Errno 21] Is a directory: '/', and also No workspace folder opened., my first guess is that something is going wrong with this workaround.

Opening a workspace should resolve that (File: Open Folder...), and I see you mentioned that in a previous comment as something that may have helped, so worth a try.

What do you have for the setting jupyter.interactiveWindow.creationMode? Changing that might also help.

I'll keep looking to see if I find anything else suspicious

SchumErik commented 1 year ago

now I have a workspace - same issue....

EXTENSION HOST LOG:

2023-06-06 21:50:09.410 [info] Extension host with pid 23308 started 2023-06-06 21:50:09.410 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/764e5b66e6a40ab27cfbb9e538a91a4e. 2023-06-06 21:50:09.424 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2023-06-06 21:50:09.433 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python', root cause: ms-python.black-formatter 2023-06-06 21:50:09.505 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python' 2023-06-06 21:50:09.574 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2023-06-06 21:50:09.591 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2023-06-06 21:50:09.603 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git 2023-06-06 21:50:09.958 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter 2023-06-06 21:50:09.994 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git' 2023-06-06 21:50:10.044 [info] ExtensionService#_doActivateExtension ms-python.black-formatter, startup: false, activationEvent: 'onLanguage:python' 2023-06-06 21:50:10.060 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python' 2023-06-06 21:50:10.410 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2023-06-06 21:50:10.414 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '' 2023-06-06 21:50:10.571 [info] Eager extensions activated 2023-06-06 21:50:10.659 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2023-06-06 21:50:10.661 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2023-06-06 21:50:30.199 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:30.199 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:30.902 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-06 21:50:30.908 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-06 21:50:45.941 [info] Extension host with pid 23433 started 2023-06-06 21:50:45.941 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/764e5b66e6a40ab27cfbb9e538a91a4e. 2023-06-06 21:50:45.953 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2023-06-06 21:50:45.961 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python', root cause: ms-python.black-formatter 2023-06-06 21:50:46.025 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python' 2023-06-06 21:50:46.086 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2023-06-06 21:50:46.101 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2023-06-06 21:50:46.119 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git 2023-06-06 21:50:46.122 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:' 2023-06-06 21:50:46.126 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-06 21:50:46.131 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-06 21:50:46.431 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git' 2023-06-06 21:50:46.551 [info] ExtensionService#_doActivateExtension ms-python.black-formatter, startup: false, activationEvent: 'onLanguage:python' 2023-06-06 21:50:46.567 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python' 2023-06-06 21:50:46.939 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2023-06-06 21:50:46.945 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '*' 2023-06-06 21:50:47.064 [info] Eager extensions activated 2023-06-06 21:50:47.075 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2023-06-06 21:50:47.079 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2023-06-06 21:50:47.995 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:47.996 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:48.051 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:48.051 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:48.602 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:48.602 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:49.018 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:49.018 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:49.636 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:49.636 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:49.811 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:49.811 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:49.841 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:49.841 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:50.303 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:50.303 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:52.009 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:52.009 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-06 21:50:55.219 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-06 21:50:55.219 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21)

JUPYTER:

Visual Studio Code (1.78.2, undefined, desktop) Jupyter Extension Version: 2023.4.1011241018. Python Extension Version: 2023.8.0. Platform: darwin (x64). Workspace folder ~/antnik_code/BaySF/BaySF_Analyse, Home = /Users/Erik 21:50:46.368 [info] Start refreshing Kernel Picker (1686081046368) 21:50:46.376 [info] Not using Pylance 21:50:47.968 [info] Registering dummy command feature 21:50:49.050 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m pip list 21:50:50.374 [info] End refreshing Kernel Picker (1686081046368) 21:50:54.930 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0746466cc7a1095553910325fa17b49b8d13ff90204a7f5c0591848d27e0ec975.~/anaconda3/envs/for311/python.~/anaconda3/envs/for311/python.-m#ipykernel_launcher (Python Path: ~/anaconda3/envs/for311/bin/python, Conda, for311, 3.11.3) for '/Interactive-1.interactive' (disableUI=false) 21:50:54.952 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 21:50:55.050 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9063 --control=9061 --hb=9060 --Session.signature_scheme="hmac-sha256" --Session.key=b"dc1d10fa-ee5f-450a-bc2b-49db0dccff21" --shell=9062 --transport="tcp" --iopub=9064 --f=~/Library/Jupyter/runtime/kernel-v2-234330xgv6bn91zmw.json

cwd: ~/antnik_code/BaySF/BaySF_Analyse 21:50:55.318 [info] ipykernel version & path 6.19.2, ~/anaconda3/envs/for311/lib/python3.11/site-packages/ipykernel/init.py for ~/anaconda3/envs/for311/bin/python 21:50:56.097 [warn] StdErr from Kernel Process This version of python seems to be incorrectly compiled (internal generated filenames are not absolute). This may make the debugger miss breakpoints. Related bug: http://bugs.python.org/issue1666807 21:50:56.243 [warn] StdErr from Kernel Process ~/anaconda3/envs/for311/lib/python3.11/site-packages/traitlets/traitlets.py:2544: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5. warn( 21:50:56.244 [warn] StdErr from Kernel Process ~/anaconda3/envs/for311/lib/python3.11/site-packages/traitlets/traitlets.py:2495: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'dc1d10fa-ee5f-450a-bc2b-49db0dccff21' instead of 'b"dc1d10fa-ee5f-450a-bc2b-49db0dccff21"'. warn( 21:50:56.440 [info] Started Kernel for311 (Python 3.11.3) (pid: 23551) 21:50:56.440 [info] Started new session 47a18b2c-2851-4be3-941f-16fa7c87e56f 21:50:56.550 [info] Process Execution: ~/anaconda3/envs/for311/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/pythonFiles/printJupyterDataDir.py 21:50:56.553 [info] Generated code for 1 = with 84 lines 21:50:56.589 [warn] Got a non-existent Jupyer Data Dir file://~/.local/share/jupyter

SchumErik commented 1 year ago

here is the setting you were asking about:

"jupyter.interactiveWindow.creationMode": "perFile"

SchumErik commented 1 year ago

here my entire settings.json:

{ "[python]": { "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true },
"workbench.colorTheme": "Default Light Modern", "terminal.integrated.inheritEnv": false, "files.autoSave": "afterDelay", "vim.useSystemClipboard": true, "python.defaultInterpreterPath": "/Users/Erik/anaconda3/envs/for311", "python.formatting.provider": "black", "git.openRepositoryInParentFolders": "never", "python.languageServer": "Jedi", "jupyter.interactiveWindow.creationMode": "perFile" }

SchumErik commented 1 year ago

@amunger : Thanks for looking into this!!!

amunger commented 1 year ago

Can you check if this also repro's when just running a notebook cell? Create: new Jupyter notebook and run a simple cell against the same kernel/interpreter that you were trying to use for the Interactive Window.

DonJayamanne commented 1 year ago

@SchumErik A few questions, sorry if you have already answered this.

The extension crashes only occur when I do a 'Run Cell' for the first time in a Python file. As discussed before, sometimes things work, sometimes this leads to repeat crashes of the extension server. Somehow I always get it to work, but I don't really know why... Once it works, no problems. Also: No problems w/ VSCode per se It is only the initiation of an interactive window (which I love to work with....)

  1. Please confirm that you can never run anything with the Interactive Window I'm asking as you've indicated that sometimes things work, hence would like a confirmation whether using Interactive Window works sometimes instead of always failing
  2. Does this issue repro in all workspace folders?
  3. Your Python environment is a Conda Enviornment named for311
    • Please can you create a new Conda environment for Python 3.10 and check if that works. Here's the command to create a new conda env for Python 3.10 conda create -y -n for310 python=python3.10
    • Once you have created this new Conda Env for Python 3.10 please select this as your active interpreter using the command Python: Select Interpreter and then re-load VS Code.
    • Finally, once you test this please do share the Jupyter logs again (I understand that it will be partial, but thats ok)
SchumErik commented 1 year ago

@DonJayamanne

Thanks for getting involved!!

Here your answers:

  1. No, that is not correct. - It is only at the beginning that (MOST) of the times it does not work. Eventually I was always able to work something out (restarting interactive window, reopening file, restarting VSCode etc...) and I got it to work. Once it works it works (including showing Jupyter variables etc.)
  2. Yes
  3. Did create the new environment for310, encountered the same issue and eventually got it to work again....

Here the Jupyter log (it failed once, extensions reloaded and then it worked fine):

Visual Studio Code (1.78.2, undefined, desktop) Jupyter Extension Version: 2023.4.1011241018. Python Extension Version: 2023.8.0. Platform: darwin (x64). Workspace folder ~/Kaggle/Google_Kickstart/G_2022, Home = /Users/Erik 18:15:00.502 [info] Start refreshing Kernel Picker (1686154500502) 18:15:00.505 [info] Not using Pylance 18:15:02.053 [info] Registering dummy command feature 18:15:03.271 [info] Process Execution: ~/anaconda3/envs/for310/bin/python -m pip list 18:15:03.994 [info] End refreshing Kernel Picker (1686154500502) 18:15:26.529 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0234c27d183e20878220dcccc1b519b6b2a64eb950270229e9bec5eadeda6b13a.~/anaconda3/envs/for310/python.~/anaconda3/envs/for310/python.-m#ipykernel_launcher (Python Path: ~/anaconda3/envs/for310/bin/python, Conda, for310, 3.10.0) for '/Interactive-1.interactive' (disableUI=false) 18:15:27.591 [info] Process Execution: ~/anaconda3/envs/for310/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 18:15:27.593 [info] Process Execution: ~/anaconda3/envs/for310/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9088 --control=9086 --hb=9085 --Session.signature_scheme="hmac-sha256" --Session.key=b"67d5f346-b4e7-4624-bd71-412c30563999" --shell=9087 --transport="tcp" --iopub=9089 --f=~/Library/Jupyter/runtime/kernel-v2-33055wNbGhZYzfXLn.json

cwd: ~/Kaggle/Google_Kickstart/G_2022 18:15:27.825 [info] ipykernel version & path 6.23.1, ~/anaconda3/envs/for310/lib/python3.10/site-packages/ipykernel/init.py for ~/anaconda3/envs/for310/bin/python 18:15:28.645 [info] Started Kernel for310 (Python 3.10.0) (pid: 33224) 18:15:28.645 [info] Started new session 58ff758f-a91d-4a3b-be7f-9227886eef51 18:15:28.710 [info] Process Execution: ~/anaconda3/envs/for310/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/pythonFiles/printJupyterDataDir.py 18:15:28.731 [warn] Got a non-existent Jupyer Data Dir file://~/.local/share/jupyter \

Then I tried to replicate. I closed VScode, opened it again, opened the file and did a 'run cell'. Again, the code ran, the extension server crashed, I pressed again on 'run cell' and then it worked...

EXTENSION HOST LOG 2023-06-07 18:21:07.937 [info] Extension host with pid 33370 started 2023-06-07 18:21:07.937 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/c95987bb069f11c2a43e807fda847c1b. 2023-06-07 18:21:08.002 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2023-06-07 18:21:08.027 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2023-06-07 18:21:08.095 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '', root cause: vscode.git 2023-06-07 18:21:08.097 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '' 2023-06-07 18:21:08.200 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '' 2023-06-07 18:21:08.227 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2023-06-07 18:21:08.263 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2023-06-07 18:21:08.363 [info] ExtensionService#_doActivateExtension ms-python.python, startup: true, activationEvent: 'workspaceContains:.py', root cause: ms-python.black-formatter 2023-06-07 18:21:08.538 [info] ExtensionService#_doActivateExtension ms-python.black-formatter, startup: true, activationEvent: 'workspaceContains:.py' 2023-06-07 18:21:08.554 [info] Eager extensions activated 2023-06-07 18:21:08.573 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2023-06-07 18:21:08.576 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2023-06-07 18:21:10.384 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python' 2023-06-07 18:21:10.557 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python' 2023-06-07 18:21:10.941 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter 2023-06-07 18:21:21.116 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-07 18:21:21.116 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-07 18:21:21.581 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-07 18:21:21.588 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-07 18:21:31.747 [info] Extension host with pid 33478 started 2023-06-07 18:21:31.747 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/c95987bb069f11c2a43e807fda847c1b. 2023-06-07 18:21:31.785 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' 2023-06-07 18:21:31.801 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage' 2023-06-07 18:21:31.808 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' 2023-06-07 18:21:31.823 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python', root cause: ms-python.black-formatter 2023-06-07 18:21:31.884 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python' 2023-06-07 18:21:31.964 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:' 2023-06-07 18:21:31.970 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-07 18:21:31.975 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown' 2023-06-07 18:21:32.005 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: false, activationEvent: 'onCommand:type' 2023-06-07 18:21:32.420 [info] ExtensionService#_doActivateExtension ms-python.black-formatter, startup: false, activationEvent: 'onLanguage:python' 2023-06-07 18:21:32.432 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python' 2023-06-07 18:21:32.661 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '', root cause: vscode.git 2023-06-07 18:21:32.670 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '' 2023-06-07 18:21:32.698 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '' 2023-06-07 18:21:32.861 [info] Eager extensions activated 2023-06-07 18:21:32.871 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished' 2023-06-07 18:21:32.874 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' 2023-06-07 18:21:33.582 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-07 18:21:33.582 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-07 18:21:35.655 [error] [ms-toolsai.jupyter] provider FAILED 2023-06-07 18:21:35.656 [error] Error: IsADirectoryError: [Errno 21] Is a directory: '/' at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:775869 at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776163 at Immediate. (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/out/extension.node.js:2:776525) at process.processImmediate (node:internal/timers:466:21) 2023-06-07 18:22:19.935 [error] Error: spawn /usr/bin/git EMFILE at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:497:16) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) 2023-06-07 18:22:19.939 [error] Error: spawn /usr/bin/git EMFILE at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:497:16) at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

JUPYTER LOG

Visual Studio Code (1.78.2, undefined, desktop) Jupyter Extension Version: 2023.4.1011241018. Python Extension Version: 2023.8.0. Platform: darwin (x64). Workspace folder ~/Kaggle/Google_Kickstart/G_2022, Home = /Users/Erik 18:21:32.293 [info] Start refreshing Kernel Picker (1686154892293) 18:21:32.296 [info] Not using Pylance 18:21:33.566 [info] Registering dummy command feature 18:21:34.632 [info] Process Execution: ~/anaconda3/envs/for310/bin/python -m pip list 18:21:35.786 [info] End refreshing Kernel Picker (1686154892293) 18:21:52.392 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0234c27d183e20878220dcccc1b519b6b2a64eb950270229e9bec5eadeda6b13a.~/anaconda3/envs/for310/python.~/anaconda3/envs/for310/python.-m#ipykernel_launcher (Python Path: ~/anaconda3/envs/for310/bin/python, Conda, for310, 3.10.0) for '/Interactive-1.interactive' (disableUI=false) 18:21:53.456 [info] Process Execution: ~/anaconda3/envs/for310/bin/python -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 18:21:53.458 [info] Process Execution: ~/anaconda3/envs/for310/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9093 --control=9091 --hb=9090 --Session.signature_scheme="hmac-sha256" --Session.key=b"d36cc9e3-f87e-4839-ae39-01327c1f8150" --shell=9092 --transport="tcp" --iopub=9094 --f=~/Library/Jupyter/runtime/kernel-v2-33478YRsZZEuCihc4.json

cwd: ~/Kaggle/Google_Kickstart/G_2022 18:21:53.746 [info] ipykernel version & path 6.23.1, ~/anaconda3/envs/for310/lib/python3.10/site-packages/ipykernel/init.py for ~/anaconda3/envs/for310/bin/python 18:21:54.301 [info] Started Kernel for310 (Python 3.10.0) (pid: 33598) 18:21:54.301 [info] Started new session c6d1aabb-dcfe-42b7-9e67-d84fc8623f6c 18:21:54.346 [info] Process Execution: ~/anaconda3/envs/for310/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2023.4.1011241018-darwin-x64/pythonFiles/printJupyterDataDir.py 18:21:54.377 [warn] Got a non-existent Jupyer Data Dir file://~/.local/share/jupyter

amunger commented 1 year ago

the stack trace from the window actually points to code in the langauge server here https://github.com/microsoft/vscode-languageserver-node/blob/43b7c7265de6b0662cfe58576c9d7b894a946ce3/jsonrpc/src/common/connection.ts#L1018

But it's pretty generic error handler code, so still not clear where it's coming from, but I do see some log statements there.

@SchumErik - could you repro the issue, then run Developer: Open Logs Folder and try to find a "Python Language Server.log" file there and post the content if you find it.

Also, some of your earlier window logs showed that it took a cpu profile: saved PROFILE here: 'file:///var/folders/f2/28b0gjr94d30gxt79tc_qrsh0000gn/T/exthost-332c29.cpuprofile’ Is that still getting collected, and can you share it if so? I don't think the older ones would be useful anymore since they were likely from previous issues.

SchumErik commented 11 months ago

@amunger - sorry it took a while, but I am now ready to continue my quest. in the meantime I had no coding work, but now I would like to use Vscode again.. I upgraded to Apple Sonoma, hoping this would fix it - however, the problem is still the same. Used Google Colab for some urgent work during the week, but really need VSCode to work. I did a complete erase of VSCode on my Mac and fresh reinstall, loading only the python extension and jupyter extension. I tried to start a jupyter notebook with Create: new Jupyter notebook, as you suggested earlier. Unfortunately the same result. The environment loads, the cell was correctly executed and then the extension server crashed again. Interesting that when I tried this again, it would not even let me restart, but the following error message came: image

SchumErik commented 11 months ago

Here some other messages:

Python:

2023-09-30 12:55:52.023 [info] Experiment 'python.createEnvironment.trigger' is active
2023-09-30 12:55:52.023 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-30 12:55:52.023 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-30 12:55:52.233 [info] Test server listening.
2023-09-30 12:55:52.278 [info] > conda info --json
2023-09-30 12:55:52.279 [info] VS Code was launched from an activated environment: 'for311', selecting it as the interpreter for workspace.
2023-09-30 12:55:52.279 [info] Python interpreter path: ~/anaconda3/envs/for311/bin/python
2023-09-30 12:55:52.644 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2023-09-30 12:55:52.931 [info] Found: /usr/local/bin/python3 --> /usr/local/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2023-09-30 12:55:52.946 [info] Found: /usr/local/bin/python3.10 --> /usr/local/Cellar/python@3.10/3.10.12_1/Frameworks/Python.framework/Versions/3.10/bin/python3.10
2023-09-30 12:55:52.953 [info] > ~/.virtualenvs/TestPipenv-7_csW2aw/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:52.953 [info] Found: /usr/local/bin/python3.11 --> /usr/local/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2023-09-30 12:55:52.955 [info] Found: /usr/local/bin/python3.8 --> /usr/local/Cellar/python@3.8/3.8.17_1/Frameworks/Python.framework/Versions/3.8/bin/python3.8
2023-09-30 12:55:52.957 [info] Found: /usr/local/bin/python3.9 --> /usr/local/Cellar/python@3.9/3.9.17_1/Frameworks/Python.framework/Versions/3.9/bin/python3.9
2023-09-30 12:55:52.961 [info] > ~/.local/share/virtualenvs/TestPipenv-7_csW2aw/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:53.217 [info] Found: /Users/Erik/anaconda3/envs/for311/bin/python --> /Users/Erik/anaconda3/envs/for311/bin/python3.11
2023-09-30 12:55:53.221 [info] Found: /Users/Erik/anaconda3/envs/for311/bin/python3 --> /Users/Erik/anaconda3/envs/for311/bin/python3.11
2023-09-30 12:55:53.221 [info] Found: /Users/Erik/anaconda3/envs/for311/bin/python3.1 --> /Users/Erik/anaconda3/envs/for311/bin/python3.11
2023-09-30 12:55:53.221 [info] Found: /Users/Erik/anaconda3/envs/for311/bin/python3.11 --> /Users/Erik/anaconda3/envs/for311/bin/python3.11
2023-09-30 12:55:53.252 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:53.312 [info] > /usr/local/bin/python3 -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:53.421 [info] > /usr/local/bin/python3.10 -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:53.676 [info] > /usr/local/bin/python3.8 -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:53.691 [info] > /usr/local/bin/python3.9 -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.364 [info] > conda run -n for311 --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/printEnvVariables.py
2023-09-30 12:55:54.364 [info] shell: bash
2023-09-30 12:55:54.368 [info] > ~/anaconda3/envs/for311/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.373 [info] > ~/anaconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.433 [info] > ~/anaconda3/envs/acoustic38/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.549 [info] > ~/anaconda3/envs/audeering37/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.558 [info] > ~/anaconda3/envs/audeering38/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.650 [info] > ~/anaconda3/envs/dashboard/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.663 [info] > ~/anaconda3/envs/edwards/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.754 [info] > ~/anaconda3/envs/fmc/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.788 [info] > ~/anaconda3/envs/for310/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.905 [info] > ~/anaconda3/envs/google/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:54.950 [info] > ~/anaconda3/envs/google35/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.008 [info] > ~/anaconda3/envs/google37/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.031 [info] > ~/anaconda3/envs/gps_exif/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.110 [info] > ~/anaconda3/envs/hd_data/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.120 [info] > ~/anaconda3/envs/idalab36/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.236 [info] > ~/anaconda3/envs/invest311/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.321 [info] > ~/anaconda3/envs/invest37/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.413 [info] > ~/anaconda3/envs/invest38/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.472 [info] > ~/anaconda3/envs/lang311/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.556 [info] > ~/anaconda3/envs/pyagrum/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.587 [info] > ~/anaconda3/envs/qtpy38/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.662 [info] > ~/anaconda3/envs/quantum/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.667 [info] > ~/anaconda3/envs/scrape311/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.753 [info] > ~/anaconda3/envs/sim37/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.764 [info] > ~/anaconda3/envs/stream1/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.834 [info] > ~/anaconda3/envs/stream2/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.898 [info] > ~/anaconda3/envs/stream_ai/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:55.971 [info] > ~/anaconda3/envs/streamchat311/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.006 [info] > ~/anaconda3/envs/streamlit/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.069 [info] > ~/anaconda3/envs/tensor36/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.096 [info] > ~/anaconda3/envs/test/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.151 [info] > ~/anaconda3/envs/test311/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.198 [info] > ~/anaconda3/envs/test_env/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.251 [info] > ~/anaconda3/envs/voila37/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:56.265 [info] > ~/anaconda3/envs/voila38/bin/python -I ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/interpreterInfo.py
2023-09-30 12:55:58.059 [info] Starting Pylance language server.
2023-09-30 12:58:02.917 [info] > conda run -n for311 --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/printEnvVariables.py
2023-09-30 12:58:02.917 [info] shell: bash
2023-09-30 12:58:15.389 [info] Experiment 'python.createEnvironment.trigger' is active
2023-09-30 12:58:15.391 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-30 12:58:15.391 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-30 12:58:15.447 [info] Test server listening.
2023-09-30 12:58:15.476 [info] VS Code was launched from an activated environment: 'for311', selecting it as the interpreter for workspace.
2023-09-30 12:58:15.478 [info] Python interpreter path: ~/anaconda3/envs/for311/bin/python
2023-09-30 12:58:16.567 [info] > conda info --json
2023-09-30 12:58:17.404 [info] > conda run -n for311 --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/printEnvVariables.py
2023-09-30 12:58:17.404 [info] shell: bash
2023-09-30 12:58:17.404 [info] > conda run -n for311 --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/printEnvVariables.py
2023-09-30 12:58:17.404 [info] shell: bash
2023-09-30 12:58:17.668 [info] Starting Pylance language server.
2023-09-30 12:58:36.104 [info] Experiment 'python.createEnvironment.trigger' is active
2023-09-30 12:58:36.104 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-30 12:58:36.104 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-30 12:58:36.166 [info] Test server listening.
2023-09-30 12:58:36.296 [info] VS Code was launched from an activated environment: 'for311', selecting it as the interpreter for workspace.
2023-09-30 12:58:36.297 [info] Python interpreter path: ~/anaconda3/envs/for311/bin/python
2023-09-30 12:58:37.219 [info] > conda info --json
2023-09-30 12:58:38.064 [info] > conda run -n for311 --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/printEnvVariables.py
2023-09-30 12:58:38.064 [info] shell: bash
2023-09-30 12:58:38.064 [info] > conda run -n for311 --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.16.0/pythonFiles/printEnvVariables.py
2023-09-30 12:58:38.064 [info] shell: bash
2023-09-30 12:58:38.312 [info] Starting Pylance language server.

main:

2023-09-30 09:15:31.443 [info] update#setState idle
2023-09-30 09:15:54.298 [info] Extension host with pid 5064 exited with code: 6, signal: unknown.
2023-09-30 09:15:54.299 [error] [UtilityProcess id: 1, type: extensionHost, pid: 5064]: crashed with code 6 and reason 'crashed'
2023-09-30 09:16:01.446 [info] update#setState checking for updates
2023-09-30 09:16:01.782 [info] update#setState idle
2023-09-30 09:19:06.351 [info] Extension host with pid 5191 exited with code: 0, signal: unknown.
2023-09-30 09:19:06.408 [error] [UtilityProcess id: 2, type: extensionHost, pid: 5191]: crashed with code 6 and reason 'crashed'
2023-09-30 10:16:01.439 [info] update#setState checking for updates
2023-09-30 10:16:01.631 [info] update#setState idle
2023-09-30 11:02:29.990 [warning] No ptyHost heartbeat after 6 seconds
2023-09-30 11:16:01.417 [info] update#setState checking for updates
2023-09-30 11:16:01.622 [info] update#setState idle
2023-09-30 12:29:10.768 [info] update#setState checking for updates
2023-09-30 12:29:11.876 [info] update#setState idle
2023-09-30 12:35:26.896 [warning] No ptyHost heartbeat after 6 seconds
2023-09-30 12:55:55.282 [info] Extension host with pid 5418 exited with code: 0, signal: unknown.
2023-09-30 12:58:14.445 [info] Extension host with pid 8169 exited with code: 0, signal: unknown.
2023-09-30 12:58:14.494 [error] [UtilityProcess id: 4, type: extensionHost, pid: 8169]: crashed with code 6 and reason 'crashed'
2023-09-30 12:58:35.204 [info] Extension host with pid 8369 exited with code: 0, signal: unknown.
2023-09-30 12:58:35.255 [error] [UtilityProcess id: 5, type: extensionHost, pid: 8369]: crashed with code 6 and reason 'crashed'
2023-09-30 12:58:49.137 [info] Extension host with pid 8446 exited with code: 0, signal: unknown.
2023-09-30 12:58:49.191 [error] [UtilityProcess id: 6, type: extensionHost, pid: 8446]: crashed with code 6 and reason 'crashed'
2023-09-30 13:05:44.429 [warning] No ptyHost heartbeat after 6 seconds
2023-09-30 13:07:42.043 [warning] No ptyHost heartbeat after 6 seconds
SchumErik commented 11 months ago

tried again, this time opening VSCode by running 'code' from a terminal window in which the python environment was already active. the code executes very very slow but does not crash. after a while it runs at normal speed. here some output:

Extension Host

2023-09-30 13:27:15.610 [info] Extension host with pid 8962 started
2023-09-30 13:27:15.610 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-09-30 13:27:15.684 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-09-30 13:27:15.737 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-09-30 13:27:15.754 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-09-30 13:27:15.796 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-09-30 13:27:15.909 [info] Eager extensions activated
2023-09-30 13:27:15.988 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-09-30 13:27:16.005 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-09-30 13:27:16.007 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-09-30 13:27:16.098 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-09-30 13:27:23.040 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onCommand:ipynb.newUntitledIpynb'
2023-09-30 13:27:23.065 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onNotebook:jupyter-notebook'
2023-09-30 13:27:23.123 [info] ExtensionService#_doActivateExtension ms-toolsai.vscode-jupyter-cell-tags, startup: false, activationEvent: 'onNotebook:jupyter-notebook'
2023-09-30 13:27:23.128 [info] ExtensionService#_doActivateExtension ms-toolsai.vscode-jupyter-slideshow, startup: false, activationEvent: 'onNotebook:jupyter-notebook'
2023-09-30 13:27:23.131 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:*'
2023-09-30 13:27:23.555 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter
2023-09-30 13:27:23.757 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python'
2023-09-30 13:27:47.479 [error] [ms-python.python] provider FAILED
2023-09-30 13:27:47.479 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:71965
    at _0x37c43d (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:83749)
    at async pe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:51158)
2023-09-30 13:28:26.860 [error] [ms-python.python] provider FAILED
2023-09-30 13:28:26.860 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:71965
    at _0x37c43d (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:83749)
    at async pe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:51158)

Jupyter:

Visual Studio Code (1.82.2, undefined, desktop)
Jupyter Extension Version: 2023.8.1002501831.
Python Extension Version: 2023.16.0.
Platform: darwin (x64).
Workspace folder ~/Kaggle/Google_Kickstart/G_2022, Home = /Users/Erik
13:27:23.161 [info] User belongs to experiment group 'NewJupyterSession'
13:27:23.517 [info] Start refreshing Kernel Picker (1696073243517)
13:27:23.524 [info] Using Pylance
13:27:24.904 [info] End refreshing Kernel Picker (1696073243517)
13:27:25.868 [warn] No interpreter for Pylance for Notebook URI "Untitled-1.ipynb"
13:27:26.784 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m pip list
13:27:32.783 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0746466cc7a1095553910325fa17b49b8d13ff90204a7f5c0591848d27e0ec975.~/anaconda3/envs/for311/python.~/anaconda3/envs/for311/python.-m#ipykernel_launcher  (Python Path: ~/anaconda3/envs/for311/bin/python, Conda, for311, 3.11.3) for 'Untitled-1.ipynb' (disableUI=true)
13:27:33.628 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
13:27:33.632 [info] Process Execution: ~/anaconda3/envs/for311/bin/python -m ipykernel_launcher --ip=127.0.0.1 --stdin=9033 --control=9031 --hb=9030 --Session.signature_scheme="hmac-sha256" --Session.key=b"4304085a-8a51-4588-88d4-f58ec60c0ad5" --shell=9032 --transport="tcp" --iopub=9034 --f=~/Library/Jupyter/runtime/kernel-v2-8962T2DWSEe4ecc4.json
    > cwd: ~/Kaggle/Google_Kickstart/G_2022
13:27:33.968 [info] ipykernel version & path 6.19.2, ~/anaconda3/envs/for311/lib/python3.11/site-packages/ipykernel/__init__.py for ~/anaconda3/envs/for311/bin/python
13:27:34.311 [warn] StdErr from Kernel Process This version of python seems to be incorrectly compiled
(internal generated filenames are not absolute).
This may make the debugger miss breakpoints.
Related bug: http://bugs.python.org/issue1666807
13:27:34.567 [info] Process Execution: ~/anaconda3/envs/for311/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/pythonFiles/printJupyterDataDir.py
13:27:34.592 [warn] Got a non-existent Jupyer Data Dir file://~/.local/share/jupyter
13:27:48.290 [info] Handle Execution of Cells 0 for Untitled-1.ipynb
13:27:48.768 [info] Kernel acknowledged execution of cell 0 @ 1696073268295
13:27:48.776 [info] End cell 0 execution @ 1696073268298, started @ 1696073268295, elapsed time = 0.003s
13:28:08.868 [info] Handle Execution of Cells 1 for Untitled-1.ipynb
13:28:09.349 [info] Kernel acknowledged execution of cell 1 @ 1696073288874
13:28:09.357 [info] End cell 1 execution @ 1696073288880, started @ 1696073288874, elapsed time = 0.006s
13:28:19.574 [info] Handle Execution of Cells 2 for Untitled-1.ipynb
13:28:20.056 [info] Kernel acknowledged execution of cell 2 @ 1696073299596
13:28:20.059 [info] End cell 2 execution @ 1696073299600, started @ 1696073299596, elapsed time = 0.004s
13:30:54.043 [info] Handle Execution of Cells 3 for Untitled-1.ipynb
13:30:54.052 [info] Kernel acknowledged execution of cell 3 @ 1696073454047
13:30:54.057 [info] End cell 3 execution @ 1696073454051, started @ 1696073454047, elapsed time = 0.004s
13:31:00.217 [info] Handle Execution of Cells 4 for Untitled-1.ipynb
13:31:00.223 [info] Kernel acknowledged execution of cell 4 @ 1696073460220
13:31:00.227 [info] End cell 4 execution @ 1696073460223, started @ 1696073460220, elapsed time = 0.003s

Extension Host:

2023-09-30 13:27:15.610 [info] Extension host with pid 8962 started
2023-09-30 13:27:15.610 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-09-30 13:27:15.684 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-09-30 13:27:15.737 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-09-30 13:27:15.754 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-09-30 13:27:15.796 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-09-30 13:27:15.909 [info] Eager extensions activated
2023-09-30 13:27:15.988 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-09-30 13:27:16.005 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-09-30 13:27:16.007 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-09-30 13:27:16.098 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-09-30 13:27:23.040 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onCommand:ipynb.newUntitledIpynb'
2023-09-30 13:27:23.065 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onNotebook:jupyter-notebook'
2023-09-30 13:27:23.123 [info] ExtensionService#_doActivateExtension ms-toolsai.vscode-jupyter-cell-tags, startup: false, activationEvent: 'onNotebook:jupyter-notebook'
2023-09-30 13:27:23.128 [info] ExtensionService#_doActivateExtension ms-toolsai.vscode-jupyter-slideshow, startup: false, activationEvent: 'onNotebook:jupyter-notebook'
2023-09-30 13:27:23.131 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:*'
2023-09-30 13:27:23.555 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter
2023-09-30 13:27:23.757 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python'
2023-09-30 13:27:47.479 [error] [ms-python.python] provider FAILED
2023-09-30 13:27:47.479 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:71965
    at _0x37c43d (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:83749)
    at async pe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:51158)
2023-09-30 13:28:26.860 [error] [ms-python.python] provider FAILED
2023-09-30 13:28:26.860 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:71965
    at _0x37c43d (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:83749)
    at async pe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:51158)

ANY HELP VERY MUCH APPRECIATED!!

amunger commented 11 months ago

It looks like the whole Extension Host is now crashing, rather than just the Jupyter extension.

2023-09-30 12:58:49.191 [error] [UtilityProcess id: 6, type: extensionHost, pid: 8446]: crashed with code 6 and reason 'crashed'

The error/stacktrace specific to this crash should be in either the Window log in the output panel or the developer tools console, available with Developer: toggle developer tools. Could you try looking there for that information?

For the last repro.

2023-09-30 13:27:47.479 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:71965
    at _0x37c43d (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.30/dist/extension.bundle.js:1:83749)
    at async pe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:51158)

It looks like Pylance was crashing and probably causing the slowness, and then the python extension either gave up or it started working. Were you still able to get intellisense in the notebook cells? Can you try disabling the Pylance extension and see if still misbehaves (aside from not getting full intellisense)

SchumErik commented 11 months ago

Hello @amunger - thanks so much for looking into this.

I tried loading with Rylance disabled, same problem.

I opened the developer tools as you suggested, 4 issues came up. Not sure if this is what you are looking for:

webviewElement.ts:512 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:512
log.ts:421  INFO [perf] Render performance baseline is 32ms
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/731c43db-0f1c-41c8-a403-ab9b49ab0147
console.ts:137 [Extension Host] Kernel: starting (731c43db-0f1c-41c8-a403-ab9b49ab0147)
localProcessExtensionHost.ts:283 Extension Host
localProcessExtensionHost.ts:284 Starting WebSocket: RAW/api/kernels/731c43db-0f1c-41c8-a403-ab9b49ab0147
Kernel: starting (731c43db-0f1c-41c8-a403-ab9b49ab0147)
localProcessExtensionHost.ts:283 Extension Host
localProcessExtensionHost.ts:284 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)[81059]: ../../third_party/electron_node/src/inspector_io.cc:288:void node::inspector::InspectorIo::ThreadMain(): Assertion `(err) == (0)' failed. 1: 0x125392115 node::Buffer::New(v8::Isolate*, char*, unsigned long) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework] 2: 0x125391e7f node::Buffer::New(v8::Isolate*, char*, unsigned long) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework] 3: 0x1254c445f node::SetTracingController(v8::TracingController*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework] 4: 0x7ff8049ea202 _pthread_start [/usr/lib/system/libsystem_pthread.dylib] 5: 0x7ff8049e5bab thread_start [/usr/lib/system/libsystem_pthread.dylib]
abstractExtensionService.ts:757 Extension host (LocalProcess) terminated unexpectedly. Code: 6, Signal: unknown
vb @ abstractExtensionService.ts:757
log.ts:441   ERR Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
log.ts:421  INFO Automatically restarting the extension host.
webWorkerExtensionHostIframe.html:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
webviewElement.ts:512 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:512
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/preload.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/markdown.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/builtinRendererHooks.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED

Here the window log:

2023-10-03 17:47:07.702 [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-10-03 17:47:09.576 [info] [perf] Render performance baseline is 34ms
2023-10-03 17:48:04.510 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-10-03 17:48:08.384 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-10-03 17:48:15.688 [info] UNRESPONSIVE extension host: starting to profile NOW
2023-10-03 17:48:16.097 [info] UNRESPONSIVE extension host: received responsive event and cancelling profiling session
2023-10-03 17:48:36.637 [info] [perf] Render performance baseline is 32ms
2023-10-03 17:48:52.822 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
2023-10-03 17:48:52.831 [info] Automatically restarting the extension host. 

Here the Extension Host log:

2023-10-03 17:47:04.641 [info] Extension host with pid 80866 started
2023-10-03 17:47:04.641 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-10-03 17:47:04.771 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onNotebookSerializer:interactive'
2023-10-03 17:47:04.780 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:47:04.865 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:47:04.980 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-03 17:47:05.491 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter
2023-10-03 17:47:05.671 [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:47:05.883 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-10-03 17:47:05.888 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '*'
2023-10-03 17:47:06.684 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-10-03 17:47:06.729 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-03 17:47:07.187 [info] Eager extensions activated
2023-10-03 17:47:07.499 [error] Error: ENOENT: no such file or directory, open '/Users/Erik/Library/Application Support/Code/User/globalStorage/vscodevim.vim/.registers'
2023-10-03 17:47:07.633 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-03 17:47:07.658 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-10-03 17:47:07.850 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-10-03 17:47:09.257 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-10-03 17:47:14.629 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-03 17:47:14.639 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-03 17:48:18.550 [error] [ms-python.python] provider FAILED
2023-10-03 17:48:18.551 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.20/dist/extension.bundle.js:1:131899
    at _0x243be6 (/Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.20/dist/extension.bundle.js:1:143640)
    at async pe.provideCompletionItems (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:51158)
2023-10-03 17:48:30.355 [info] Extension host terminating: renderer closed the MessagePort
2023-10-03 17:48:30.400 [error] Canceled: Canceled
    at new h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:57382)
    at i.O (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:10850)
    at j.<computed>.T.charCodeAt.j.<computed> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:8289)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82208)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at u.registerCommand.description (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:80967)
    at r.h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82744)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81739)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at Object.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:21247)
    at n.D [as value] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1309000)
    at m.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1902)
    at m.x (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1972)
    at m.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:2188)
    at Object.m [as dispose] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1324784)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1329625
    at Array.forEach (<anonymous>)
    at g.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1329611)
    at E.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:3484)
    at E.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:3581)
    at E.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1311012)
    at E.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:3581)
    at k (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:13:11730)
    at n.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:9652)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7585
    at Array.map (<anonymous>)
    at n.S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7572)
    at n.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7844)
    at o.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:1513)
    at D (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:9800)
    at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:6225)
    at MessagePortMain.emit (node:events:513:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367) setContext undefined
2023-10-03 17:48:30.400 [error] Canceled: Canceled
    at new h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:57382)
    at i.O (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:10850)
    at j.<computed>.T.charCodeAt.j.<computed> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:8289)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82208)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at u.registerCommand.description (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:80967)
    at r.h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82744)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81739)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at Object.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:21247)
    at set b [as b] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github/dist/extension.js:2:714434)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github/dist/extension.js:2:715075
    at n.value (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1396602)
    at m.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1902)
    at m.x (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1972)
    at m.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:2188)
    at Object.m [as dispose] (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1324784)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1329625
    at Array.forEach (<anonymous>)
    at g.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1329611)
    at E.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:3484)
    at E.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:3581)
    at E.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1311012)
    at E.dispose (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:103:3581)
    at k (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:13:11730)
    at n.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:9652)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7585
    at Array.map (<anonymous>)
    at n.S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7572)
    at n.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7844)
    at o.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:1513)
    at D (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:9800)
    at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:6225)
    at MessagePortMain.emit (node:events:513:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367) setContext undefined
2023-10-03 17:48:30.401 [error] Canceled: Canceled
    at new h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:57382)
    at i.O (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:10850)
    at j.<computed>.T.charCodeAt.j.<computed> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:8289)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82208)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at u.registerCommand.description (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:80967)
    at r.h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82744)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81739)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at Object.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:21247)
    at ku.executeCommand (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:7443)
    at nS.set (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:300572)
    at _k.updateContextOfActiveInteractiveWindowKernel (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:499035)
    at _k.onDidKernelStatusChange (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:499303)
    at m.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1902)
    at m.x (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1972)
    at m.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:2188)
    at pv.<anonymous> (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:39671)
    at m.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1902)
    at m.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:2119)
    at t (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:256540)
    at d (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:179126)
    at e.emit (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:178836)
    at e.emit (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:177086)
    at Py.shutdown (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:123759)
    at Py.disposeAsync (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:123370)
    at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:249730
    at Qg.dispose (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:249944)
    at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:1772561
    at Array.map (<anonymous>)
    at ic.dispose (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:1772551)
    at Module.Nx (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:651546)
    at n.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:9460)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7585
    at Array.map (<anonymous>)
    at n.S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7572)
    at n.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7844)
    at o.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:1513)
    at D (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:9800)
    at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:6225)
    at MessagePortMain.emit (node:events:513:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367) setContext undefined
2023-10-03 17:48:30.401 [error] Canceled: Canceled
    at new h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:57382)
    at i.O (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:10850)
    at j.<computed>.T.charCodeAt.j.<computed> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:116:8289)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82208)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at u.registerCommand.description (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:80967)
    at r.h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:82744)
    at r.g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81739)
    at r.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:81646)
    at Object.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:21247)
    at ku.executeCommand (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:7443)
    at nS.set (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:300572)
    at _k.updateContextOfActiveInteractiveWindowKernel (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:499105)
    at _k.onDidKernelStatusChange (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:499303)
    at m.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1902)
    at m.x (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1972)
    at m.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:2188)
    at pv.<anonymous> (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:39671)
    at m.w (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:1902)
    at m.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:63:2119)
    at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:249842
    at Qg.dispose (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:17:249944)
    at /Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:1772561
    at Array.map (<anonymous>)
    at ic.dispose (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:2:1772551)
    at Module.Nx (/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-2023.8.1002501831-darwin-x64/out/extension.node.js:24:651546)
    at n.Z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:9460)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7585
    at Array.map (<anonymous>)
    at n.S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7572)
    at n.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:7844)
    at o.terminate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:122:1513)
    at D (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:9800)
    at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:135:6225)
    at MessagePortMain.emit (node:events:513:28)
    at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367) setContext undefined
2023-10-03 17:48:31.878 [info] Extension host with pid 81059 started
2023-10-03 17:48:31.878 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-10-03 17:48:32.016 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onNotebookSerializer:interactive'
2023-10-03 17:48:32.023 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-03 17:48:32.032 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:48:32.113 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:48:32.650 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter
2023-10-03 17:48:32.863 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-10-03 17:48:32.866 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '*'
2023-10-03 17:48:33.363 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-10-03 17:48:33.392 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-03 17:48:33.793 [info] Eager extensions activated
2023-10-03 17:48:33.862 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-03 17:48:33.867 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-10-03 17:48:34.578 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-10-03 17:48:35.392 [info] Extension host with pid 80866 exiting with code 0
2023-10-03 17:48:36.093 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-10-03 17:48:41.031 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-03 17:48:41.036 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-03 17:48:53.412 [info] Extension host with pid 81187 started
2023-10-03 17:48:53.412 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-10-03 17:48:53.429 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-03 17:48:53.437 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onNotebookSerializer:interactive'
2023-10-03 17:48:53.444 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:48:53.525 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python'
2023-10-03 17:48:53.608 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:*'
2023-10-03 17:48:53.611 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-10-03 17:48:53.623 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-10-03 17:48:53.634 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git
2023-10-03 17:48:53.638 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-03 17:48:53.644 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-03 17:48:53.672 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: false, activationEvent: 'onCommand:type'
2023-10-03 17:48:54.192 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git'
2023-10-03 17:48:54.613 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-03 17:48:55.015 [info] Eager extensions activated
2023-10-03 17:48:55.398 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-03 17:48:55.401 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'

Here the Main log:

2023-10-03 17:47:02.908 [info] update#setState idle
2023-10-03 17:47:32.921 [info] update#setState checking for updates
2023-10-03 17:47:33.433 [info] update#setState downloading
2023-10-03 17:47:51.906 [info] update#setState ready
2023-10-03 17:48:35.393 [info] Extension host with pid 80866 exited with code: 0, signal: unknown.
2023-10-03 17:48:52.662 [info] Extension host with pid 81059 exited with code: 6, signal: unknown.
2023-10-03 17:48:52.663 [error] [UtilityProcess id: 2, type: extensionHost, pid: 81059]: crashed with code 6 and reason 'crashed'
2023-10-03 17:53:03.628 [error] Blocked vscode-webview request vscode-webview://0kkn3jcss2ghd74lomqkrh2bgcaln4cis7hguhmqc2156b79kss9/index.html?id=54fe3d7c-e026-4669-ab2c-c1b929bf8ad4&origin=04bf01e0-d315-4bf8-a7a1-051164b6d9a9&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&disableServiceWorker=true
2023-10-03 17:53:04.161 [error] Blocked vscode-webview request vscode-webview://1g0agua85k67cqd3drt74joae8s9gauijg89ghfvl2fk67ii5sol/index.html?id=d183bc98-aacb-4f9f-a5e5-155dac3e6b71&origin=2d2d8d0b-cba2-407d-abcc-711c546de857&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer

Looking forward to your suggestions.

Thanks so much -Erik

SchumErik commented 11 months ago

.... for your info: This is what the extension manager looks like. Only Python, Jypyter (needed for interactive mode) and VIM extensions. And at (many months ago) I had no issues....

image

amunger commented 11 months ago

I assume those logs were from while Pylance was still enabled?

2023-10-03 17:48:18.550 [error] [ms-python.python] provider FAILED
2023-10-03 17:48:18.551 [error] TypeError: Cannot read properties of undefined (reading 'data')
    at /Users/Erik/.vscode/extensions/ms-python.vscode-pylance-2023.9.20/dist/extension.bundle.js:1:131899

Can you disable Pylance, reload vs code, attempt to run a notebook cell, and share those extension host logs? Also, is it crashing with that repro?

SchumErik commented 11 months ago

No, I disabled the Rylance log. In any case I just tried again (exited VSCode w/ Pylance disabled) and then opening it again (Pylance still disable):

Main Log:

2023-10-04 09:06:10.755 [info] update#setState idle
2023-10-04 09:06:40.760 [info] update#setState checking for updates
2023-10-04 09:06:41.157 [info] update#setState downloading
2023-10-04 09:06:42.683 [info] Extension host with pid 91839 exited with code: 0, signal: unknown.
2023-10-04 09:06:42.771 [error] [UtilityProcess id: 1, type: extensionHost, pid: 91839]: crashed with code 6 and reason 'crashed'
2023-10-04 09:06:57.892 [info] update#setState ready

Extension Host:

2023-10-04 09:06:12.347 [info] Extension host with pid 91839 started
2023-10-04 09:06:12.347 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-10-04 09:06:12.380 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onNotebookSerializer:interactive'
2023-10-04 09:06:12.387 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python'
2023-10-04 09:06:12.450 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python'
2023-10-04 09:06:12.511 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-04 09:06:12.841 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'api', root cause: ms-toolsai.jupyter
2023-10-04 09:06:13.015 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-10-04 09:06:13.019 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '*'
2023-10-04 09:06:13.101 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-04 09:06:13.111 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-04 09:06:13.371 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-10-04 09:06:13.440 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-04 09:06:13.895 [info] Eager extensions activated
2023-10-04 09:06:14.011 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-04 09:06:14.016 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-10-04 09:06:14.245 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-10-04 09:06:15.590 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-10-04 09:06:43.354 [info] Extension host with pid 91980 started
2023-10-04 09:06:43.355 [info] Skipping acquiring lock for /Users/Erik/Library/Application Support/Code/User/workspaceStorage/094d4f0e822db8633b8c10e7aaf04b46.
2023-10-04 09:06:43.380 [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onNotebookSerializer:interactive'
2023-10-04 09:06:43.386 [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:python'
2023-10-04 09:06:43.459 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter, startup: false, activationEvent: 'onLanguage:python'
2023-10-04 09:06:43.517 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-10-04 09:06:43.523 [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter-renderers, startup: false, activationEvent: 'onNotebook:*'
2023-10-04 09:06:43.526 [info] ExtensionService#_doActivateExtension vscode.extension-editing, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-04 09:06:43.531 [info] ExtensionService#_doActivateExtension vscode.markdown-language-features, startup: false, activationEvent: 'onLanguage:markdown'
2023-10-04 09:06:43.551 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-10-04 09:06:43.562 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-10-04 09:06:43.575 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: false, activationEvent: 'onFileSystem:git', root cause: vscode.git
2023-10-04 09:06:44.016 [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'onFileSystem:git'
2023-10-04 09:06:44.626 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-10-04 09:06:44.636 [info] ExtensionService#_doActivateExtension vscodevim.vim, startup: true, activationEvent: '*'
2023-10-04 09:06:44.910 [info] Eager extensions activated
2023-10-04 09:06:44.919 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-10-04 09:06:44.923 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'

Developer Console:

not available
Expression
not available

webviewElement.ts:512 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
log.ts:421  INFO [perf] Render performance baseline is 27ms
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/67d59de9-aca9-41b6-9a5a-aa33c0f6143d
localProcessExtensionHost.ts:283 Extension Host
localProcessExtensionHost.ts:284 Starting WebSocket: RAW/api/kernels/67d59de9-aca9-41b6-9a5a-aa33c0f6143d
console.ts:137 [Extension Host] Kernel: starting (67d59de9-aca9-41b6-9a5a-aa33c0f6143d)
localProcessExtensionHost.ts:283 Extension Host
localProcessExtensionHost.ts:284 Kernel: starting (67d59de9-aca9-41b6-9a5a-aa33c0f6143d)
localProcessExtensionHost.ts:283 Extension Host
localProcessExtensionHost.ts:284 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)[91839]: ../../third_party/electron_node/src/inspector_io.cc:288:void node::inspector::InspectorIo::ThreadMain(): Assertion `(err) == (0)' failed.
 1: 0x11ac92115 node::Buffer::New(v8::Isolate*, char*, unsigned long) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 2: 0x11ac91e7f node::Buffer::New(v8::Isolate*, char*, unsigned long) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 3: 0x11adc445f node::SetTracingController(v8::TracingController*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 4: 0x7ff8049ea202 _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
 5: 0x7ff8049e5bab thread_start [/usr/lib/system/libsystem_pthread.dylib]
abstractExtensionService.ts:757 Extension host (LocalProcess) terminated unexpectedly. Code: 0, Signal: unknown
log.ts:441   ERR Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
log.ts:421  INFO Automatically restarting the extension host.
webWorkerExtensionHostIframe.html:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/preload.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/…win-x64/out/webviews/webview-side/ipywidgetsKernel/ipywidgetsKernel.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/ms-toolsai.jupyter-renderers-1.0.17/out/client_renderer/markdown.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-cdn.net/Users/Erik/.vscode/extensions/…i.jupyter-renderers-1.0.17/out/client_renderer/builtinRendererHooks.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED

Also checked in the Developer LOGs, here the main.log file:

2023-10-04 09:06:10.755 [info] update#setState idle
2023-10-04 09:06:40.760 [info] update#setState checking for updates
2023-10-04 09:06:41.157 [info] update#setState downloading
2023-10-04 09:06:42.683 [info] Extension host with pid 91839 exited with code: 0, signal: unknown.
2023-10-04 09:06:42.771 [error] [UtilityProcess id: 1, type: extensionHost, pid: 91839]: crashed with code 6 and reason 'crashed'
2023-10-04 09:06:57.892 [info] update#setState ready
2023-10-04 09:10:53.641 [error] Blocked vscode-webview request vscode-webview://1g0agua85k67cqd3drt74joae8s9gauijg89ghfvl2fk67ii5sol/index.html?id=394bec45-7a06-4e1d-aa00-901666779012&origin=2d2d8d0b-cba2-407d-abcc-711c546de857&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer
amunger commented 11 months ago

this looks promising:

localProcessExtensionHost.ts:284 Kernel: starting (67d59de9-aca9-41b6-9a5a-aa33c0f6143d)
localProcessExtensionHost.ts:283 Extension Host
localProcessExtensionHost.ts:284 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)[91839]: ../../third_party/electron_node/src/inspector_io.cc:288:void node::inspector::InspectorIo::ThreadMain(): Assertion `(err) == (0)' failed.
 1: 0x11ac92115 node::Buffer::New(v8::Isolate*, char*, unsigned long) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 2: 0x11ac91e7f node::Buffer::New(v8::Isolate*, char*, unsigned long) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 3: 0x11adc445f node::SetTracingController(v8::TracingController*) [/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 4: 0x7ff8049ea202 _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
 5: 0x7ff8049e5bab thread_start [/usr/lib/system/libsystem_pthread.dylib]
abstractExtensionService.ts:757 Extension host (LocalProcess) terminated unexpectedly. Code: 0, Signal: unknown
log.ts:441   ERR Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
log.ts:421  INFO Automatically restarting the extension host.

But I may need some help from @deepak1556 in troubleshooting what is going wrong there

DonJayamanne commented 11 months ago

@SchumErik Please could you try the following