-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
VSCode pytest data from WSL generate an error when processed #24811
Comments
hm looks like it is this line causing the issue |
I'm having a very similar issue since fairly recently. I haven't isolated the specific plugin version, but, in my specific case, seems to happen when running (individually and from UI) unitary tests that make use of Some time ago I opened issue #24399, but the behaviour described in that issue seems to have been replaced by the one described here. |
FYI i did this on a brand new environnement on a new computer. |
@eleanorjboyd We need to repro this locally to see what is the error. It is likely a path issue, if the paths are |
@karthiknadig To add some information, in my case, every python files used were in |
The issue is not with the python files themselves, we use pipes to communicate between VS Code and pytest. When we create the pipes, in WSL they should be created in |
Type: Bug
Behaviour
Pytesting through UI doesn't work with WSL extension. An error occures when processing data sent from WSL to VScode :
Steps to reproduce:
hatch env run -e dev test)
h env find dev)
Output for
Python
in theOutput
panelExtension version: 2025.0.0
VS Code version: Code 1.97.0 (33fc5a94a3f99ebe7087e8fe79fbe1d37a251016, 2025-02-04T22:41:26.688Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
python.languageServer
setting: DefaultUser 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: