Source: i18nspector Version: 0.17-1 Severity: important Tags: upstream fixed-upstream
i18nspector FTBFS in wheezy because of failling tests: | ====================================================================== | ERROR: tests/blackbox_tests/header-imitation.mo | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "./tests/../tests/blackbox_tests/__init__.py", line 174, in _test | _test_file(self.path) | File "./tests/../tests/blackbox_tests/__init__.py", line 355, in _test_file | assert_emit_tags(path, etags, options=options) | File "./tests/../tests/blackbox_tests/__init__.py", line 286, in assert_emit_tags | stdout = run_i18nspector(options, path) | File "./tests/../tests/blackbox_tests/__init__.py", line 248, in run_i18nspector | raise SubprocessError('\n'.join(message)) | tests.blackbox_tests.SubprocessError: command exited with status 1 | | stdout: | | E: tests/blackbox_tests/header-imitation.mo: broken-encoding 'iens, dux, zelotypos, quam Karus haberis\x85' cannot be decoded as ASCII | | P: tests/blackbox_tests/header-imitation.mo: no-language-header-field | | I: tests/blackbox_tests/header-imitation.mo: unable-to-determine-language | | P: tests/blackbox_tests/header-imitation.mo: no-mime-version-header-field MIME-Version: 1.0 | | P: tests/blackbox_tests/header-imitation.mo: no-content-transfer-encoding-header-field Content-Transfer-Encoding: 8bit | | E: tests/blackbox_tests/header-imitation.mo: no-content-type-header-field Content-Type: text/plain; charset=<encoding> | | W: tests/blackbox_tests/header-imitation.mo: no-date-header-field POT-Creation-Date | | W: tests/blackbox_tests/header-imitation.mo: no-date-header-field PO-Revision-Date | | W: tests/blackbox_tests/header-imitation.mo: no-project-id-version-header-field | | W: tests/blackbox_tests/header-imitation.mo: no-report-msgid-bugs-to-header-field | | W: tests/blackbox_tests/header-imitation.mo: no-last-translator-header-field | | P: tests/blackbox_tests/header-imitation.mo: no-language-team-header-field | | stderr: | | Traceback (most recent call last): | | File "./tests/../tests/blackbox_tests/__init__.py", line 264, in _mp_run_i18nspector | | exec(code) | | File "./tests/../tests/blackbox_tests/../../i18nspector", line 72, in <module> | | cli.main() | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 152, in main | | check_all(files, options=options) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 122, in check_all | | check_file(filename, options=options) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 68, in check_file | | checker_instance.check() | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 190, in check | | self.check_messages(ctx) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 744, in check_messages | | self._check_message_formats(ctx, message, flags) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 943, in _check_message_formats | | if re.match('\Atype: Content of: (<{xmlname}>)+\Z'.format(xmlname=xml.name_re), message.comment or ''): | | AttributeError: 'MOEntry' object has no attribute 'comment' | | ====================================================================== | ERROR: tests/blackbox_tests/okay-big-endian.mo | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "./tests/../tests/blackbox_tests/__init__.py", line 174, in _test | _test_file(self.path) | File "./tests/../tests/blackbox_tests/__init__.py", line 355, in _test_file | assert_emit_tags(path, etags, options=options) | File "./tests/../tests/blackbox_tests/__init__.py", line 286, in assert_emit_tags | stdout = run_i18nspector(options, path) | File "./tests/../tests/blackbox_tests/__init__.py", line 248, in run_i18nspector | raise SubprocessError('\n'.join(message)) | tests.blackbox_tests.SubprocessError: command exited with status 1 | | stdout: (empty) | stderr: | | Traceback (most recent call last): | | File "./tests/../tests/blackbox_tests/__init__.py", line 264, in _mp_run_i18nspector | | exec(code) | | File "./tests/../tests/blackbox_tests/../../i18nspector", line 72, in <module> | | cli.main() | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 152, in main | | check_all(files, options=options) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 122, in check_all | | check_file(filename, options=options) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 68, in check_file | | checker_instance.check() | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 190, in check | | self.check_messages(ctx) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 744, in check_messages | | self._check_message_formats(ctx, message, flags) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 943, in _check_message_formats | | if re.match('\Atype: Content of: (<{xmlname}>)+\Z'.format(xmlname=xml.name_re), message.comment or ''): | | AttributeError: 'MOEntry' object has no attribute 'comment' | | ====================================================================== | ERROR: tests/blackbox_tests/okay-little-endian.mo | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "./tests/../tests/blackbox_tests/__init__.py", line 174, in _test | _test_file(self.path) | File "./tests/../tests/blackbox_tests/__init__.py", line 355, in _test_file | assert_emit_tags(path, etags, options=options) | File "./tests/../tests/blackbox_tests/__init__.py", line 286, in assert_emit_tags | stdout = run_i18nspector(options, path) | File "./tests/../tests/blackbox_tests/__init__.py", line 248, in run_i18nspector | raise SubprocessError('\n'.join(message)) | tests.blackbox_tests.SubprocessError: command exited with status 1 | | stdout: (empty) | stderr: | | Traceback (most recent call last): | | File "./tests/../tests/blackbox_tests/__init__.py", line 264, in _mp_run_i18nspector | | exec(code) | | File "./tests/../tests/blackbox_tests/../../i18nspector", line 72, in <module> | | cli.main() | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 152, in main | | check_all(files, options=options) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 122, in check_all | | check_file(filename, options=options) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/cli.py", line 68, in check_file | | checker_instance.check() | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 190, in check | | self.check_messages(ctx) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 744, in check_messages | | self._check_message_formats(ctx, message, flags) | | File "/build/i18nspector-FPWDQl/i18nspector-0.17/lib/checker.py", line 943, in _check_message_formats | | if re.match('\Atype: Content of: (<{xmlname}>)+\Z'.format(xmlname=xml.name_re), message.comment or ''): | | AttributeError: 'MOEntry' object has no attribute 'comment' | | ---------------------------------------------------------------------- | Ran 1606 tests in 13.331s | | FAILED (SKIP=1, errors=3) | make[1]: *** [test] Error 1 I fixed it upstream in i18nspector 0.17.1. Patch: https://bitbucket.org/jwilk/i18nspector/commits/bcdece007a1d -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org