-
Notifications
You must be signed in to change notification settings - Fork 57
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
ruff crash in remote developement (ssh) in VSCode #578
Comments
Hmm, this is weird. The logs says:
But, the conversion succeeds:
|
Does this mean that this failure only occurs when VS Code is launched in the remote machine? How does that work? |
@ingempo are you using WSL? I noticed that the log shows Edit: Right, you're remoting |
Exactly ! |
No, I'm not using WSL. Host and remote are physical windows machines. My project comes with its own python virtual env. |
Maybe the path has an extra slash at the beginning? It is weird for me to see a path with 3 slashes? |
@dhruvmanila I could try to repro the conversion on windows if you want. The |
@MichaReiser Yeah, that would be useful, thanks. |
No, the path is correct. The two slashes are part of the scheme, kind of like |
@ingempo Can you try setting the following setting and see if the problem persists? {
"ruff.nativeServer": "off"
} Currently, as per the logs, the extension is automatically using the native server. I'm guessing that |
Hi @dhruvmanila, sorry for delay. Not success with:
Current
|
The interpreter path doesn't look correct as it's starting from I noticed that you're using the VS Code server. So, the server is hosted on a Windows machine and are you accessing it via a local VS Code instance? How does SSH work here? I'm asking because the docs mentions that this doesn't require SSH connection. |
Hi ! I don't set I don't get your question: How does SSH works here? I presume that in the link I gave you is the description of how SSH works for remote development setup. |
System info:
Host/Remote OS Name: Microsoft Windows 10 Enterprise
Host/Remote OS Version: 10.0.19044 N/A Build 19044
VSCode version: 1.92.1 (user setup)
Ruff version: 0.5.7
Python version: 3.9.13
Ruff log: ruff.log
settings.json:
Notes:
The text was updated successfully, but these errors were encountered: