Skip to content

Error while trying to find the Ruff binary - VS Code Ruff Extension #12394

@DG119

Description

@DG119
  • The current Ruff settings: all default with Lint disabled
  • The current Ruff version: 2024.32.0
    In the newly released version 2024.32.0 for Ruff VS Code Extesion, the following error is logged on VS Code on start up:
2024-07-18 21:32:04.253 [info] Name: Ruff
2024-07-18 21:32:04.254 [info] Module: ruff
2024-07-18 21:32:04.254 [info] Python extension loading
2024-07-18 21:32:04.254 [info] Waiting for interpreter from python extension.
2024-07-18 21:32:04.421 [info] Python extension loaded
2024-07-18 21:33:41.151 [error] Error while trying to find the Ruff binary: Error: Command failed: c:\Users\D Censored\Desktop\Python\Xreply\Scripts\python.exe c:\Users\D Censored\.vscode\extensions\charliermarsh.ruff-2024.32.0-win32-x64\bundled\tool\find_ruff_binary_path.py
'c:\Users\D' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������

2024-07-18 21:33:41.211 [info] Falling back to bundled executable: c:\Users\D Censored\.vscode\extensions\charliermarsh.ruff-2024.32.0-win32-x64\bundled\libs\bin\ruff.exe

There is a space in my user name, which I suspect is the reason for this error. This did not happen in the previous version. I think some thing broke it in version 2024.32.0
2024-07-18 214632

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserverRelated to the LSP server

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions