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

Cockpit Client has ~ in its PYTHONPATH #20164

Open
allisonkarlitskaya opened this issue Mar 13, 2024 · 0 comments
Open

Cockpit Client has ~ in its PYTHONPATH #20164

allisonkarlitskaya opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels

Comments

@allisonkarlitskaya
Copy link
Member

I randomly had a http.py around in my homedir from some unrelated hacking. Attempting to connect Cockpit Client to localhost failed because import http in the http channel tried to import the file from my homedir instead of the standard library.

The python command line has various switches for isolating the running program from the environment. We should investigate which of those we want to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant