#28409: Makemessages works with errors
------------------------------------------------+------------------------
               Reporter:  Stanislav             |          Owner:  nobody
                   Type:  Bug                   |         Status:  new
              Component:  Internationalization  |        Version:  1.11
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 '''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

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28409>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.88860510fb8164a13e23418dc55c96ea%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to