Skip to content
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

Failure in WSL #283

Open
DaveDeCaprio opened this issue Jan 25, 2025 · 1 comment
Open

Failure in WSL #283

DaveDeCaprio opened this issue Jan 25, 2025 · 1 comment

Comments

@DaveDeCaprio
Copy link

I'm trying to run pytest runner in WSL.

It mostly runs ok, but I get the following warning in the Output window:
2025-01-25 08:04:22.786 [error] Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu/home/daved/.cursor-server/data/User/globalStorage/pamaron.pytest-runner': Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu/home/daved/.cursor-server/data/User/globalStorage/pamaron.pytest-runner'
at xci.resolve (vscode-file://vscode-app/c:/Users/daved/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4731:61553)
at async Z8i (vscode-file://vscode-app/c:/Users/daved/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:523:34484) Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu/home/daved/.cursor-server/data/User/globalStorage/pamaron.pytest-runner'

I created that nonexistent file as a blank directory and then got the following error:
2025-01-25 08:55:40.873 [error] [ExtensionListenerError] Extension 'pamaron.pytest-runner' FAILED to handle event: TypeError: Cannot read properties of undefined (reading 'document'): Error: [ExtensionListenerError] Extension 'pamaron.pytest-runner' FAILED to handle event: TypeError: Cannot read properties of undefined (reading 'document')
at pA.value (file:///home/daved/.cursor-server/bin/92081828ae09de344d8673d063f4f5c55c81c9a0/out/vs/workbench/api/node/extensionHostProcess.js:178:35972)
at C.B (file:///home/daved/.cursor-server/bin/92081828ae09de344d8673d063f4f5c55c81c9a0/out/vs/workbench/api/node/extensionHostProcess.js:30:747)

@ernestoarbitrio
Copy link
Owner

Hi Dave,
thanks for reporting this, TBH I've never tried the plugin using WSL, I'll give it a try and I'll get you back ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants