#26645: Errors when running i18n makemessages tests on Windows
--------------------------------------+------------------------------------
     Reporter:  ramiro                |                    Owner:  ramiro
         Type:  Bug                   |                   Status:  assigned
    Component:  Internationalization  |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:  windows makemessages  |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by ramiro):

 * status:  new => assigned


Old description:

> Follow-up to report makemessages (literal translation extraction
> functionality) problems made visible after #25667 /
> fa08d27fb714534670b431fde0cd04a17d637585 but which aren't actually
> related to the issue reported there and probably nor with the commit
> either.
>
> Example output whe running tests with Python 2.7 (outcome when using 3.4
> and 3.5 is similar).
>
> gettext version is 0.19.6.
>
> Edited to show only errors relevant to this ticket:
>
> {{{
> ======================================================================
> ERROR: test_blocktrans_trimmed (i18n.test_extraction.BasicExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 223, in
> test_blocktrans_trimmed
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_comments_extractor (i18n.test_extraction.BasicExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 181, in
> test_comments_extractor
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_context_in_single_quotes
> (i18n.test_extraction.BasicExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 306, in
> test_context_in_single_quotes
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_extraction_warning (i18n.test_extraction.BasicExtractorTests)
> test xgettext warning about multiple bare interpolation placeholders
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 265, in
> test_extraction_warning
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_special_char_extracted
> (i18n.test_extraction.BasicExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 215, in
> test_special_char_extracted
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_template_comments (i18n.test_extraction.BasicExtractorTests)
> Template comment tags on the same line of other constructs (#19552)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 325, in
> test_template_comments
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_template_message_context_extractor
> (i18n.test_extraction.BasicExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 275, in
> test_template_message_context_extractor
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_unicode_decode_error
> (i18n.test_extraction.BasicExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 255, in
> test_unicode_decode_error
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_copy_plural_forms
> (i18n.test_extraction.CopyPluralFormsExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 575, in
> test_copy_plural_forms
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_override_plural_forms
> (i18n.test_extraction.CopyPluralFormsExtractorTests)
> Ticket #20311.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 584, in
> test_override_plural_forms
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\es\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_trans_and_plural_blocktrans_collision
> (i18n.test_extraction.CopyPluralFormsExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 598, in
> test_trans_and_plural_blocktrans_collision
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_ignore_directory (i18n.test_extraction.IgnoredExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 491, in
> test_ignore_directory
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_ignore_file_patterns
> (i18n.test_extraction.IgnoredExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 507, in
> test_ignore_file_patterns
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_ignore_subdirectory
> (i18n.test_extraction.IgnoredExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 500, in
> test_ignore_subdirectory
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_media_static_dirs_ignored
> (i18n.test_extraction.IgnoredExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\django\test\utils.py", line 208, in inner
>     return func(*args, **kwargs)
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 516, in
> test_media_static_dirs_ignored
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_default_root_settings
> (i18n.test_extraction.JavascriptExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\django\test\utils.py", line 208, in inner
>     return func(*args, **kwargs)
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 483, in
> test_default_root_settings
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\djangojs.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_javascript_literals
> (i18n.test_extraction.JavascriptExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 451, in
> test_javascript_literals
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\djangojs.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_media_static_dirs_ignored
> (i18n.test_extraction.JavascriptExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\django\test\utils.py", line 208, in inner
>     return func(*args, **kwargs)
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 474, in
> test_media_static_dirs_ignored
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
> _run_makemessages
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\djangojs.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_keep_pot_disabled_by_default
> (i18n.test_extraction.KeepPotFileExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 682, in
> test_keep_pot_disabled_by_default
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_keep_pot_enabled
> (i18n.test_extraction.KeepPotFileExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 694, in
> test_keep_pot_enabled
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_keep_pot_explicitly_disabled
> (i18n.test_extraction.KeepPotFileExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 688, in
> test_keep_pot_explicitly_disabled
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_location_comments_for_templatized_files
> (i18n.test_extraction.LocationCommentsTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 658, in
> test_location_comments_for_templatized_files
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_no_location_disabled
> (i18n.test_extraction.LocationCommentsTests)
> Behavior is correct if --no-location switch isn't specified.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 647, in
> test_no_location_disabled
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_no_location_enabled
> (i18n.test_extraction.LocationCommentsTests)
> Behavior is correct if --no-location switch is specified. See #16903.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 640, in
> test_no_location_enabled
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_multiple_locales
> (i18n.test_extraction.MultipleLocaleExtractionTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 715, in
> test_multiple_locales
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_no_wrap_disabled (i18n.test_extraction.NoWrapExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 623, in
> test_no_wrap_disabled
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>

>
> ======================================================================
> ERROR: test_no_wrap_enabled (i18n.test_extraction.NoWrapExtractorTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\django\upstream\tests\i18n\test_extraction.py", line 611, in
> test_no_wrap_enabled
>   File "C:\django\upstream\django\core\management\__init__.py", line 130,
> in call_command
>     return command.execute(*args, **defaults)
>   File "C:\django\upstream\django\core\management\base.py", line 356, in
> execute
>     output = self.handle(*args, **options)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 343, in handle
>     self.write_po_file(potfile, locale)
>   File
> "C:\django\upstream\django\core\management\commands\makemessages.py",
> line 577, in write_po_file
>     "errors happened while running msgmerge\n%s" % errors)
> CommandError: errors happened while running msgmerge
> C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
> syntax error
>
> msgmerge: found 1 fatal error
>
> }}}

New description:

 Follow-up to report makemessages (literal translation extraction
 functionality) problems made visible after #25677 /
 fa08d27fb714534670b431fde0cd04a17d637585 but which aren't actually related
 to the issue reported there and probably nor with the commit either.

 Example output whe running tests with Python 2.7 (outcome when using 3.4
 and 3.5 is similar).

 gettext version is 0.19.6.

 Edited to show only errors relevant to this ticket:

 {{{
 ======================================================================
 ERROR: test_blocktrans_trimmed (i18n.test_extraction.BasicExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 223, in
 test_blocktrans_trimmed
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_comments_extractor (i18n.test_extraction.BasicExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 181, in
 test_comments_extractor
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_context_in_single_quotes
 (i18n.test_extraction.BasicExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 306, in
 test_context_in_single_quotes
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_extraction_warning (i18n.test_extraction.BasicExtractorTests)
 test xgettext warning about multiple bare interpolation placeholders
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 265, in
 test_extraction_warning
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_special_char_extracted
 (i18n.test_extraction.BasicExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 215, in
 test_special_char_extracted
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_template_comments (i18n.test_extraction.BasicExtractorTests)
 Template comment tags on the same line of other constructs (#19552)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 325, in
 test_template_comments
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_template_message_context_extractor
 (i18n.test_extraction.BasicExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 275, in
 test_template_message_context_extractor
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_unicode_decode_error
 (i18n.test_extraction.BasicExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 255, in
 test_unicode_decode_error
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_copy_plural_forms
 (i18n.test_extraction.CopyPluralFormsExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 575, in
 test_copy_plural_forms
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_override_plural_forms
 (i18n.test_extraction.CopyPluralFormsExtractorTests)
 Ticket #20311.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 584, in
 test_override_plural_forms
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\es\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_trans_and_plural_blocktrans_collision
 (i18n.test_extraction.CopyPluralFormsExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 598, in
 test_trans_and_plural_blocktrans_collision
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_ignore_directory (i18n.test_extraction.IgnoredExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 491, in
 test_ignore_directory
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_ignore_file_patterns
 (i18n.test_extraction.IgnoredExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 507, in
 test_ignore_file_patterns
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_ignore_subdirectory
 (i18n.test_extraction.IgnoredExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 500, in
 test_ignore_subdirectory
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_media_static_dirs_ignored
 (i18n.test_extraction.IgnoredExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\django\test\utils.py", line 208, in inner
     return func(*args, **kwargs)
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 516, in
 test_media_static_dirs_ignored
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_default_root_settings
 (i18n.test_extraction.JavascriptExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\django\test\utils.py", line 208, in inner
     return func(*args, **kwargs)
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 483, in
 test_default_root_settings
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\djangojs.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_javascript_literals
 (i18n.test_extraction.JavascriptExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 451, in
 test_javascript_literals
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\djangojs.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_media_static_dirs_ignored
 (i18n.test_extraction.JavascriptExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\django\test\utils.py", line 208, in inner
     return func(*args, **kwargs)
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 474, in
 test_media_static_dirs_ignored
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 69, in
 _run_makemessages
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\djangojs.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_keep_pot_disabled_by_default
 (i18n.test_extraction.KeepPotFileExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 682, in
 test_keep_pot_disabled_by_default
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_keep_pot_enabled
 (i18n.test_extraction.KeepPotFileExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 694, in
 test_keep_pot_enabled
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_keep_pot_explicitly_disabled
 (i18n.test_extraction.KeepPotFileExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 688, in
 test_keep_pot_explicitly_disabled
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_location_comments_for_templatized_files
 (i18n.test_extraction.LocationCommentsTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 658, in
 test_location_comments_for_templatized_files
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_no_location_disabled
 (i18n.test_extraction.LocationCommentsTests)
 Behavior is correct if --no-location switch isn't specified.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 647, in
 test_no_location_disabled
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_no_location_enabled
 (i18n.test_extraction.LocationCommentsTests)
 Behavior is correct if --no-location switch is specified. See #16903.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 640, in
 test_no_location_enabled
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_multiple_locales
 (i18n.test_extraction.MultipleLocaleExtractionTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 715, in
 test_multiple_locales
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_no_wrap_disabled (i18n.test_extraction.NoWrapExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 623, in
 test_no_wrap_disabled
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error



 ======================================================================
 ERROR: test_no_wrap_enabled (i18n.test_extraction.NoWrapExtractorTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django\upstream\tests\i18n\test_extraction.py", line 611, in
 test_no_wrap_enabled
   File "C:\django\upstream\django\core\management\__init__.py", line 130,
 in call_command
     return command.execute(*args, **defaults)
   File "C:\django\upstream\django\core\management\base.py", line 356, in
 execute
     output = self.handle(*args, **options)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 343, in handle
     self.write_po_file(potfile, locale)
   File
 "C:\django\upstream\django\core\management\commands\makemessages.py", line
 577, in write_po_file
     "errors happened while running msgmerge\n%s" % errors)
 CommandError: errors happened while running msgmerge
 C:\django\upstream\tests\i18n\commands\locale\de\LC_MESSAGES\django.po:2:47:
 syntax error

 msgmerge: found 1 fatal error

 }}}

--

--
Ticket URL: <https://code.djangoproject.com/ticket/26645#comment:2>
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/064.57056f780e8221a2ddd881fc48f79ecc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to