Package: django-simple-captcha
Version: 0.4.2-7
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
   debian/rules override_dh_auto_test
make[1]: Entering directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-django-simple-captcha/django-simple-captcha-0.4.2'
python2 debian/run_tests.py
Traceback (most recent call last):
  File "debian/run_tests.py", line 24, in <module>
    management.call_command('test')
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", 
line 93, in call_command
    app_name = get_commands()[name]
  File "/usr/lib/python2.7/dist-packages/django/utils/lru_cache.py", line 101, 
in wrapper
    result = user_function(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", 
line 73, in get_commands
    for app_config in reversed(list(apps.get_app_configs())):
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 137, in 
get_app_configs
    self.check_apps_ready()
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 124, in 
check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
debian/rules:11: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-django-simple-captcha/django-simple-captcha-0.4.2'
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further. Yet the error
looks perfectly similar to #764837, where adding django.setup() was named as the
way to fix the problem.

Best,
Michael

Attachment: django-simple-captcha-build-log.txt.gz
Description: application/gunzip

Attachment: pgpUxQ1mgybgI.pgp
Description: PGP signature

Reply via email to