[Pkg-linaro-lava-devel] Bug#807350: django-restricted-resource: FTBFS with Django 1.9: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

Chris Lamb lamby at debian.org
Mon Dec 7 20:00:13 UTC 2015


Source: django-restricted-resource
Version: 2015.11-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

django-restricted-resource fails to build from source in unstable/amd64:

  [..]

      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in
    run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py",
    line 157, in run
      self.with_project_on_sys_path(self.run_tests)
    File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py",
    line 138, in with_project_on_sys_path
      func()
    File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py",
    line 178, in run_tests
      testRunner=self._resolve_as_ep(self.test_runner),
    File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
      self.parseArgs(argv)
    File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
      self.createTests()
    File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
      self.module)
    File "/usr/lib/python2.7/unittest/loader.py", line 130, in
    loadTestsFromNames
      suites = [self.loadTestsFromName(name, module) for name in names]
    File "/usr/lib/python2.7/unittest/loader.py", line 115, in
    loadTestsFromName
      test = obj()
    File
    "/home/lamby/temp/cdt.20151207215919.KS07bteFb8/django-restricted-resource-2015.11/django_restricted_resource/test_project/tests.py",
    line 24, in run_tests
      return
      run_tests_for("django_restricted_resource.test_project.settings")
    File "/usr/lib/python2.7/dist-packages/django_testproject/tests.py",
    line 58, in run_tests_for
      failures = runner(test_labels)
    File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line
    532, in run_tests
      old_config = self.setup_databases()
    File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line
    482, in setup_databases
      self.parallel, **kwargs
    File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line
    726, in setup_databases
      serialize=connection.settings_dict.get("TEST",
      {}).get("SERIALIZE", True),
    File
    "/usr/lib/python2.7/dist-packages/django/db/backends/base/creation.py",
    line 70, in create_test_db
      run_syncdb=True,
    File
    "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
    line 91, in call_command
      app_name = get_commands()[name]
    File "/usr/lib/python2.7/dist-packages/django/utils/lru_cache.py",
    line 100, in wrapper
      result = user_function(*args, **kwds)
    File
    "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
    line 71, 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:8: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory
  '/home/lamby/temp/cdt.20151207215919.KS07bteFb8/django-restricted-resource-2015.11'
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-


More information about the Pkg-linaro-lava-devel mailing list