[Python-modules-team] Bug#711338: django-celery: FTBFS: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Jakub Wilk
jwilk at debian.org
Thu Jun 6 12:17:27 UTC 2013
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
More information about the Python-modules-team
mailing list