[PKG-Openstack-devel] Bug#765160: python-jingo: FTBFS: Tests failures
David Suárez
david.sephirot at gmail.com
Mon Oct 13 17:20:14 UTC 2014
Source: python-jingo
Version: 0.7-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20141012 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> mod = load_module(part_fqname, fh, filename, desc)
> File "/«PKGBUILDDIR»/jingo/tests/test_monkey.py", line 9, in <module>
> import jingo.monkey
> File "/«PKGBUILDDIR»/jingo/monkey.py", line 60, in <module>
> class SafeStrAndUnicode(django.utils.encoding.StrAndUnicode):
> AttributeError: 'module' object has no attribute 'StrAndUnicode'
>
> ======================================================================
> ERROR: jingo.tests.test_views.test_template_substitution_crash
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/«PKGBUILDDIR»/jingo/tests/test_views.py", line 15, in test_template_substitution_crash
> translation.activate('xx')
> File "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 145, in activate
> return _trans.activate(language)
> File "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 225, in activate
> _active.value = translation(language)
> File "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 209, in translation
> default_translation = _fetch(settings.LANGUAGE_CODE)
> File "/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 189, in _fetch
> "The translation infrastructure cannot be initialized before the "
> AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready. Check that you don't make non-lazy gettext calls at import time.
>
> ----------------------------------------------------------------------
> Ran 24 tests in 0.275s
>
> FAILED (errors=9)
> make[1]: *** [override_dh_auto_test] Error 1
> debian/rules:24: recipe for target 'override_dh_auto_test' failed
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/10/12/python-jingo_0.7-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Openstack-devel
mailing list