Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Interactive window hangs and fails to connect to kernel #16299

Open
zhanlilz opened this issue Dec 13, 2024 · 7 comments
Open

Interactive window hangs and fails to connect to kernel #16299

zhanlilz opened this issue Dec 13, 2024 · 7 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel)

Comments

@zhanlilz
Copy link

Type: Bug

I've tried both release and pre-release and also an older version (2024.8.1). All versions of jupyter extension in the vscode results in hanging of the interactive window without responding to any "run cell" command after a few minutes. The "#%%" magic in the python script to allow the running of code sections in an interactive window in vscode is really helpful. However, somehow this function now is not stable. If someone can give any pointer, that'd be greatly appreciated!

Extension version: 2025.1.2024121301
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 6.8.0-1020-aws

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.69GB (1.87GB free)
Process Argv --crash-reporter-id 0708ee41-a10e-4228-9485-e7d65a20d454
Screen Reader no
VM 0%
Item Value
Remote SSH: ec2-by-df1021
OS Linux x64 6.8.0-1020-aws
CPUs Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz (4 x 0)
Memory (System) 15.17GB (6.69GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@vs-code-engineering vs-code-engineering bot added the triage-needed Issue needs to be triaged label Dec 13, 2024
@DonJayamanne DonJayamanne assigned DonJayamanne and unassigned rebornix and amunger Dec 16, 2024
@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) and removed triage-needed Issue needs to be triaged labels Dec 16, 2024
@DonJayamanne
Copy link
Contributor

Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to trace
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Dec 16, 2024
@trichter
Copy link

trichter commented Dec 19, 2024

I have the same problem, starting last week. I also tried different versions of the Jupyter extension and also downgraded VSCode. Both did not solve the problem. Here is a log, but when the error surfaces, no new log output is displayed. Also restarting the kernel does not work anymore.

In this log the error appeard at ~14:13 and I tried restarting the kernel at 14:25.

log
Visual Studio Code (1.95.3, undefined, desktop)
Jupyter Extension Version: 2024.10.0.
Python Extension Version: 2024.22.0.
Pylance Extension Version: 2024.12.1.
Platform: linux (x64).
Temp Storage folder ~/.config/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.10.0
Multiple Workspace folders opened ~/dev/sugar, ~/dev/anchorna, ~/dev/merde, ~/dev/playground, ~/dev/other, ~/dev/btools, ~/paper/2024_anchorna/comparison, ~/dev
14:09:27.297 [debug] Start refreshing Kernel Picker (1734613767296)
14:09:27.423 [info] Deleting old temp dir /home/~/.config/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.8.1
14:09:27.784 [debug] Get Custom Env Variables, Class name = Em, completed in 488ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
14:09:27.784 [debug] Jupyter Paths /kernels: 
14:09:27.784 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/.local/share/jupyter/kernels
14:09:27.791 [debug] creating new code watcher with matching document file:///home/~/dev/sugar/src/sugar/imaging/alignment.py
14:09:28.717 [debug] End refreshing Kernel Picker (1734613767296)
14:09:29.235 [trace] Conda file is conda
14:09:29.758 [trace] Python API env change detected, add => '/data/fass5/eule/.condax/agat/python'
14:09:29.759 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.condax/agat/python
14:09:29.759 [trace] Kernel Spec for 'Python 3 (ipykernel)' (/usr/share/jupyter/kernels/python3/kernel.json) is hidden. (isDefaultKernelSpec = true, language = python, registrationInfo = undefined)
14:09:29.759 [debug] Start refreshing Kernel Picker (1734613769759)
14:09:29.765 [debug] End refreshing Kernel Picker (1734613769759)
14:09:29.776 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/python'
14:09:29.776 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/python
14:09:29.776 [debug] Start refreshing Kernel Picker (1734613769776)
14:09:29.805 [debug] End refreshing Kernel Picker (1734613769776)
14:09:29.827 [trace] Python API env change detected, add => '/home/~/.condax/agat/python'
14:09:29.827 [trace] Search for KernelSpecs in Interpreter ~/.condax/agat/python
14:09:29.827 [debug] Start refreshing Kernel Picker (1734613769827)
14:09:29.871 [debug] End refreshing Kernel Picker (1734613769827)
14:09:29.944 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/notebooks/bin/python'
14:09:29.944 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/notebooks/bin/python
14:09:29.944 [debug] Start refreshing Kernel Picker (1734613769944)
14:09:30.011 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/agat/python'
14:09:30.011 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/agat/python
14:09:30.030 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/sugarmin/bin/python'
14:09:30.031 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/sugarmin/bin/python
14:09:30.064 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/pipx/bin/python'
14:09:30.064 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/pipx/bin/python
14:09:30.066 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/notebooks/bin/python for interpreter /data/fass5/eule/.anaconda/envs/notebooks/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/notebooks/share/jupyter/kernels/python3/kernel.json)
14:09:30.082 [debug] End refreshing Kernel Picker (1734613769944)
14:09:30.083 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/obspy/bin/python'
14:09:30.083 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/obspy/bin/python
14:09:30.084 [debug] Start refreshing Kernel Picker (1734613770084)
14:09:30.099 [debug] End refreshing Kernel Picker (1734613770084)
14:09:30.111 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/bats2/bin/python'
14:09:30.111 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/bats2/bin/python
14:09:30.111 [debug] Start refreshing Kernel Picker (1734613770111)
14:09:30.127 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/yamtest/bin/python'
14:09:30.127 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/yamtest/bin/python
14:09:30.142 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/sugartest/bin/python'
14:09:30.143 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/sugartest/bin/python
14:09:30.156 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/bats/bin/python'
14:09:30.156 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/bats/bin/python
14:09:30.161 [trace] Hiding default KernelSpec /python for interpreter /data/fass5/eule/.anaconda/envs/bats2/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/bats2/share/jupyter/kernels/python3/kernel.json)
14:09:30.179 [trace] Python API env change detected, add => '/usr/local/Anaconda/bin/python'
14:09:30.179 [trace] Search for KernelSpecs in Interpreter /usr/local/Anaconda/bin/python
14:09:30.191 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/workhorse2/bin/python'
14:09:30.192 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python
14:09:30.206 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/workhorse/bin/python'
14:09:30.206 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:09:30.208 [trace] Hiding default KernelSpec /python for interpreter /data/fass5/eule/.anaconda/envs/bats/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/bats/share/jupyter/kernels/python3/kernel.json)
14:09:30.251 [debug] Controller selection change completed
14:09:30.259 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/eqspec/bin/python'
14:09:30.259 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/eqspec/bin/python
14:09:30.323 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse2/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse2/share/jupyter/kernels/python3/kernel.json)
14:09:30.356 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse/share/jupyter/kernels/python3/kernel.json)
14:09:30.357 [debug] End refreshing Kernel Picker (1734613770111)
14:09:30.680 [debug] Get Custom Env Variables, Class name = Em, completed in 4ms, has a truthy return value, Arg 1: "~/dev/sugar", Arg 2: "RunPythonCode"
14:09:31.502 [trace] Python API env change detected, add => '/usr/bin/python3'
14:09:31.502 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:09:31.502 [trace] Search for KernelSpecs in Interpreter /usr/bin/python3
14:09:31.502 [debug] Start refreshing Kernel Picker (1734613771502)
14:09:31.503 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse/share/jupyter/kernels/python3/kernel.json)
14:09:31.562 [trace] Python API env change detected, add => '/bin/python3'
14:09:31.562 [trace] Search for KernelSpecs in Interpreter /bin/python3
14:09:31.707 [debug] End refreshing Kernel Picker (1734613771502)
14:09:32.144 [trace] Python API env change detected, add => '/bin/python3.11'
14:09:32.144 [trace] Search for KernelSpecs in Interpreter /bin/python3.11
14:09:32.144 [debug] Start refreshing Kernel Picker (1734613772144)
14:09:32.204 [debug] End refreshing Kernel Picker (1734613772144)
14:09:32.541 [trace] Python API env change detected, add => '/usr/bin/python3.11'
14:09:32.542 [trace] Search for KernelSpecs in Interpreter /usr/bin/python3.11
14:09:32.542 [debug] Start refreshing Kernel Picker (1734613772542)
14:09:32.633 [error] Failed to get activated conda env vars for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
                 in 1957ms
14:09:32.634 [error] Unable to determine site packages path for python /data/fass5/eule/.anaconda/envs/workhorse/bin/python (Conda)
14:09:32.634 [trace] Prepend PATH with python bin for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:09:32.634 [debug] Getting activated env variables, Class name = Id, completed in 1958ms, has a truthy return value, Arg 1: "~/dev/sugar", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Arg 3: undefined
14:09:32.641 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -m pip list
14:09:32.759 [debug] End refreshing Kernel Picker (1734613772542)
14:09:33.258 [debug] Interpreter for Pylance for Notebook URI "/Interactive-1.interactive" is /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:09:38.718 [debug] start the kernel, options.disableUI=false for /Interactive-1.interactive
14:09:38.729 [info] Starting Kernel (Python Path: /data/fass5/eule/.anaconda/envs/workhorse/bin/python, Conda, 3.11.6) for '/Interactive-1.interactive' (disableUI=false)
14:09:38.732 [trace] Creating raw notebook for resource '~/dev/sugar/src/sugar/imaging/alignment.py'
14:09:38.763 [debug] Get Custom Env Variables, Class name = Em, completed in 0ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "RunPythonCode"
14:09:38.796 [debug] Launching kernel .jvsc74a57bd0be917456bddbd6c66cb4c0e425a3101b15c4ba2e12466389baf1a55c8491a4a0./data/fass5/eule/.anaconda/envs/workhorse/python./data/fass5/eule/.anaconda/envs/workhorse/python.-m#ipykernel_launcher for ~/dev/sugar/src/sugar/imaging/alignment.py in //home/~/dev/sugar/src/sugar/imaging with ports 9001, 9000, 9004, 9002, 9003
14:09:39.497 [error] Failed to get activated conda env vars for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
                 in 734ms
14:09:39.498 [error] Unable to determine site packages path for python /data/fass5/eule/.anaconda/envs/workhorse/bin/python (Conda)
14:09:39.498 [trace] Prepend PATH with python bin for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:09:39.498 [debug] Getting activated env variables, Class name = Id, completed in 735ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Arg 3: undefined
14:09:39.511 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
14:09:39.523 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v3ae8e7fc4d773017bd09e5f99fdef0c91cad60bdd.json
    > cwd: //home/~/dev/sugar/src/sugar/imaging
14:09:39.523 [debug] Kernel process 429899.
14:09:39.786 [trace] ipykernel version & path 6.29.5, /data/fass5/eule/.anaconda/envs/workhorse/lib/python3.11/site-packages/ipykernel/__init__.py for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:09:40.083 [debug] Kernel output 429899: To connect another client to this kernel, use:
--existing kernel-v3ae8e7fc4d773017bd09e5f99fdef0c91cad60bdd.json
14:09:40.182 [debug] Waiting for Raw Session to be ready in postStartRawSession
14:09:40.182 [debug] Waiting for Raw session to be ready, status: connected
14:09:40.183 [trace] Raw session connected
14:09:40.183 [debug] Waited for Raw session to be ready & got status: connected
14:09:40.183 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
14:09:40.183 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
14:09:40.183 [debug] Sending request for kernelInfo
14:09:40.228 [trace] Got response for requestKernelInfo
14:09:40.228 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 45ms
14:09:40.230 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
14:09:40.241 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
14:09:40.241 [trace] Started running kernel initialization for /Interactive-1.interactive
14:09:40.242 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
14:09:40.317 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
14:09:40.317 [trace] Determined IPyWidgets Version as 8
14:09:40.317 [trace] Version of IPyWidgets 8 determined after 10.068s
14:09:40.320 [trace] Executing silently Code (idle) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip
14:09:40.344 [trace] Executing silently Code (completed) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip with 0 output(s)
14:09:40.345 [trace] Executing silently Code (idle) = %load_ext autoreload\n%autoreload 2
14:09:40.370 [trace] Executing silently Code (completed) = %load_ext autoreload\n%autoreload 2 with 0 output(s)
14:09:40.371 [debug] Requesting Kernel info
14:09:40.372 [trace] Got Kernel info
14:09:40.372 [trace] End running kernel initialization, now waiting for idle
14:09:40.372 [trace] Waiting for idle on (kernel): f77eed3d-85b7-4d66-9a2d-e0c142a089c9 -> idle
14:09:40.373 [trace] Finished waiting for idle on (kernel): f77eed3d-85b7-4d66-9a2d-e0c142a089c9 -> idle
14:09:40.373 [trace] End running kernel initialization, session is idle
14:09:40.374 [trace] Registering Kernel Completion Provider from kernel workhorse (Python 3.11.6) for language python
14:09:40.375 [trace] IPyWidgetScriptSource.initialize
14:09:40.376 [trace] Registering commtarget jupyter.widget
14:09:40.376 [info] Kernel successfully started
14:09:40.377 [debug] getDataDirsImpl, Class name = Kr (started execution), Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python"
14:09:40.378 [debug] Get Custom Env Variables, Class name = Em, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
14:09:40.378 [debug] Jupyter Paths : 
14:09:40.378 [debug] Initializing __file__ in setFileInKernel with file:///home/~/dev/sugar/src/sugar/imaging/alignment.py for mode multiple
14:09:40.382 [trace] Executing silently Code (idle) = __file__ = '/home/~/dev/sugar/src/sugar/imaging/alignment.py'
14:09:40.383 [debug] Start refreshing Kernel Picker (1734613780383)
14:09:40.383 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python
14:09:40.386 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse2/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse2/share/jupyter/kernels/python3/kernel.json)
14:09:40.396 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python /home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/pythonFiles/printJupyterDataDir.py
14:09:40.396 [debug] End refreshing Kernel Picker (1734613780383)
14:09:40.398 [info] Generated code for 1 = <ipython-input-1-7b6be47242fa> with 185 lines
14:09:40.405 [trace] Executing silently Code (completed) = __file__ = '/home/~/dev/sugar/src/sugar/imaging/alignment.py' with 0 output(s)
14:09:40.410 [trace] Cell Index:9 sent to kernel
14:09:40.416 [trace] Start cell 9 execution @ 1734613780415 (clear output)
14:09:40.416 [debug] Kernel acknowledged execution of cell 9 @ 1734613780415
14:09:40.464 [debug] getDataDirsImpl, Class name = Kr, completed in 87ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Return Value: <Uri:/home/~/.local/share/jupyter>, <Uri:/data/fass5/eule/.anaconda/envs/workhorse/share/jupyter>, <Uri:/usr/local/share/jupyter>, <Uri:/usr/share/jupyter>
14:09:42.689 [trace] Cell 9 completed in 2.273s (start: 1734613780415, end: 1734613782688)
14:09:42.689 [trace] Cell 9 executed successfully
14:09:51.025 [trace] Executing silently Code (idle) = def _VSCODE_getVariable(what_to_get, is_debugging, *args):\n# Query Jupyter server for the info a
14:09:51.026 [trace] Executing silently Code (idle) = def _VSCODE_getVariable(what_to_get, is_debugging, *args):\n# Query Jupyter server for the info a
14:09:51.080 [trace] Executing silently Code (completed) = def _VSCODE_getVariable(what_to_get, is_debugging, *args):\n# Query Jupyter server for the info a with 1 output(s)
14:09:51.143 [trace] Executing silently Code (completed) = def _VSCODE_getVariable(what_to_get, is_debugging, *args):\n# Query Jupyter server for the info a with 1 output(s)
14:10:53.883 [info] Generated code for 2 = <ipython-input-2-7b6be47242fa> with 185 lines
14:10:53.891 [trace] Cell Index:10 sent to kernel
14:10:53.907 [trace] Start cell 10 execution @ 1734613853907 (clear output)
14:10:53.907 [debug] Kernel acknowledged execution of cell 10 @ 1734613853907
14:10:54.502 [trace] Cell 10 completed in 0.595s (start: 1734613853907, end: 1734613854502)
14:10:54.503 [trace] Cell 10 executed successfully
14:12:45.641 [info] Generated code for 3 = <ipython-input-3-7b6be47242fa> with 185 lines
14:12:45.653 [trace] Cell Index:11 sent to kernel
14:12:45.658 [trace] Start cell 11 execution @ 1734613965658 (clear output)
14:12:45.658 [debug] Kernel acknowledged execution of cell 11 @ 1734613965658
14:12:46.206 [trace] Cell 11 completed in 0.547s (start: 1734613965658, end: 1734613966205)
14:12:46.206 [trace] Cell 11 executed successfully
14:13:03.916 [debug] creating new code watcher with matching document file:///home/~/dev/sugar/src/sugar/tests/test_core_cane.py
14:13:19.485 [debug] creating new code watcher with matching document file:///home/~/dev/sugar/src/sugar/tests/test_imaging_alignment.py
14:25:23.756 [debug] Restart kernel command handler for /Interactive-1.interactive
14:25:23.762 [debug] restart the kernel, options.disableUI=false for /Interactive-1.interactive
14:25:23.763 [info] Restart requested /Interactive-1.interactive
14:25:23.764 [debug] Cancel pending cells
14:25:23.766 [debug] Dispose Kernel process 429899.
14:25:23.805 [debug] Get Custom Env Variables, Class name = Em, completed in 1ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "RunPythonCode"
14:25:23.821 [debug] KernelProcess Exited 429899, Exit Code - undefined 
14:25:24.259 [error] Failed to get activated conda env vars for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
                 in 456ms
14:25:24.261 [error] Unable to determine site packages path for python /data/fass5/eule/.anaconda/envs/workhorse/bin/python (Conda)
14:25:24.261 [trace] Prepend PATH with python bin for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
14:25:24.261 [debug] Getting activated env variables, Class name = Id, completed in 458ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Arg 3: undefined
14:25:24.270 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
14:25:24.485 [trace] ipykernel version & path 6.29.5, /data/fass5/eule/.anaconda/envs/workhorse/lib/python3.11/site-packages/ipykernel/__init__.py for /data/fass5/eule/.anaconda/envs/workhorse/bin/python

Edit: Downgrading the Python extension to 2024.20.0 appears to solve this for me.

@DonJayamanne
Copy link
Contributor

Please can you share the logs after you have downgraded the Python extension,

@trichter
Copy link

Sure, here it is. At 9:44 I sent some code to Jupyter with shift+enter. At 9:46 I sent the same code again.

Visual Studio Code (1.95.3, undefined, desktop)
Jupyter Extension Version: 2024.10.0.
Python Extension Version: 2024.20.0.
Pylance Extension Version: 2024.12.1.
Platform: linux (x64).
Temp Storage folder ~/.config/Code/User/globalStorage/ms-toolsai.jupyter/version-2024.10.0
Multiple Workspace folders opened ~/dev/sugar, ~/dev/anchorna, ~/dev/merde, ~/dev/playground, ~/dev/other, ~/dev/btools, ~/paper/2024_anchorna/comparison, ~/dev
09:43:18.059 [debug] Start refreshing Kernel Picker (1734684198059)
09:43:18.376 [trace] Kernel Spec for 'Python 3 (ipykernel)' (/usr/share/jupyter/kernels/python3/kernel.json) is hidden. (isDefaultKernelSpec = true, language = python, registrationInfo = undefined)
09:43:18.377 [debug] Get Custom Env Variables, Class name = Em, completed in 318ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
09:43:18.377 [debug] Jupyter Paths /kernels: 
09:43:18.377 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/.local/share/jupyter/kernels
09:43:18.417 [debug] Start refreshing Interpreter Kernel Picker
09:43:19.032 [debug] creating new code watcher with matching document file:///home/~/dev/sugar/src/sugar/tests/test_imaging_alignment.py
09:43:19.080 [trace] No controller, hence notebook communications cannot be initialized for editor /Interactive-1.interactive
09:43:19.133 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/python'
09:43:19.134 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/python
09:43:19.152 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/bats2/bin/python'
09:43:19.152 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/bats2/bin/python
09:43:19.162 [trace] Python API env change detected, add => '/home/~/.condax/agat/python'
09:43:19.162 [trace] Search for KernelSpecs in Interpreter ~/.condax/agat/python
09:43:19.167 [trace] Hiding default KernelSpec /python for interpreter /data/fass5/eule/.anaconda/envs/bats2/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/bats2/share/jupyter/kernels/python3/kernel.json)
09:43:19.169 [trace] Python API env change detected, add => '/data/fass5/eule/.condax/agat/python'
09:43:19.170 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.condax/agat/python
09:43:19.182 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/eqspec/bin/python'
09:43:19.183 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/eqspec/bin/python
09:43:19.190 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/sugarmin/bin/python'
09:43:19.190 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/sugarmin/bin/python
09:43:19.197 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/notebooks/bin/python'
09:43:19.198 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/notebooks/bin/python
09:43:19.205 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/sugartest/bin/python'
09:43:19.205 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/sugartest/bin/python
09:43:19.217 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/agat/python'
09:43:19.217 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/agat/python
09:43:19.221 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/bats/bin/python'
09:43:19.221 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/bats/bin/python
09:43:19.224 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/notebooks/bin/python for interpreter /data/fass5/eule/.anaconda/envs/notebooks/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/notebooks/share/jupyter/kernels/python3/kernel.json)
09:43:19.225 [trace] Python API env change detected, add => '/usr/local/Anaconda/bin/python'
09:43:19.225 [trace] Search for KernelSpecs in Interpreter /usr/local/Anaconda/bin/python
09:43:19.230 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/yamtest/bin/python'
09:43:19.230 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/yamtest/bin/python
09:43:19.234 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/obspy/bin/python'
09:43:19.234 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/obspy/bin/python
09:43:19.238 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/pipx/bin/python'
09:43:19.238 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/pipx/bin/python
09:43:19.239 [trace] Hiding default KernelSpec /python for interpreter /data/fass5/eule/.anaconda/envs/bats/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/bats/share/jupyter/kernels/python3/kernel.json)
09:43:19.245 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/workhorse/bin/python'
09:43:19.245 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python
09:43:19.250 [trace] Python API env change detected, add => '/data/fass5/eule/.anaconda/envs/workhorse2/bin/python'
09:43:19.250 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python
09:43:19.353 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse/share/jupyter/kernels/python3/kernel.json)
09:43:19.379 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse2/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse2/share/jupyter/kernels/python3/kernel.json)
09:43:19.436 [debug] Controller selection change completed
09:43:20.019 [trace] Conda file is /usr/local/Anaconda/bin/conda
09:43:20.773 [debug] Get Custom Env Variables, Class name = Em, completed in 4ms, has a truthy return value, Arg 1: "~/dev/sugar", Arg 2: "RunPythonCode"
09:43:21.708 [trace] Python API env change detected, add => '/usr/bin/python3'
09:43:21.708 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python
09:43:21.709 [trace] Search for KernelSpecs in Interpreter /usr/bin/python3
09:43:21.711 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse/share/jupyter/kernels/python3/kernel.json)
09:43:21.913 [trace] Python API env change detected, add => '/bin/python3'
09:43:21.913 [trace] Search for KernelSpecs in Interpreter /bin/python3
09:43:21.914 [debug] Interpreter for Pylance for Notebook URI "/Interactive-1.interactive" is /data/fass5/eule/.anaconda/envs/workhorse/bin/python
09:43:21.948 [trace] Python API env change detected, add => '/bin/python3.11'
09:43:21.948 [trace] Search for KernelSpecs in Interpreter /bin/python3.11
09:43:21.979 [trace] Python API env change detected, add => '/usr/bin/python3.11'
09:43:21.979 [trace] Search for KernelSpecs in Interpreter /usr/bin/python3.11
09:43:21.980 [debug] Refreshed Environments
09:43:22.064 [error] Failed to get activated conda env vars for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
                 in 1295ms
09:43:22.066 [error] Unable to determine site packages path for python /data/fass5/eule/.anaconda/envs/workhorse/bin/python (Conda)
09:43:22.066 [trace] Prepend PATH with python bin for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
09:43:22.066 [debug] Getting activated env variables, Class name = Id, completed in 1297ms, has a truthy return value, Arg 1: "~/dev/sugar", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Arg 3: undefined
09:43:22.073 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -m pip list
09:43:23.032 [debug] End refreshing Kernel Picker (1734684198059)
09:44:03.829 [debug] start the kernel, options.disableUI=false for /Interactive-1.interactive
09:44:03.836 [info] Starting Kernel (Python Path: /data/fass5/eule/.anaconda/envs/workhorse/bin/python, Conda, 3.11.6) for '/Interactive-1.interactive' (disableUI=false)
09:44:03.839 [trace] Creating raw notebook for resource '~/dev/sugar/src/sugar/imaging/alignment.py'
09:44:04.022 [debug] Launching kernel .jvsc74a57bd0be917456bddbd6c66cb4c0e425a3101b15c4ba2e12466389baf1a55c8491a4a0./data/fass5/eule/.anaconda/envs/workhorse/python./data/fass5/eule/.anaconda/envs/workhorse/python.-m#ipykernel_launcher for ~/dev/sugar/src/sugar/imaging/alignment.py in //home/~/dev/sugar/src/sugar/imaging with ports 9001, 9000, 9004, 9002, 9003
09:44:04.025 [debug] Get Custom Env Variables, Class name = Em, completed in 0ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "RunPythonCode"
09:44:04.518 [error] Failed to get activated conda env vars for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
                 in 493ms
09:44:04.519 [error] Unable to determine site packages path for python /data/fass5/eule/.anaconda/envs/workhorse/bin/python (Conda)
09:44:04.519 [trace] Prepend PATH with python bin for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
09:44:04.520 [debug] Getting activated env variables, Class name = Id, completed in 495ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Arg 3: undefined
09:44:04.528 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
09:44:04.538 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v3072c88f28b663b1193a59909851c2d9ed12ce778.json
    > cwd: //home/~/dev/sugar/src/sugar/imaging
09:44:04.538 [debug] Kernel process 740789.
09:44:04.702 [trace] ipykernel version & path 6.29.5, /data/fass5/eule/.anaconda/envs/workhorse/lib/python3.11/site-packages/ipykernel/__init__.py for /data/fass5/eule/.anaconda/envs/workhorse/bin/python
09:44:04.915 [debug] Kernel output 740789: To connect another client to this kernel, use:
--existing kernel-v3072c88f28b663b1193a59909851c2d9ed12ce778.json
09:44:04.983 [debug] Waiting for Raw Session to be ready in postStartRawSession
09:44:04.983 [debug] Waiting for Raw session to be ready, status: connected
09:44:04.983 [trace] Raw session connected
09:44:04.984 [debug] Waited for Raw session to be ready & got status: connected
09:44:04.984 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
09:44:04.984 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
09:44:04.984 [debug] Sending request for kernelInfo
09:44:05.022 [trace] Got response for requestKernelInfo
09:44:05.022 [debug] Successfully completed postStartRawSession after 1 attempt(s) in 38ms
09:44:05.024 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
09:44:05.033 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
09:44:05.033 [trace] Started running kernel initialization for /Interactive-1.interactive
09:44:05.033 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
09:44:05.085 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
09:44:05.085 [trace] Determined IPyWidgets Version as 8
09:44:05.085 [trace] Version of IPyWidgets 8 determined after 45.65s
09:44:05.086 [trace] Executing silently Code (idle) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip
09:44:05.101 [trace] Executing silently Code (completed) = import types as _VSCODE_types\nimport os\nimport hashlib as _VSCODE_hashlib\nfrom IPython import get_ip with 0 output(s)
09:44:05.101 [trace] Executing silently Code (idle) = %load_ext autoreload\n%autoreload 2
09:44:05.115 [trace] Executing silently Code (completed) = %load_ext autoreload\n%autoreload 2 with 0 output(s)
09:44:05.115 [debug] Requesting Kernel info
09:44:05.116 [trace] Got Kernel info
09:44:05.116 [trace] End running kernel initialization, now waiting for idle
09:44:05.116 [trace] Waiting for idle on (kernel): fa64c645-be80-45b2-9bdd-76ba8c495472 -> idle
09:44:05.116 [trace] Finished waiting for idle on (kernel): fa64c645-be80-45b2-9bdd-76ba8c495472 -> idle
09:44:05.116 [trace] End running kernel initialization, session is idle
09:44:05.117 [trace] Registering Kernel Completion Provider from kernel workhorse (Python 3.11.6) for language python
09:44:05.118 [trace] IPyWidgetScriptSource.initialize
09:44:05.119 [trace] Registering commtarget jupyter.widget
09:44:05.119 [info] Kernel successfully started
09:44:05.120 [debug] getDataDirsImpl, Class name = Kr (started execution), Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python"
09:44:05.121 [debug] Get Custom Env Variables, Class name = Em, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
09:44:05.121 [debug] Jupyter Paths : 
09:44:05.121 [debug] Initializing __file__ in setFileInKernel with file:///home/~/dev/sugar/src/sugar/imaging/alignment.py for mode multiple
09:44:05.123 [trace] Executing silently Code (idle) = __file__ = '/home/~/dev/sugar/src/sugar/imaging/alignment.py'
09:44:05.124 [debug] Start refreshing Kernel Picker (1734684245124)
09:44:05.124 [trace] Search for KernelSpecs in Interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python
09:44:05.125 [trace] Hiding default KernelSpec /data/fass5/eule/.anaconda/envs/workhorse2/bin/python for interpreter /data/fass5/eule/.anaconda/envs/workhorse2/bin/python (KernelSpec file /data/fass5/eule/.anaconda/envs/workhorse2/share/jupyter/kernels/python3/kernel.json)
09:44:05.134 [info] Process Execution: /data/fass5/eule/.anaconda/envs/workhorse/bin/python /home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/pythonFiles/printJupyterDataDir.py
09:44:05.134 [debug] End refreshing Kernel Picker (1734684245124)
09:44:05.135 [info] Generated code for 1 = <ipython-input-1-33c17a991427> with 31 lines
09:44:05.140 [trace] Executing silently Code (completed) = __file__ = '/home/~/dev/sugar/src/sugar/imaging/alignment.py' with 0 output(s)
09:44:05.149 [trace] Cell Index:77 sent to kernel
09:44:05.153 [trace] Start cell 77 execution @ 1734684245152 (clear output)
09:44:05.153 [debug] Kernel acknowledged execution of cell 77 @ 1734684245152
09:44:05.169 [debug] getDataDirsImpl, Class name = Kr, completed in 49ms, has a truthy return value, Arg 1: "~/dev/sugar/src/sugar/imaging/alignment.py", Arg 2: "/data/fass5/eule/.anaconda/envs/workhorse/bin/python", Return Value: <Uri:/home/~/.local/share/jupyter>, <Uri:/data/fass5/eule/.anaconda/envs/workhorse/share/jupyter>, <Uri:/usr/local/share/jupyter>, <Uri:/usr/share/jupyter>
09:44:05.620 [trace] Web view is ready to receive widget messages
09:44:05.638 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
09:44:05.639 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
09:44:05.663 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/temp/scripts/47221de91e2e6cae7174ee098fb2efdef0d7970e731218eab056389e72bd7585/jupyter
09:44:05.663 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
09:44:05.663 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
09:44:05.663 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/temp/scripts/47221de91e2e6cae7174ee098fb2efdef0d7970e731218eab056389e72bd7585/jupyter
09:44:05.706 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"jupyter-matplotlib","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/temp/scripts/47221de91e2e6cae7174ee098fb2efdef0d7970e731218eab056389e72bd7585/jupyter/nbextensions/jupyter-matplotlib/index","source":"local"}]
09:44:05.706 [trace] Widget Message: Source for IPyWidget jupyter-matplotlib found in local @ https://file%2B.vscode-resource.vscode-cdn.net/home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/temp/scripts/47221de91e2e6cae7174ee098fb2efdef0d7970e731218eab056389e72bd7585/jupyter/nbextensions/jupyter-matplotlib/index.
09:44:05.706 [trace] Widget Message: Registering IPyWidget jupyter-matplotlib found in https://file%2B.vscode-resource.vscode-cdn.net/home/~/.vscode/extensions/ms-toolsai.jupyter-2024.10.0-linux-x64/temp/scripts/47221de91e2e6cae7174ee098fb2efdef0d7970e731218eab056389e72bd7585/jupyter/nbextensions/jupyter-matplotlib/index.
09:44:07.451 [trace] Cell 77 completed in 2.299s (start: 1734684245152, end: 1734684247451)
09:44:07.452 [trace] Cell 77 executed successfully
09:46:27.201 [info] Generated code for 2 = <ipython-input-2-33c17a991427> with 31 lines
09:46:27.204 [trace] Cell Index:78 sent to kernel
09:46:27.212 [trace] Start cell 78 execution @ 1734684387212 (clear output)
09:46:27.212 [debug] Kernel acknowledged execution of cell 78 @ 1734684387212
09:46:28.555 [trace] Cell 78 completed in 1.343s (start: 1734684387212, end: 1734684388555)
09:46:28.555 [trace] Cell 78 executed successfully

@DonJayamanne
Copy link
Contributor

Thanh you for the logs, from the logs things look ok
Please can you recod the problem using something like gifcap.dev

@microsoft microsoft deleted a comment from vs-code-engineering bot Dec 20, 2024
@trichter
Copy link

trichter commented Dec 20, 2024

Done. I updated the Python extension again. File was too large to upload it here.

https://upload.uni-jena.de/data/676537da0f0192.21165787/screencast.gif

Edit: The upload is available for 48 hours.

@DonJayamanne
Copy link
Contributor

Please can you share the code
The exact steps to repro issues, likes liked you are commenting ands uncommenting code and then running them and eventually run into an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel)
Projects
None yet
Development

No branches or pull requests

5 participants