Closed
Description
Encountered an issue this morning with no known meaningful changes to my python environment or vs code version.
~/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/_vendored/force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported:
~/.conda/envs/llama3/lib/python3.10/site-packages/pydevd_plugins/extensions/pydevd_plugin_omegaconf.py
warnings.warn(msg + ':\n {}'.format('\n '.join(_unvendored)))
This warning eventually results in the following errors
Exception ignored in atexit callbackException ignored in atexit callbackUncaught exception in compile_worker subprocess
Traceback (most recent call last):
File "/home/kyle/.conda/envs/llama3/lib/python3.10/site-packages/torch/_inductor/compile_worker/__main__.py", line 69, in main
SubprocMain(args.pickler, args.kind, args.workers, read_fd, write_fd).main()
File "/home/kyle/.conda/envs/llama3/lib/python3.10/site-packages/torch/_inductor/compile_worker/subproc_pool.py", line 267, in __init__
self.pool = self._new_pool(nprocs, True)
File "/home/kyle/.conda/envs/llama3/lib/python3.10/site-packages/torch/_inductor/compile_worker/subproc_pool.py", line 278, in _new_pool
_warm_process_pool(pool, nprocs)
File "/home/kyle/.conda/envs/llama3/lib/python3.10/site-packages/torch/_inductor/compile_worker/subproc_pool.py", line 366, in _warm_process_pool
pool._adjust_process_count()
File "/home/kyle/.conda/envs/llama3/lib/python3.10/concurrent/futures/process.py", line 697, in _adjust_process_count
self._spawn_process()
File "/home/kyle/.conda/envs/llama3/lib/python3.10/concurrent/futures/process.py", line 714, in _spawn_process
p.start()
File "/home/kyle/.conda/envs/llama3/lib/python3.10/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/home/kyle/.conda/envs/llama3/lib/python3.10/multiprocessing/context.py", line 281, in _Popen
return Popen(process_obj)
File "/home/kyle/.conda/envs/llama3/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/home/kyle/.conda/envs/llama3/lib/python3.10/multiprocessing/popen_fork.py", line 66, in _launch
self.pid = os.fork()
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py", line 965, in new_fork
_on_forked_process(setup_tracing=apply_arg_patch and not is_subprocess_fork)
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py", line 240, in _on_forked_process
pydevd.settrace_forked(setup_tracing=setup_tracing)
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py", line 3348, in settrace_forked
settrace(
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py", line 3020, in settrace
_locked_settrace(
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py", line 3102, in _locked_settrace
py_db.connect(host, port) # Note: connect can raise error.
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/pydevd.py", line 1508, in connect
s = start_client(host, port)
File "/home/kyle/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 531, in start_client
s.connect((host, port))
TimeoutError: timed out
: : <function _exit_function at 0x7f01d91c9d80><function _exit_function at 0x7f01d91c9d80>
I am in a remote development environment, with the following versions of software.
VS Code:
Version: 1.100.3 (Universal)
Commit: 258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3
Date: 2025-06-02T13:30:54.273Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Python 3.10.18
ms-python.debugpy version 2025.8.0
Needless to say this is preventing me from being able to work.
Any recommendations on fixes or workarounds?
Metadata
Metadata
Assignees
Labels
No labels