Opened 10 years ago
Last modified 9 years ago
#26645 closed Bug
Errors when running i18n makemessages tests on Windows — at Version 2
| Reported by: | Ramiro Morales | Owned by: | Ramiro Morales |
|---|---|---|---|
| Component: | Internationalization | Version: | 1.10 |
| Severity: | Normal | Keywords: | windows makemessages |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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
Change History (2)
comment:1 by , 10 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Would be nice to know what's the reported syntax error. With a well-placed breakpoint, you should be able to inspect the po file (and maybe manually run the msgmerge command) to find out the syntax issue.