Modify ↓
Opened 8 weeks ago
Closed 8 weeks ago
#13912 closed defect (fixed)
Message extraction fails with error no such option 'no-default-keywords'
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | i18n | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fixed messages extraction failing. |
||
| API Changes: | |||
| Internal Changes: | |||
Description
extract task failing….
$ make python=310 extract python -Wdefault setup.py extract_messages extract_messages_js extract_messages_tracini running extract_messages ... writing PO template file to trac/locale/messages.pot running extract_messages_js error: error in setup.cfg: command 'extract_messages' has no such option 'no-default-keywords' make: *** [Makefile:208: extract] Error 1
$ ~/venv/py310/bin/python -Wignore setup.py extract_messages >/dev/null $ ~/venv/py310/bin/python -Wignore setup.py extract_messages_js >/dev/null error: error in setup.cfg: command 'extract_messages' has no such option 'no-default-keywords' $ ~/venv/py310/bin/python -Wignore setup.py extract_messages_tracini >/dev/null error: error in setup.cfg: command 'extract_messages' has no such option 'no-default-keywords'
Babel 2.18.0 is used.
jun66j5@localhost:1426$ ~/venv/py310/bin/pip show Babel Name: babel Version: 2.18.0 Summary: Internationalization utilities Home-page: https://babel.pocoo.org/ Author: Armin Ronacher Author-email: armin.ronacher@active-4.com License: BSD-3-Clause Location: /home/jun66j5/venv/py310/lib/python3.10/site-packages Requires: Required-by:
Attachments (0)
Change History (1)
comment:1 by , 8 weeks ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



We should use
no_default_keywordsinstead ofno-default-keywordsin messages.cfg.Fixed in [17967] and merged in [17968].