-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Something wrong with launching Python Debugger in 3.10 #3364
Comments
This was an issue with the auto-compiled version of the Jupyter extension, most likely: I have manually fixed the version on the extension gallery. Can you reinstall the latest versions of both |
@oxy |
Can you provide logs when you have the latest version of both extensions? |
FWIW, I tested out the Python extension yesterday and it seemed to be working: #2675 (comment) |
@jsjoeio |
@oxy |
@oxy `[2021-05-13 13:14:41.344] [exthost] [info] extension host terminating: received terminate message from renderer
|
I just downgraded my cdr code-server docker because jupyter was broken, what works for me is cdr code-server 3.9.3 and https://github.com/microsoft/vscode-python/releases/download/2020.10.332292344/ms-python-release.vsix |
Ah, my apologies. I didn't realize it was specifically with pressing F5 which sounds like it's specifically with the debugging |
Hey there; I just tested a clean install of 3.10.2 by installing the Python/Jupyter extensions, and it works fine (setting breakpoints, F5 for debug, autocomplete, variable/stack inspection/etc.); I'm closing this for now. |
OS/Web Information
Steps to Reproduce
Expected
Everything should be as usual.
Actual
It said that there is something wrong in my configuration, which works perfectly in 3.9.3.
I found that it could be fixed by degrading the extension of jupyter to 2021.3. In this way, I can run python files corretctly. However, jupyter notebooks cannot be shown correctly in this way, what I get is a blank page. The following section is the log of jupyter.
It seems that the support for python is down in coder-server 3.10.
Logs
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonFindInterpreter'
User belongs to experiment group 'pythonSurveyNotification'
User belongs to experiment group 'jupyterEnhancedDataViewer'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/pythonFiles/pyvsc-run-isolated.py", line 26, in
runpy.run_module(module, run_name="main", alter_sys=True)
File "/usr/lib/python3.8/runpy.py", line 207, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/pythonFiles/vscode_datascience_helpers/daemon/main.py", line 137, in
main()
File "/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/pythonFiles/vscode_datascience_helpers/daemon/main.py", line 133, in main
raise Exception("Failed to start daemon")
Exception: Failed to start daemon
Error 2021-05-12 03:52:01: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:01: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:01: Pinging Daemon Failed, Class name = d, completed in 5005ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:01: Failed to create daemon, Class name = d, completed in 5086ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:01: Failed to create the daemon service, defaulting to activated environment [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/pythonFiles/pyvsc-run-isolated.py", line 26, in
runpy.run_module(module, run_name="main", alter_sys=True)
File "/usr/lib/python3.8/runpy.py", line 207, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/pythonFiles/vscode_datascience_helpers/daemon/main.py", line 137, in
main()
File "/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/pythonFiles/vscode_datascience_helpers/daemon/main.py", line 133, in main
raise Exception("Failed to start daemon")
Exception: Failed to start daemon
Error 2021-05-12 03:52:05: Failed to start the Daemon, ProcEndEx [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:05: Failed to start the Daemon, Ex [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:05: Pinging Daemon Failed, Class name = d, completed in 5003ms, has a falsy return value, Arg 1: {}, Return Value: undefined [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:05: Failed to create daemon, Class name = d, completed in 5041ms, has a falsy return value, , Return Value: undefined [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Error 2021-05-12 03:52:05: Failed to create the daemon service, defaulting to activated environment [Error: Timeout waiting for daemon to start
at Timeout._onTimeout (/root/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.3.0/out/client/extension.js:32:199033)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
Notes
This issue can be reproduced in VS Code: No
The text was updated successfully, but these errors were encountered: