-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Describe the bug
Opening WSL project locally would lead to plugin not being able to convert workspace URL to path.
To Reproduce
- Open or create a project in WSL as local project (https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html)
- Notice that Ruff terminated
Expected behavior
Ruff should start working with project as it is local.
Log
2025-09-16 16:03:15.189416800 INFO No workspace options found for file:///wsl.localhost/distroname/home/user/project, using default options
ruff failed
Cause: Failed to start server
Cause: Failed to convert workspace URL to file path: file:///wsl.localhost/distroname/home/user/project
Exit code: 2
Command line: C:\Users\ViktorVoloshko\.local\bin\ruff.exe server
StdIO connection closed
Environments (please complete the following information):
- IDE: PyCharm 2025.2.1.1
- OS: Windows 11 IoT Enterprise LTSC 26100.6584
- Ruff Version 0.13.0 (a1fdd66f1 2025-09-10)
- Plugin version 0.0.50
PyCharm 2025.2.1.1
Build #PY-252.25557.178, built on September 2, 2025
Source revision: 1d2cf082f40ae
Licensed to Viktor Voloshko
Subscription is active until March 14, 2026.
For educational use only.
Runtime version: 21.0.8+1-b1038.68 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 1908M
Cores: 8
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
Subversion (252.25557.189)
com.koxudaxi.ruff (0.0.50)
Additional context
Working with same project in same WSL distro through remote connection works fine so not a big issue.
Manually running ruff check \\wsl.localhost\distroname\home\user\project\main.py in terminal works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels