-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
"pybabel extract" gives "NameError: name 'SQLLAB_TIMEOUT' is not defined" #16613
Comments
Thanks a lot @hushaoqing : I've applied locally your change (#16629) and it works! Note:
|
@audour superset/requirements/base.txt Line 129 in c66f278
Have you tried to run |
No, I haven't followed CONTRIBUTING.md#setup-local-environment-for-development because it seemed useless for me as I just wanted to improve French translation. But ok I understand that it was documented. |
Running
pybabel extract -F superset/translations/babel.cfg -o superset/translations/messages.pot -k _ -k __ -k t -k tn -k tct .
as suggested within CONTRIBUTING.md#translating is not working for me.Expected results
The template file
superset/translations/messages.pot
is updated with current application strings.Actual results
NameError: name 'SQLLAB_TIMEOUT' is not defined
.messages.pot
is emptiedHow to reproduce the bug
Follow CONTRIBUTING.md#extracting-new-strings-for-translation
Environment
1.3.0
3.8.10
2.9.1
Checklist
Additional context
Full logs:
Linked issue: #16550
The text was updated successfully, but these errors were encountered: