microsoft / vscode-jupyter

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

Issue adding cells to group 1 in Jupyter Notebook after VSCode update #15666

Open eyalcell1 opened 2 months ago

eyalcell1 commented 2 months ago

Type: Bug

Dear VSCode Team,

I'm writing to report an issue I'm experiencing with adding cells to group 1 in Jupyter Notebook after a recent VSCode update.

Problem:

After updating VSCode, I'm unable to add cells to group 1 in my Jupyter Notebook. When I click the option to add cells to group 1, nothing happens. I cannot execute the group of cells as a unit. Please let me know if there are any known compatibility issues with the current VSCode version and the Jupyter extension I'm using.

Extension version: 2024.4.0 VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)| |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| |Load (avg)|undefined| |Memory (System)|31.95GB (18.59GB free)| |Process Argv|--crash-reporter-id ce671b7b-b44e-4cc6-b63f-bae9a512adac| |Screen Reader|no| |VM|50%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 chatpanelt:31018789 dsvsc021:30996838 jg8ic977:31013176 pythoncenvpt:31022790 dwnewjupyter:31035176 ```
rk-exxec commented 2 months ago

Same issue here with either group.

Version: 1.89.0 (user setup) Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd Date: 2024-05-01T02:09:22.859Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.19045

Jupyter v2024.4.0

Jupyter logs:

Visual Studio Code (1.89.0, undefined, desktop)
Jupyter Extension Version: 2024.4.0.
Python Extension Version: 2024.6.0.
Pylance Extension Version: 2024.5.1.
Platform: win32 (x64).
Workspace folder ~\Documents\Python\ridge_evaluation, Home = c:\Users\xxxxxx
13:11:55.273 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd03c389b09eee7682cca26f96bfd92264169b66e9baee998540ad2c35ee799250b.c:\Users\~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe.c:\Users\~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe.-m#ipykernel_launcher  (Python Path: ~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe, Venv, .venv (Python 3.12.2), 3.12.2) for '~\Documents\Python\ridge_evaluation\ridge_extract_and_fit_evap.ipynb' (disableUI=true)
13:11:57.711 [warn] Failed to get activated env vars for ~\AppData\Local\Programs\Python\Python311\python.exe in 83ms
13:11:57.721 [info] Process Execution: ~\AppData\Local\Programs\Python\Python311\python.exe -c "import site;print("USER_BASE_VALUE");print(site.USER_SITE);print("USER_BASE_VALUE");"
13:11:57.830 [info] Process Execution: ~\AppData\Local\Programs\Python\Python311\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.4.0-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 20500
    > cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2024.4.0-win32-x64\pythonFiles\vscode_datascience_helpers
13:11:58.231 [info] Process Execution: ~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v2-205005pQtUljoBO5A.json
    > cwd: ~\Documents\Python\ridge_evaluation
13:11:58.378 [info] Process Execution: ~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
13:11:58.476 [info] Process Execution: ~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe -m pip list
13:11:59.839 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0911e113dd2931c3b053bd6497bbbbbae80b8c5148f6ff8f054f56aaff5cc1d4a.c:\Users\~\AppData\Local\Programs\Python\Python39\python.exe.c:\Users\~\AppData\Local\Programs\Python\Python39\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook'
13:11:59.841 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0911e113dd2931c3b053bd6497bbbbbae80b8c5148f6ff8f054f56aaff5cc1d4a.c:\Users\~\AppData\Local\Programs\Python\Python39\python.exe.c:\Users\~\AppData\Local\Programs\Python\Python39\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
13:12:00.341 [info] Process Execution: ~\Documents\Python\ridge_evaluation\.venv\Scripts\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.4.0-win32-x64\pythonFiles\printJupyterDataDir.py
13:12:00.432 [warn] Got an empty Jupyter Data Dir from C:\USERS\~\DOCUMENTS\PYTHON\RIDGE_EVALUATION\.VENV\SCRIPTS\PYTHON.EXE, stderr = undefined
13:12:01.245 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0f0a89f24105b2985a19b0bacdd222f9928724bd8339705e5fe31440efd44b57a.c:\Users\~\AppData\Local\Programs\Python\Python37\python.exe.c:\Users\~\AppData\Local\Programs\Python\Python37\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook'
13:12:01.246 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0f0a89f24105b2985a19b0bacdd222f9928724bd8339705e5fe31440efd44b57a.c:\Users\~\AppData\Local\Programs\Python\Python37\python.exe.c:\Users\~\AppData\Local\Programs\Python\Python37\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
13:12:01.278 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0d0314b259dffab982c7b525c764f6f5ecd7af6bacdb4bcf6639e68ea5a5973b5.c:\Users\~\AppData\Local\Programs\Python\Python38\python.exe.c:\Users\~\AppData\Local\Programs\Python\Python38\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook'
13:12:01.279 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0d0314b259dffab982c7b525c764f6f5ecd7af6bacdb4bcf6639e68ea5a5973b5.c:\Users\~\AppData\Local\Programs\Python\Python38\python.exe.c:\Users\~\AppData\Local\Programs\Python\Python38\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
eyalcell1 commented 2 months ago

Yes, the same problem exists in each group.

DonJayamanne commented 2 months ago

Please can you share a screenshot of the error or what you are trying to do I don’t quite understand what you mean by group 1

eyalcell1 commented 2 months ago

image

Hi, Please have a look at the screenshot , I'm having trouble adding cells to groups in Jupyter Clicking the icon "|+" (right arrow in the screenshot) doesn't seem to do anything , and the "Execute groupX" buttons (at the left arrow ) are grayed and unclickable.