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

Switching from %matplotlib inline to %matplotlib widget #16256

Closed
TeddyLaugt opened this issue Nov 29, 2024 · 4 comments
Closed

Switching from %matplotlib inline to %matplotlib widget #16256

TeddyLaugt opened this issue Nov 29, 2024 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster ipywidgets Rendering, loading, saving, anything to do with IPyWidgets upstream-other Cause by some other upstream package/app

Comments

@TeddyLaugt
Copy link

Type: Bug

Switching from Switching from %matplotlib inline to %matplotlib widget lead to "No shuch comm : xxx[...]xxx".

Cell 1 :
from matplotlib import pyplot as plt
import numpy as np

Cell 2 :
%matplotlib widget
fig, a = plt.subplots()
a.plot(np.random.rand(1000))

Cell 3:
%matplotlib inline
fig, a = plt.subplots()
a.plot(np.random.rand(1000))

Cell 4:
print(1)

Cell 4 result is 'No such comm: 65537bfa596c48b5a4752b18ff340a38' the code change each time for example :

No such comm: 65537bfa596c48b5a4752b18ff340a38
No such comm: 2eeca832ab8f4062b26dbc4b1282797b
No such comm: 6af96933f50f42e297b95c9505a20681
No such comm: 866a2665b5324fc2ae377ef177807d98

Any idea ?

Bye

Extension version: 2024.10.0
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
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.86GB (5.61GB free)
Process Argv --crash-reporter-id e3f389b9-0345-4679-b076-e0e200bf8305
Screen Reader no
VM 33%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl2:31139839
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@DonJayamanne
Copy link
Contributor

I'm unable to repro this issue at my end.
Please can you install the latest version of the Jupyter and Notebook Renderer extensions and try this again at your end.
If this still repros, then please share the logs , instructions below.

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 bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster ipywidgets Rendering, loading, saving, anything to do with IPyWidgets labels Dec 11, 2024
@t-fourcade-isp
Copy link

t-fourcade-isp commented Dec 12, 2024

Same problem here:

  1. Code:
  • Cell 1 :
import numpy as np
from matplotlib import pyplot as plt
a = np.random.random(100)
  • Cell 2 :
%matplotlib widget

plt.figure()
plt.plot(a)
plt.show()
  • Cell 3:
%matplotlib inline

plt.figure()
plt.plot(a*2)
  • Cell 4
    plt.plot(a*3)
  1. Log:
Show Logs
> Visual Studio Code (1.96.0, undefined, desktop)
> Jupyter Extension Version: 2024.11.0.
> Python Extension Version: 2024.22.0.
> Pylance Extension Version: 2024.12.1.
> Platform: win32 (x64).
> Temp Storage folder ~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.11.0
> Workspace folder e:\Python\AFF\24A1345-THALES, Home = c:\Users\t.fourcade
> 14:25:34.389 [debug] Start refreshing Kernel Picker (1734009934389)
> 14:25:34.725 [debug] Start refreshing Interpreter Kernel Picker
> 14:25:35.242 [trace] Search for KernelSpecs in Interpreter c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:35.265 [debug] Get Custom Env Variables, Class name = Pm, completed in 877ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
> 14:25:35.266 [debug] Jupyter Paths kernels: 
> 14:25:35.270 [debug] Kernel Spec Root Paths, ~\AppData\Roaming\jupyter\kernels, c:\ProgramData\jupyter\kernels
> 14:25:36.183 [debug] KernelProvider switched kernel to id = .jvsc74a57bd00b5c82882060b3345d4da187ce45166c6685c76fb62688e62bf0348ff658ce8e.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.-m#ipykernel_launcher
> 14:25:36.183 [debug] start the kernel, options.disableUI=true for Untitled-1.ipynb
> 14:25:36.217 [trace] Registering commtarget jupyter.widget
> 14:25:36.218 [debug] Controller selection change completed
> 14:25:36.220 [debug] KernelProvider switched kernel to id = .jvsc74a57bd00b5c82882060b3345d4da187ce45166c6685c76fb62688e62bf0348ff658ce8e.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.-m#ipykernel_launcher
> 14:25:36.220 [debug] start the kernel, options.disableUI=true for e:\Python\AFF\24A1345-THALES\Simulation_FEM\Traitement_Vibration.ipynb
> 14:25:36.221 [debug] Controller selection change completed
> 14:25:36.477 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: "/e:/Python/AFF/24A1345-THALES", Arg 2: "RunPythonCode"
> 14:25:36.477 [info] Starting Kernel (Python Path: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe, Unknown, 3.11.8) for 'Untitled-1.ipynb' (disableUI=true)
> 14:25:36.478 [trace] Creating raw notebook for resource 'Untitled-1.ipynb'
> 14:25:36.480 [info] Starting Kernel (Python Path: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe, Unknown, 3.11.8) for 'e:\Python\AFF\24A1345-THALES\Simulation_FEM\Traitement_Vibration.ipynb' (disableUI=true)
> 14:25:36.480 [trace] Creating raw notebook for resource 'e:\Python\AFF\24A1345-THALES\Simulation_FEM\Traitement_Vibration.ipynb'
> 14:25:36.668 [debug] Get Custom Env Variables, Class name = Pm, completed in 0ms, has a truthy return value, Arg 1: "Untitled-1.ipynb", Arg 2: "RunPythonCode"
> 14:25:36.865 [debug] Get Custom Env Variables, Class name = Pm, completed in 0ms, has a truthy return value, Arg 1: "/e:/Python/AFF/24A1345-THALES/Simulation_FEM/Traitement_Vibration.ipynb", Arg 2: "RunPythonCode"
> 14:25:37.054 [trace] Hiding default KernelSpec python for interpreter c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe (KernelSpec file c:\Python\WPy64-31180\python-3.11.8.amd64\share\jupyter\kernels\python3\kernel.json)
> 14:25:37.205 [debug] Launching kernel .jvsc74a57bd00b5c82882060b3345d4da187ce45166c6685c76fb62688e62bf0348ff658ce8e.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.-m#ipykernel_launcher for Untitled-1.ipynb in e:\Python\AFF\24A1345-THALES with ports 9001, 9000, 9004, 9002, 9003
> 14:25:37.211 [debug] Launching kernel .jvsc74a57bd00b5c82882060b3345d4da187ce45166c6685c76fb62688e62bf0348ff658ce8e.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe.-m#ipykernel_launcher for e:\Python\AFF\24A1345-THALES\Simulation_FEM\Traitement_Vibration.ipynb in e:\Python\AFF\24A1345-THALES\Simulation_FEM with ports 9009, 9008, 9012, 9010, 9011
> 14:25:37.308 [warn] Failed to get activated env vars for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe in 640ms
> 14:25:37.309 [debug] Create ProcessService, Class name = Em (started execution), Arg 1: undefined
> 14:25:37.312 [warn] Failed to get activated env vars for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe in 836ms
> 14:25:37.314 [warn] Failed to get activated env vars for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe in 449ms
> 14:25:37.316 [debug] Get Custom Env Variables, Class name = Pm, completed in 7ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunNonPythonCode", Arg 3: undefined
> 14:25:37.316 [debug] Create ProcessService, Class name = Em, completed in 7ms, has a truthy return value, Arg 1: undefined
> 14:25:37.398 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe -c "import site;print("USER_BASE_VALUE");print(site.USER_SITE);print("USER_BASE_VALUE");"
> 14:25:37.617 [trace] USER_SITE for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe is c:\Users\~\AppData\Roaming\Python\Python311\Scripts
> 14:25:37.618 [trace] Prepend PATH with user site path for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe, user site c:\Users\~\AppData\Roaming\Python\Python311\Scripts
> 14:25:37.618 [trace] Prepend PATH with python bin for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:37.618 [trace] Prepend PATH with user site path for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe, user site c:\Users\~\AppData\Roaming\Python\Python311\Scripts
> 14:25:37.618 [trace] Prepend PATH with python bin for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:37.618 [trace] Prepend PATH with user site path for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe, user site c:\Users\~\AppData\Roaming\Python\Python311\Scripts
> 14:25:37.618 [trace] Prepend PATH with python bin for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:37.619 [debug] Getting activated env variables, Class name = Sd, completed in 951ms, has a truthy return value, Arg 1: "Untitled-1.ipynb", Arg 2: "C:\\PYTHON\\WPY64-31180\\PYTHON-3.11.8.AMD64\\PYTHON.EXE", Arg 3: undefined
> 14:25:37.619 [debug] Getting activated env variables, Class name = Sd, completed in 1143ms, has a truthy return value, Arg 1: "/e:/Python/AFF/24A1345-THALES", Arg 2: "C:\\PYTHON\\WPY64-31180\\PYTHON-3.11.8.AMD64\\PYTHON.EXE", Arg 3: undefined
> 14:25:37.619 [debug] Getting activated env variables, Class name = Sd, completed in 754ms, has a truthy return value, Arg 1: "/e:/Python/AFF/24A1345-THALES/Simulation_FEM/Traitement_Vibration.ipynb", Arg 2: "C:\\PYTHON\\WPY64-31180\\PYTHON-3.11.8.AMD64\\PYTHON.EXE", Arg 3: undefined
> 14:25:37.648 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> 14:25:37.672 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 3240
>     > cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\pythonFiles\vscode_datascience_helpers
> 14:25:37.698 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe -m pip list
> 14:25:37.737 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> 14:25:37.847 [trace] Got a response of 1748 for INITIALIZE_INTERRUPT:0
> 14:25:37.868 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v30cf854fbee8e4a4e779e34618b4400718e4a1e57.json
>     > cwd: e:\Python\AFF\24A1345-THALES
> 14:25:37.868 [debug] Kernel process 16992.
> 14:25:37.874 [trace] Got a response of 1752 for INITIALIZE_INTERRUPT:1
> 14:25:37.904 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v3270bedf449457eccdf32c2f4a0aaa790eb592723.json
>     > cwd: e:\Python\AFF\24A1345-THALES\Simulation_FEM
> 14:25:37.905 [debug] Kernel process 25908.
> 14:25:37.919 [trace] Conda file is conda
> 14:25:37.928 [trace] Python API env change detected, update => 'C:\PYTHON\WPY64-31180\PYTHON-3.11.8.AMD64\PYTHON.EXE'
> 14:25:37.930 [debug] Refreshed Environments
> 14:25:38.048 [trace] ipykernel version & path 6.29.0, c:\Python\WPy64-31180\python-3.11.8.amd64\Lib\site-packages\ipykernel\__init__.py for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:38.142 [trace] ipykernel version & path 6.29.0, c:\Python\WPy64-31180\python-3.11.8.amd64\Lib\site-packages\ipykernel\__init__.py for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:38.187 [debug] Interpreter for Pylance for Notebook URI "Untitled-1.ipynb" is c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:38.599 [debug] Interpreter for Pylance for Notebook URI "e:\Python\AFF\24A1345-THALES\Simulation_FEM\Traitement_Vibration.ipynb" is c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:38.943 [debug] End refreshing Kernel Picker (1734009934389)
> 14:25:39.009 [debug] Waiting for Raw Session to be ready in postStartRawSession
> 14:25:39.009 [debug] Waiting for Raw session to be ready, status: connected
> 14:25:39.009 [trace] Raw session connected
> 14:25:39.010 [debug] Waited for Raw session to be ready & got status: connected
> 14:25:39.011 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
> 14:25:39.011 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
> 14:25:39.011 [debug] Sending request for kernelInfo
> 14:25:39.013 [debug] Kernel output 16992: To connect another client to this kernel, use:
> --existing c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v30cf854fbee8e4a4e779e34618b4400718e4a1e57.json
> 14:25:39.013 [debug] Kernel output 25908: To connect another client to this kernel, use:
> --existing c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v3270bedf449457eccdf32c2f4a0aaa790eb592723.json
> 14:25:39.151 [debug] Waiting for Raw Session to be ready in postStartRawSession
> 14:25:39.151 [debug] Waiting for Raw session to be ready, status: connected
> 14:25:39.151 [trace] Raw session connected
> 14:25:39.152 [debug] Waited for Raw session to be ready & got status: connected
> 14:25:39.152 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
> 14:25:39.152 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
> 14:25:39.152 [debug] Sending request for kernelInfo
> 14:25:39.522 [trace] Did not get a response for requestKernelInfo
> 14:25:39.522 [debug] Sending request for kernelInfo
> 14:25:39.657 [trace] Did not get a response for requestKernelInfo
> 14:25:39.657 [debug] Sending request for kernelInfo
> 14:25:39.965 [trace] Got response for requestKernelInfo
> 14:25:39.965 [debug] Successfully completed postStartRawSession after 2 attempt(s) in 954ms
> 14:25:39.969 [trace] Executing silently Code (busy) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
> 14:25:39.977 [trace] Got response for requestKernelInfo
> 14:25:39.977 [debug] Successfully completed postStartRawSession after 2 attempt(s) in 825ms
> 14:25:39.980 [trace] Executing silently Code (busy) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
> 14:25:39.984 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
> 14:25:39.985 [trace] Started running kernel initialization for e:\Python\AFF\24A1345-THALES\Simulation_FEM\Traitement_Vibration.ipynb
> 14:25:39.985 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
> 14:25:39.992 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
> 14:25:39.992 [trace] Started running kernel initialization for Untitled-1.ipynb
> 14:25:39.992 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
> 14:25:40.056 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
> 14:25:40.057 [trace] Determined IPyWidgets Version as 8
> 14:25:40.058 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
> 14:25:40.073 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
> 14:25:40.074 [debug] Requesting Kernel info
> 14:25:40.074 [trace] Got Kernel info
> 14:25:40.075 [trace] End running kernel initialization, now waiting for idle
> 14:25:40.075 [trace] Waiting for idle on (kernel): f9dcc4a1-befe-42a7-bc5e-e6508916d86d -> idle
> 14:25:40.075 [trace] Finished waiting for idle on (kernel): f9dcc4a1-befe-42a7-bc5e-e6508916d86d -> idle
> 14:25:40.076 [trace] End running kernel initialization, session is idle
> 14:25:40.077 [trace] Registering Kernel Completion Provider from kernel Python 3.11.8 for language python
> 14:25:40.077 [info] Kernel successfully started
> 14:25:40.082 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
> 14:25:40.082 [trace] Determined IPyWidgets Version as 8
> 14:25:40.083 [trace] Version of IPyWidgets 8 determined after 3.865s
> 14:25:40.083 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
> 14:25:40.098 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
> 14:25:40.099 [debug] Requesting Kernel info
> 14:25:40.099 [trace] Got Kernel info
> 14:25:40.100 [trace] End running kernel initialization, now waiting for idle
> 14:25:40.100 [trace] Waiting for idle on (kernel): 9fcb62be-f64c-48e2-87a6-8de030cc83f9 -> idle
> 14:25:40.100 [trace] Finished waiting for idle on (kernel): 9fcb62be-f64c-48e2-87a6-8de030cc83f9 -> idle
> 14:25:40.101 [trace] End running kernel initialization, session is idle
> 14:25:40.101 [trace] Registering Kernel Completion Provider from kernel Python 3.11.8 for language python
> 14:25:40.102 [trace] IPyWidgetScriptSource.initialize
> 14:25:40.102 [info] Kernel successfully started
> 14:25:40.105 [debug] getDataDirsImpl, Class name = Kr (started execution), Arg 1: "Untitled-1.ipynb", Arg 2: "C:\\PYTHON\\WPY64-31180\\PYTHON-3.11.8.AMD64\\PYTHON.EXE"
> 14:25:40.106 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
> 14:25:40.106 [debug] Jupyter Paths : 
> 14:25:40.107 [debug] Get Custom Env Variables, Class name = Pm, completed in 0ms, has a truthy return value, Arg 1: "Untitled-1.ipynb", Arg 2: "RunPythonCode"
> 14:25:40.127 [warn] Failed to get activated env vars for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe in 20ms
> 14:25:40.129 [trace] Prepend PATH with user site path for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe, user site c:\Users\~\AppData\Roaming\Python\Python311\Scripts
> 14:25:40.129 [trace] Prepend PATH with python bin for c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe
> 14:25:40.129 [debug] Getting activated env variables, Class name = Sd, completed in 22ms, has a truthy return value, Arg 1: "Untitled-1.ipynb", Arg 2: "C:\\PYTHON\\WPY64-31180\\PYTHON-3.11.8.AMD64\\PYTHON.EXE", Arg 3: undefined
> 14:25:40.172 [info] Process Execution: c:\Python\WPy64-31180\python-3.11.8.amd64\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\pythonFiles\printJupyterDataDir.py
> 14:25:40.258 [debug] getDataDirsImpl, Class name = Kr, completed in 153ms, has a truthy return value, Arg 1: "Untitled-1.ipynb", Arg 2: "C:\\PYTHON\\WPY64-31180\\PYTHON-3.11.8.AMD64\\PYTHON.EXE", Return Value: <Uri:/C:/Users/~/AppData/Roaming/Python/share/jupyter>, <Uri:/C:/Users/~/AppData/Roaming/jupyter>, <Uri:/C:/Python/WPy64-31180/python-3.11.8.amd64/share/jupyter>, <Uri:/C:/ProgramData/jupyter>
> 14:25:40.638 [trace] Web view is ready to receive widget messages
> 14:25:40.659 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
> 14:25:40.660 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
> 14:25:40.671 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter
> 14:25:40.671 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
> 14:25:40.671 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
> 14:25:40.672 [trace] Widget Message: data-base-url set to https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter
> 14:25:40.686 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"anywidget","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/anywidget/index","source":"local"}]
> 14:25:40.687 [trace] Widget Message: Source for IPyWidget anywidget found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/anywidget/index.
> 14:25:40.688 [trace] Widget Message: Registering IPyWidget anywidget found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/anywidget/index.
> 14:25:40.689 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"bqplot","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/bqplot/index","source":"local"}]
> 14:25:40.689 [trace] Widget Message: Source for IPyWidget bqplot found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/bqplot/index.
> 14:25:40.689 [trace] Widget Message: Registering IPyWidget bqplot found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/bqplot/index.
> 14:25:40.689 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"ipycanvas","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/ipycanvas/index","source":"local"}]
> 14:25:40.690 [trace] Widget Message: Source for IPyWidget ipycanvas found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/ipycanvas/index.
> 14:25:40.690 [trace] Widget Message: Registering IPyWidget ipycanvas found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/ipycanvas/index.
> 14:25:40.690 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"ipydatagrid","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/ipydatagrid/index","source":"local"}]
> 14:25:40.691 [trace] Widget Message: Source for IPyWidget ipydatagrid found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/ipydatagrid/index.
> 14:25:40.691 [trace] Widget Message: Registering IPyWidget ipydatagrid found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/ipydatagrid/index.
> 14:25:40.691 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"@bokeh/jupyter_bokeh","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter_bokeh/index","source":"local"}]
> 14:25:40.692 [trace] Widget Message: Source for IPyWidget @bokeh/jupyter_bokeh found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter_bokeh/index.
> 14:25:40.692 [trace] Widget Message: Registering IPyWidget @bokeh/jupyter_bokeh found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter_bokeh/index.
> 14:25:40.692 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"jupyter-leaflet","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter-leaflet/index","source":"local"}]
> 14:25:40.692 [trace] Widget Message: Source for IPyWidget jupyter-leaflet found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter-leaflet/index.
> 14:25:40.693 [trace] Widget Message: Registering IPyWidget jupyter-leaflet found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter-leaflet/index.
> 14:25:40.693 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"jupyter-matplotlib","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter-matplotlib/index","source":"local"}]
> 14:25:40.693 [trace] Widget Message: Source for IPyWidget jupyter-matplotlib found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter-matplotlib/index.
> 14:25:40.693 [trace] Widget Message: Registering IPyWidget jupyter-matplotlib found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyter-matplotlib/index.
> 14:25:40.694 [trace] Widget Message: Received IPyWidget scripts [{"moduleName":"jupyterlab-plotly","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyterlab-plotly/index","source":"local"}]
> 14:25:40.694 [trace] Widget Message: Source for IPyWidget jupyterlab-plotly found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyterlab-plotly/index.
> 14:25:40.694 [trace] Widget Message: Registering IPyWidget jupyterlab-plotly found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/~/.vscode/extensions/ms-toolsai.jupyter-2024.11.0-win32-x64/temp/scripts/4f952ea9764e1ae584c7bbb0f84b0e57788103cd5d6e1331fb13b6b8a357a245/jupyter/nbextensions/jupyterlab-plotly/index.
> 14:25:42.357 [debug] Handle Execution of Cells 0,1,2,3,4 for Untitled-1.ipynb
> 14:25:42.358 [trace] Execute Notebook Untitled-1.ipynb. Step 1
> 14:25:42.358 [trace] Connect to Kernel Untitled-1.ipynb. Step 2
> 14:25:42.359 [trace] Connected to Kernel Untitled-1.ipynb. Step 3
> 14:25:42.359 [trace] executeCell 0. Step 4
> 14:25:42.360 [trace] executeCell 1. Step 4
> 14:25:42.360 [trace] executeCell 2. Step 4
> 14:25:42.360 [trace] executeCell 3. Step 4
> 14:25:42.360 [trace] executeCell 4. Step 4
> 14:25:42.362 [trace] Cell Index:0 sent to kernel
> 14:25:42.367 [trace] Start cell 0 execution @ 1734009942367 (clear output)
> 14:25:42.367 [debug] Kernel acknowledged execution of cell 0 @ 1734009942367
> 14:25:42.372 [trace] Cell 0 completed in 0.005s (start: 1734009942367, end: 1734009942372)
> 14:25:42.373 [trace] Cell 0 executed successfully
> 14:25:42.374 [trace] Cell Index:1 sent to kernel
> 14:25:42.379 [trace] Start cell 1 execution @ 1734009942379 (clear output)
> 14:25:42.379 [debug] Kernel acknowledged execution of cell 1 @ 1734009942379
> 14:25:42.421 [trace] Widget Message: WidgetManager: Loading class LayoutModel:@jupyter-widgets/base:2.0.0
> 14:25:42.425 [trace] Widget Message: WidgetManager: Loading class MPLCanvasModel:jupyter-matplotlib:^0.11
> 14:25:42.451 [trace] Widget Message: WidgetManager: Loading class LayoutModel:@jupyter-widgets/base:2.0.0
> 14:25:42.456 [trace] Widget Message: WidgetManager: Loading class ToolbarModel:jupyter-matplotlib:^0.11
> 14:25:42.486 [trace] Cell 1 completed in 0.107s (start: 1734009942379, end: 1734009942486)
> 14:25:42.487 [trace] Cell 1 executed successfully
> 14:25:42.488 [trace] Cell Index:2 sent to kernel
> 14:25:42.505 [trace] Widget Message: Received display data message 8885857183574df7861d6a2293f85815
> 14:25:42.507 [trace] Version of IPyWidgets 8 determined after 0s
> 14:25:42.519 [trace] Widget Message: Waiting for model to be available before rendering it 8885857183574df7861d6a2293f85815
> 14:25:42.520 [trace] Widget Message: WidgetManager: Loading class MPLCanvasView:jupyter-matplotlib:^0.11
> 14:25:42.524 [trace] Widget Message: WidgetManager: Loading class ToolbarView:jupyter-matplotlib:^0.11
> 14:25:42.550 [trace] Widget Message: WidgetManager: Loading class LayoutView:@jupyter-widgets/base:2.0.0
> 14:25:42.553 [trace] Start cell 2 execution @ 1734009942553 (clear output)
> 14:25:42.553 [debug] Kernel acknowledged execution of cell 2 @ 1734009942553
> 14:25:42.689 [trace] Cell 2 completed in 0.135s (start: 1734009942553, end: 1734009942688)
> 14:25:42.689 [trace] Cell 2 executed successfully
> 14:25:42.690 [trace] Cell Index:3 sent to kernel
> 14:25:42.706 [error] Failed to handle iopub message as a result of some comm message {
>   header: {
>     msg_id: '3a352463-1fc237bec8f82d7cf83e7bd6_16992_85',
>     msg_type: 'status',
>     username: 'username',
>     session: '3a352463-1fc237bec8f82d7cf83e7bd6',
>     date: '2024-12-12T13:25:42.698642Z',
>     version: '5.3'
>   },
>   parent_header: {
>     date: '2024-12-12T13:25:42.690000Z',
>     msg_id: '48c1be86-ef05-43bd-b34d-183d66e3b065',
>     msg_type: 'execute_request',
>     session: '3defa18d-8a3c-423f-a85b-e3f1b3de5e03',
>     username: 'decb241b-a295-4d56-9e52-3b4c520ef4b2',
>     version: '5.2'
>   },
>   metadata: {},
>   content: { execution_state: 'busy' },
>   idents: [
>     <Buffer 6b 65 72 6e 65 6c 2e 30 32 63 38 39 62 33 63 2d 65 61 65 62 2d 34 65 32 61 2d 38 30 66 38 2d 37 61 35 65 30 33 31 38 61 36 36 36 2e 73 74 61 74 75 73>
>   ],
>   buffers: [],
>   channel: 'iopub'
> } [Error: Cannot call start again
> 	at Object.start (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:28328)
> 	at uN.start (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:115:28376)
> 	at rp.handleIOPub (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:7146)
> 	at rp.onKernelIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:5781)
> 	at D (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:20100)
> 	at Object.d [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:19765)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:17896)
> 	at $_.onIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:304:16955)
> 	at $ (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:37168)
> 	at Object.C [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:36888)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:34832)
> 	at n._handleMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:17:60716)]
> 14:25:42.707 [error] Cell (index = 3) execution completed with errors (2). [Error: Cannot call start again
> 	at Object.start (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:28328)
> 	at uN.start (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:115:28376)
> 	at rp.handleIOPub (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:7146)
> 	at rp.onKernelIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:5781)
> 	at D (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:20100)
> 	at Object.d [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:19765)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:17896)
> 	at $_.onIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:304:16955)
> 	at $ (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:37168)
> 	at Object.C [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:36888)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:34832)
> 	at n._handleMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:17:60716)]
> 14:25:42.707 [warn] Cell completed with errors undefined
> 14:25:42.707 [trace] Cell 3 completed in 1734009942.707s (start: undefined, end: 1734009942707)
> 14:25:42.708 [trace] Cell 3 executed with an error
> 14:25:42.710 [error] Error in cell execution undefined
> 14:25:42.710 [error] Error in execution (get message for cell) undefined
> 14:25:42.711 [warn] Cancel all remaining cells due to cancellation or failure in execution
> 14:25:42.711 [debug] Cancel pending cells
> 14:25:42.711 [trace] Cell 4 completed in 0s (start: undefined, end: undefined)
> 14:25:42.712 [trace] Cell 4 executed successfully
> 14:25:42.724 [error] Failed to handle iopub message as a result of some comm message {
>   header: {
>     msg_id: '3a352463-1fc237bec8f82d7cf83e7bd6_16992_87',
>     msg_type: 'execute_result',
>     username: 'username',
>     session: '3a352463-1fc237bec8f82d7cf83e7bd6',
>     date: '2024-12-12T13:25:42.717549Z',
>     version: '5.3'
>   },
>   parent_header: {
>     date: '2024-12-12T13:25:42.690000Z',
>     msg_id: '48c1be86-ef05-43bd-b34d-183d66e3b065',
>     msg_type: 'execute_request',
>     session: '3defa18d-8a3c-423f-a85b-e3f1b3de5e03',
>     username: 'decb241b-a295-4d56-9e52-3b4c520ef4b2',
>     version: '5.2'
>   },
>   metadata: {},
>   content: {
>     data: { 'text/plain': '[<matplotlib.lines.Line2D at 0x297cd23bf50>]' },
>     metadata: {},
>     execution_count: 4
>   },
>   idents: [
>     <Buffer 6b 65 72 6e 65 6c 2e 30 32 63 38 39 62 33 63 2d 65 61 65 62 2d 34 65 32 61 2d 38 30 66 38 2d 37 61 35 65 30 33 31 38 61 36 36 36 2e 65 78 65 63 75 74 ... 8 more bytes>
>   ],
>   buffers: [],
>   channel: 'iopub'
> } [Error: Cannot modify cell output after calling resolve
> 	at gI.t (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:27469)
> 	at Object.appendOutput (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:28717)
> 	at uN.appendOutput (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:115:29064)
> 	at rp.addToCellData (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:11276)
> 	at rp.handleExecuteResult (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:13562)
> 	at rp.handleIOPub (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:7405)
> 	at rp.onKernelIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:5781)
> 	at D (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:20100)
> 	at Object.d [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:19765)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:17896)
> 	at $_.onIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:304:16955)
> 	at $ (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:37168)
> 	at Object.C [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:36888)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:34832)
> 	at n._handleMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:17:60716)]
> 14:25:42.806 [error] Failed to handle iopub message as a result of some comm message {
>   header: {
>     msg_id: '3a352463-1fc237bec8f82d7cf83e7bd6_16992_88',
>     msg_type: 'display_data',
>     username: 'username',
>     session: '3a352463-1fc237bec8f82d7cf83e7bd6',
>     date: '2024-12-12T13:25:42.798327Z',
>     version: '5.3'
>   },
>   parent_header: {
>     date: '2024-12-12T13:25:42.690000Z',
>     msg_id: '48c1be86-ef05-43bd-b34d-183d66e3b065',
>     msg_type: 'execute_request',
>     session: '3defa18d-8a3c-423f-a85b-e3f1b3de5e03',
>     username: 'decb241b-a295-4d56-9e52-3b4c520ef4b2',
>     version: '5.2'
>   },
>   metadata: {},
>   content: {
>     data: {
>       'text/plain': '<Figure size 640x480 with 1 Axes>',
>       'image/png': 'iVBORw0KGgoAAAANSUhEUgAAAiMAAAGdCAYAAADAAnMpAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/TGe4hAAAACXBIWXMAAA9hAAAPYQGoP6dpAADU7ElEQVR4nO39e9glVXkmDt+1j++h3377RHdzaKARBBEEAoKNmaARReKXkUzGz/iZQIxxxvxgRuNc44QcTCb5Mm0mn1Fn4kicfMovYwjGRDExBiUoHiKCICBoOAnSDfQB+vCeD/tQvz/2flY9tWqtqlVVq/Zx3dfVV3fvd7+1a1etWutZ93M/9+P5vu/DwcHBwcHBwaFPKPX7BBwcHBwcHBzGGy4YcXBwcHBwcOgrXDDi4ODg4ODg0Fe4YMTBwcHBwcGhr3DBiIODg4ODg0Nf4YIRBwcHBwcHh77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kvLEipWn6agcvde2tpLAupgVxQqUZKZgZWWSt6Ul0a4MZoRTNmTtmQpOK7qHlD3fROx8+mel8RlZsMCMiGJnuHCfjdaXSaxOfEXJhHTWfkZZUPSIH6ccVzIjqvoWZEUrTDH4wwpkRYsgWYgSseedC+v0zTuiM3U/9849jDQJtIqk3zSC4y8rzmE3X6kGBC0ZSQGhG+syMtNs+FqXyy2qGNM1kNZqmWVpvaduF28DyWhDQlbsPv42gjmzgz9q+IUS36u5RvxxYVzSakRAzknHyo2Dk1C05mZEUAlYKaAchr24TctAop2mIFdg2EwQjqrHG04HDlKah866UPbH5ilTTLPE0jR3NyJsvOBk7N07ghYU13PbAc7mOaQqdZmSQTM/kykCXphlzRDQjfaqm6VhKd/5NaRp6cEwGKan5eTXNhnpF7ISLTNXwSg1yGrcR1FGDvJfu2BCaVHTXo7fVNAbMCKuwyMLUrDfb4r5Rmibr9xIC1npymiZNEDxMkNmLQ/OygLWzEG+dDtI0qh00sVOeF8wbw1DayxdoXTBi6kBr9Hnd35+slfDOn9wNAPjEN56y5kEUB8GMaEzPBsEx15meOYQga0b6JWClSaHkBbqPNGKrIE0Tvv29ELEGwttimJEzt8+EmRHNPQr7jBTswGpgB583TXNofhW+36GWd3bvY/ZqGnM7+NoAGUPZhCw0jqRpugLLTVM1EZCpNie8bJQcj4ehtFdZTcOa5a032yKdB+TfmDXZ5/3CpbswU6/gRy8s4auPHs513DSfraumGYRAW/YVcZqRMQe5W07X+qsZWWBW8NS2PV3X3qhmBOhNeW+gR6iIoCHv7md+'... 62876 more characters
>     },
>     metadata: {},
>     transient: {}
>   },
>   idents: [ <Buffer 64 69 73 70 6c 61 79 5f 64 61 74 61> ],
>   buffers: [],
>   channel: 'iopub'
> } [Error: Cannot modify cell output after calling resolve
> 	at gI.t (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:27469)
> 	at Object.appendOutput (file:///c:/Users/~/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:28717)
> 	at uN.appendOutput (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:115:29064)
> 	at rp.addToCellData (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:11276)
> 	at rp.handleDisplayData (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:16620)
> 	at rp.handleIOPub (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:7681)
> 	at rp.onKernelIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:295:5781)
> 	at D (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:20100)
> 	at Object.d [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:19765)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:30:17896)
> 	at $_.onIOPubMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\extension.node.js:304:16955)
> 	at $ (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:37168)
> 	at Object.C [as emit] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:36888)
> 	at i.emit (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:3:34832)
> 	at n._handleMessage (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.11.0-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\default.js:17:60716)]
> ```

</details>> 

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Dec 24, 2024

I've managed to replicate this in Jupyter lab as well. Hence this isn't an issue with Jupyter extension in VS Code.
Install the Jupyter Lab Kernel Spy extension to view the messages received and you'll see the message no such comm being returned by the kernel in Jupyter lab as well.
The fact that these messages are displayed is a bug and tracked here #15996

As for this bug, well given that its in Jupyter Lab as well, I suspect its either a probelm in IPyKenrrel or matplotlib, and believe the fix for both Jupyter Lab and VS Code (JUpyter extension) is the same, i.e. fix the problem in the Python code, and thats beyond the scope of this extension as those packages aren't owned nor managed by us..

Closing this for now, again the issue with displaying of messages is tracked here #15996

Image

@DonJayamanne DonJayamanne added the upstream-other Cause by some other upstream package/app label Dec 24, 2024
@t-fourcade-isp
Copy link

@DonJayamanne, thank you for your time and effort.

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 ipywidgets Rendering, loading, saving, anything to do with IPyWidgets upstream-other Cause by some other upstream package/app
Projects
None yet
Development

No branches or pull requests

3 participants