[Python-modules-team] Bug#711360: django-nose: FTBFS: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Jakub Wilk
jwilk at debian.org
Thu Jun 6 14:33:15 UTC 2013
Source: django-nose
Version: 1.1-1
Severity: serious
Tags: sid jessie
Justification: fails to build from source
django-nose FTBFS:
| debian/rules override_dh_auto_test
| make[1]: Entering directory `/build/django-nose-LgolIO/django-nose-1.1'
| set -e; \
| for python in python2.7; do \
| PYTHON=$python ./runtests.sh; \
| done
| FAIL: normal settings
| Traceback (most recent call last):
| File "/usr/bin/django-admin", line 5, in <module>
| management.execute_from_command_line()
| File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
| 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