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

Cannot open file from within WSL2 filesystem #20

Open
robgregg96 opened this issue Nov 7, 2024 · 0 comments
Open

Cannot open file from within WSL2 filesystem #20

robgregg96 opened this issue Nov 7, 2024 · 0 comments

Comments

@robgregg96
Copy link

Would it be possible to implement parsing for \\wsl.localhost\Debian paths?

It seems like the only parsing would need to be removing \\wsl.localhost\Debian and converting the slashes, though I'm sure other checks may be required.

I like to browse files in the WSL2 filesystem using Windows Explorer and would like to be able to double click the file to open the corresponding WSL2 app.

I get the following error in the log when I try to open a file from within WSL2 filesystem:

2024-11-07 12:49:21,986 - OpenInWSL 1.7 MSIX - ERROR - Cannot test association
Traceback (most recent call last):
  File "main.py", line 1292, in tester
  File "main.py", line 515, in path_converter
IndexError: string index out of range
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

1 participant