#28409 closed Bug (needsinfo)
Makemessages works with errors
Reported by: | Stanislav | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 1.11 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
django-admin makemessages -l ru
CommandError: errors happened while running xgettext on ./env/lib/python3.5/site-packages/Django-1.11.3.dist-info/LICENSE.txt.py ./env/lib/python3.5/site-packages/Django-1.11.3.dist-info/entry_points.txt.py ./env/lib/python3.5/site-packages/Django-1.11.3.dist-info/top_level.txt.py ./env/lib/python3.5/site-packages/Markdown-2.6.8.egg-info/SOURCES.txt.py ... more than 1000 files ... xgettext: ./env/lib/python3.5/site-packages/pip/_vendor/webencodings/__init__.py:1: Unknown encoding "utf8". Proceeding with ASCII instead. xgettext: Non-ASCII string at ./env/lib/python3.5/site-packages/pip/_vendor/webencodings/__init__.py:64. Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html.
'django-admin makemessages -d djangojs -l ru
./env/lib/python3.5/site-packages/rest_framework/static/rest_framework/js/prettify-min.js:24: warning: unterminated string CommandError: errors happened while running msguniq /home/stanislav/www/sportnote/locale/djangojs.pot:23: context separator <EOT> within string /home/stanislav/www/sportnote/locale/djangojs.pot:24: context separator <EOT> within string msguniq: found 2 fatal errors
./env/lib/python3.5/site-packages/rest_framework/static/rest_framework/js/prettify-min.js through Javascript Beautifier and run
'django-admin makemessages -d djangojs -l ru
./env/lib/python3.5/site-packages/rest_framework/static/rest_framework/js/prettify-min.js:378: warning: unterminated string CommandError: errors happened while running msguniq /home/stanislav/www/sportnote/locale/djangojs.pot:23: context separator <EOT> within string /home/stanislav/www/sportnote/locale/djangojs.pot:24: context separator <EOT> within string msguniq: found 2 fatal errors
375 ["lang-uq.val", /^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/], 376 ["pun", /^[/<->]+/], 377 ["lang-js", /^on\w+\s*=\s*"([^"]+)"/i], 378 ["lang-js", /^on\w+\s*=\s*'([^']+)'/i], 379 ["lang-js", /^on\w+\s*=\s*([^\s"'>]+)/i], 380 ["lang-css", /^style\s*=\s*"([^"]+)"/i],
Django==1.11.3
djangorestframework==3.6.3
webencodings==0.5.1
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Can you please do more to explain the bug and give steps to reproduce it (for example, by providing a sample project)?