django-celery: FTBFS: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Bug #1229831 reported by Logan Rosen on 2013-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-celery (Debian)
Fix Released
Unknown
django-celery (Ubuntu)
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/711338:

Source: django-celery
Version: 2.5.5-2
Severity: serious
Tags: sid jessie
Justification: fails to build from source

django-celery FTBFS:
| make[1]: Entering directory `/build/django-celery-vVntP8/django-celery-2.5.5'
| set -e; \
| for python in python2.7; do \
| DEB_NETWORK_TESTS=disabled $python setup.py test ; \
| done
| running test
| Traceback (most recent call last):
| File "setup.py", line 190, in <module>
| long_description=long_description,
| File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
| dist.run_commands()
| File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
| self.run_command(cmd)
| File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
| cmd_obj.run()
| File "setup.py", line 122, in run
| execute_manager(settings_mod, argv=sys.argv)
| File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 469, in execute_manager
| utility.execute()
| File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
| self.fetch_command(subcommand).run_from_argv(self.argv)
| File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 272, in fetch_command
| klass = load_command_class(app_name, subcommand)
| File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 77, in load_command_class
| module = import_module('%s.management.commands.%s' % (app_name, name))
| File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
| __import__(name)
| File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 8, in <module>
| from django.test.utils import get_runner
| File "/usr/lib/python2.7/dist-packages/django/test/__init__.py", line 5, in <module>
| from django.test.client import Client, RequestFactory
| File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 21, in <module>
| from django.db import close_connection
| File "/usr/lib/python2.7/dist-packages/django/db/__init__.py", line 11, in <module>
| if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
| File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 53, in __getattr__
| self._setup(name)
| File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in _setup
| self._wrapped = Settings(settings_module)
| File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 152, in __init__
| raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
| django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
| make[1]: *** [override_dh_auto_test] Error 1

--
Jakub Wilk

Logan Rosen (logan) on 2013-09-24
Changed in django-celery (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
Changed in django-celery (Debian):
importance: Undecided → Unknown
status: New → Confirmed
Changed in django-celery (Debian):
status: Confirmed → Fix Committed
Changed in django-celery (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.