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

Github Remote Repositories failing to start Ruff #211

Closed
Pokeylooted opened this issue Jun 15, 2023 · 6 comments
Closed

Github Remote Repositories failing to start Ruff #211

Pokeylooted opened this issue Jun 15, 2023 · 6 comments

Comments

@Pokeylooted
Copy link

Issue:
Ruff fails to start when using remote repositories.

Error message:

Name: Ruff
Module: ruff
Python extension loading
Waiting for interpreter from python extension.
Python extension loaded
Server Command [RUN]: c:\Users\pokey\AppData\Local\Microsoft\WindowsApps\python3.11.exe c:\Users\pokey\.vscode\extensions\charliermarsh.ruff-2023.20.0-win32-x64\bundled\tool\server.py
Server Command [DEBUG]: c:\Users\pokey\AppData\Local\Microsoft\WindowsApps\python3.11.exe c:\Users\pokey\.vscode\extensions\charliermarsh.ruff-2023.20.0-win32-x64\bundled\tool\_debug_server.py
[Error - 12:29:32 AM] Starting client failed
Launching server using command c:\Users\pokey\AppData\Local\Microsoft\WindowsApps\python3.11.exe failed.

Steps to reproduce:

  1. Install the Github Repositories Extension.
  2. Click the blue/green button in the bottom left corner and select “Open remote repository”.
  3. Select the desired repository.
  4. Upon loading, an error message will appear in the bottom right corner.

Note:
The Black Formatter extension also exhibits the same issue.

Version - v2023.20.0

@charliermarsh charliermarsh transferred this issue from astral-sh/ruff Jun 15, 2023
@zanieb
Copy link
Member

zanieb commented Jun 15, 2023

@Pokeylooted this sounds like an issue with the Github Repositories Extension since it does not work for black either. Have you considered opening an issue at https://github.com/microsoft/vscode-remote-repositories-github?

@charliermarsh
Copy link
Member

charliermarsh commented Jun 15, 2023

\cc @karthiknadig -- do you know if this is expected / unexpected, and whether it affects other extensions based on the template? Thanks in advance 🙏

@zanieb
Copy link
Member

zanieb commented Jun 15, 2023

I can reproduce this on macOS. Note as an additional step I had to add the repository's directory to my "trusted" directories.

Name: Ruff
Module: ruff
Python extension loading
Waiting for interpreter from python extension.
Python extension loaded
Server Command [RUN]: /opt/homebrew/bin/python3 /Users/mz/.vscode/extensions/charliermarsh.ruff-2023.20.0-darwin-arm64/bundled/tool/server.py
Server Command [DEBUG]: /opt/homebrew/bin/python3 /Users/mz/.vscode/extensions/charliermarsh.ruff-2023.20.0-darwin-arm64/bundled/tool/_debug_server.py
[Error - 10:03:42 AM] Starting client failed
Launching server using command /opt/homebrew/bin/python3 failed.

isort also failed to load

Name: isort
Module: isort
Python extension loading
Waiting for interpreter from python extension.
Python extension loaded
[Error - 10:03:42 AM] Starting client failed
Launching server using command /opt/homebrew/bin/python3 failed.

@Pokeylooted
Copy link
Author

@Pokeylooted this sounds like an issue with the Github Repositories Extension since it does not work for black either. Have you considered opening an issue at https://github.com/microsoft/vscode-remote-repositories-github?

microsoft/vscode-python#21459

@karthiknadig
Copy link

I agree with @Pokeylooted this looks like an issue with Github Repositories Extension.

@charliermarsh
Copy link
Member

Closing in favor of the issue in the Remote Repositories extension.

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2023
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

4 participants