You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-02-05 14:02:42.284 [debug] Testing: Refreshing all test data
2025-02-05 14:02:42.287 [info] Discover tests for workspace name: sqlmodel - uri: /home/john/contribute/sqlmodel
2025-02-05 14:02:42.293 [debug] Starting Test Discovery named pipe
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
2025-02-07 09:12:30.822 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-02-07 09:12:30.822 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-02-07 09:12:30.822 [info] Experiment 'pythonTestAdapter' is active
2025-02-07 09:12:30.822 [info] Native locator: Refresh started
2025-02-07 09:12:30.822 [info] Native locator: Refresh started
2025-02-07 09:12:30.822 [info] Native locator: Refresh started
2025-02-07 09:12:31.924 [info] Pyenv environment manager found at: /home/john/.pyenv/bin/pyenv
2025-02-07 09:12:32.158 [info] Poetry environment manager found at: /home/john/.local/pipx/venvs/poetry/bin/poetry
2025-02-07 09:12:32.388 [info] Native locator: Refresh finished in 8887 ms
2025-02-07 09:12:32.391 [info] > D:\Program Files\Python312\python.exe -c "import sys;print(sys.executable)"
2025-02-07 09:12:32.393 [info] > ~/.pyenv/bin/pyenv which python
2025-02-07 09:12:32.393 [info] cwd: .
2025-02-07 09:12:32.470 [error] Error: Command failed: D:\Program Files\Python312\python.exe -c "import sys;print(sys.executable)"
/bin/sh: 1: D:Program: not found
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:530:35)
at maybeClose (node:internal/child_process:1104:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:343:12) {
code: 127,
killed: false,
signal: null,
cmd: 'D:\\Program Files\\Python312\\python.exe -c "import sys;print(sys.executable)"'
}
2025-02-07 09:12:35.355 [info] Starting Pylance language server.
2025-02-07 09:12:57.726 [info] > conda info --json
2025-02-07 09:12:57.850 [info] Native locator: Refresh started
2025-02-07 09:12:57.866 [info] Pyenv environment manager found at: /home/john/.pyenv/bin/pyenv
2025-02-07 09:12:57.867 [info] Poetry environment manager found at: /home/john/.local/pipx/venvs/poetry/bin/poetry
2025-02-07 09:13:00.037 [info] Native locator: Refresh finished in 2185 ms
2025-02-07 09:13:01.569 [info] Discover tests for workspace name: dataframe_image - uri: /home/john/projects/misc/dataframe_image
2025-02-07 09:13:01.569 [info] Python interpreter path: ./.venv/bin/python
2025-02-07 09:13:01.693 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2025.1.2025020602-linux-x64/python_files/printEnvVariables.py
2025-02-07 09:13:01.693 [info] shell: zsh
2025-02-07 09:13:01.799 [info] > ~/.pyenv/versions/3.8.19/bin/python ~/.vscode-server/extensions/ms-python.python-2025.1.2025020602-linux-x64/python_files/printEnvVariables.py
2025-02-07 09:13:01.800 [info] shell: zsh
2025-02-07 09:13:04.332 [info] Prepending environment variable PATH in collection with /home/john/.vscode-server/extensions/ms-python.python-2025.1.2025020602-linux-x64/python_files/deactivate/zsh:/home/john/projects/misc/dataframe_image/.venv/bin: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-02-07 09:13:04.332 [info] Setting environment variable VIRTUAL_ENV in collection to /home/john/projects/misc/dataframe_image/.venv {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-02-07 09:13:04.332 [info] Prepending environment variable PS1 in collection with (.venv) {"applyAtShellIntegration":true,"applyAtProcessCreation":false}
2025-02-07 09:13:04.332 [info] Setting environment variable VIRTUAL_ENV_PROMPT in collection to (.venv) {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2025-02-07 09:13:04.333 [info] Send text to terminal: /usr/bin/python3.8 /home/john/.vscode-server/extensions/ms-python.python-2025.1.2025020602-linux-x64/python_files/printEnvVariablesToFile.py /home/john/.vscode-server/extensions/ms-python.python-2025.1.2025020602-linux-x64/python_files/deactivate/zsh/envVars.txt
2025-02-07 09:14:49.103 [info] Discover tests for workspace name: undefined - uri: c:/Users/049171/AppData/Roaming/Code/User/settings.json
2025-02-07 09:14:49.103 [error] Unable to find workspace for given file
2025-02-07 09:15:02.436 [info] Discover tests for workspace name: dataframe_image - uri: /home/john/projects/misc/dataframe_image
2025-02-07 09:15:02.436 [error] Test discovery already in progress, not starting a new one.
Extension version: 2025.0.0
VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Python version (& distribution if applicable, e.g. Anaconda): 3.12.3
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Pylance
I was facing the same issue, I executed pytest --collect-only and the result was also identical. Stash your changes and try again. I guess some broken code causes Pytest to get into the infinite loop.
I was facing the same issue, I executed pytest --collect-only and the result was also identical. Stash your changes and try again. I guess some broken code causes Pytest to get into the infinite loop.
No, I clone exactly same repo to WSL and Windows, without not modifying any code, workspace in WSL hangs but in Windows works.
Type: Bug
Behaviour
Testing panel is always empty and log shows
Steps to reproduce:
Then open testing panel
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2025.0.0
VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
python.languageServer
setting: PylanceUser Settings
Installed Extensions
System Info
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
A/B Experiments
The text was updated successfully, but these errors were encountered: