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

Incorrect venv setup causes fxa module to not be found (MySQL) #1580

Open
Eragonfr opened this issue Jul 3, 2024 · 2 comments
Open

Incorrect venv setup causes fxa module to not be found (MySQL) #1580

Eragonfr opened this issue Jul 3, 2024 · 2 comments

Comments

@Eragonfr
Copy link

Eragonfr commented Jul 3, 2024

The make run_mysql fails to setup everything in the venv to get fxa running.
But running pip install pyramid from inside the venv fixes it.

With the broken venv I get a big backtrace that starts with:

thread 'main' panicked at syncserver/src/tokenserver/mod.rs:72:18:
failed to create Tokenserver OAuth verifier: TokenserverError { status: "internal-error", location: Internal, name: "", description: "Server error", http_status: 500, context: "ModuleNotFoundError: No module named 'fxa'", backtrace:    0: <tokenserver_common::error::TokenserverError as core::default::Default>::default

After installing pyramid I can execute make run_mysql without issue.

Are there plans to drop the python dependency ?

┆Issue is synchronized with this Jira Task

@jrconlin
Copy link
Member

jrconlin commented Jul 3, 2024

There are plans, but those are not strongly prioritized right now. We need the python dependency work for the integrated Tokenserver. There is work done on a rust feature which drops the python requirement, but that has not been fully audited yet.

@Eragonfr
Copy link
Author

Eragonfr commented Jul 3, 2024

The issue is probably a consequence of 6c9b771

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

2 participants