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

Provide a more explicit error when import odoo fails #73

Open
sbidoul opened this issue Oct 8, 2024 · 0 comments
Open

Provide a more explicit error when import odoo fails #73

sbidoul opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sbidoul
Copy link
Member

sbidoul commented Oct 8, 2024

At

echo.notice(f"could not obtain odoo.addons.__path__ using {python}")
, all we get when import odoo fails is could not obtain odoo.addons.__path__ using python.

When Odoo is not installed correctly, this may mask the root cause.

See for instance: OCA/l10n-spain#3733 (comment)

Investigate how a better error message could be provided, and in which circumstances exactly.

Related: #4

@sbidoul sbidoul added the enhancement New feature or request label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant