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

Python extension does not work in remote host using remote-ssh to offline Linux machine #24905

Closed
osksa opened this issue Mar 14, 2025 · 2 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@osksa
Copy link

osksa commented Mar 14, 2025

I just tried to install Visual Studio Code 0.98 on an online Windows 11 host. I use remote-ssh 0.118.0 to connect to another online AlmaLinux 9 host. I install ms-python.python version 2025.2.0 on both the Windows host and on the Linux host via remote-ssh. In this case, the extension works well.

In an offline environment, I have imported the same versions of VS Code and the extensions ( and the remote-ssh server component). The Windows host runs Windows 10 here, but the Linux machine is still AlmaLinux 9. In this offline environment, it still works well to connect to the remote Linux machine from the Windows installation of VSCode. The python extension works well on the Windows installation. I also install it inside the offline environment connected to via remote-ssh. The extension seems to install correctly inside the remote ssh server, and it looks fine in the UI. But the Python extension does not work. For example, when clicking "settings" from the extensions page, it says no settings were found.
When I install other extensions which depend on the Python extension they don't work either.

TLDR; The Python extensions seems broken when installed into the remote-ssh server on an offline Linux machine.

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Mar 14, 2025
@karthiknadig
Copy link
Member

@osksa What is the error that you get from Help > toggle Developer Tools?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Mar 17, 2025
@osksa
Copy link
Author

osksa commented Mar 18, 2025

There were lots of errors there. But when I wanted to reproduce this in a test environment I failed. It turned out there was something wrong with my profile. When I switched to the default profile instead, it works as exprected. I even copied all my settings.json from the faulty profile to the default profile, and it still works. I will close this issue since it was not the error I though.

@osksa osksa closed this as completed Mar 18, 2025
@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants