[Python-modules-team] Bug#711366: django-openid-auth: FTBFS: ImproperlyConfigured: Requested setting CACHES, but settings are not configured.
Jakub Wilk
jwilk at debian.org
Thu Jun 6 15:03:40 UTC 2013
Source: django-openid-auth
Version: 0.4-1
Severity: serious
Tags: sid jessie
Justification: fails to build from source
django-openid-auth FTBFS:
| debian/rules override_dh_auto_test
| make[1]: Entering directory `/build/django-openid-auth-iEM4X0/django-openid-auth-0.4'
| set -e; \
| for python in python2.7; do \
| PYTHONPATH="." $python example_consumer/manage.py test --settings=example_consumer.settings django_openid_auth ; \
| done
| Traceback (most recent call last):
| File "example_consumer/manage.py", line 4, in <module>
| import settings # Assumed to be in the same directory.
| File "/build/django-openid-auth-iEM4X0/django-openid-auth-0.4/example_consumer/settings.py", line 94, in <module>
| import django.middleware.csrf
| File "/usr/lib/python2.7/dist-packages/django/middleware/csrf.py", line 16, in <module>
| from django.utils.cache import patch_vary_headers
| File "/usr/lib/python2.7/dist-packages/django/utils/cache.py", line 26, in <module>
| from django.core.cache import get_cache
| File "/usr/lib/python2.7/dist-packages/django/core/cache/__init__.py", line 70, in <module>
| if DEFAULT_CACHE_ALIAS not in settings.CACHES:
| 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 46, in _setup
| % (desc, ENVIRONMENT_VARIABLE))
| django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
| make[1]: *** [override_dh_auto_test] Error 1
| make[1]: Leaving directory `/build/django-openid-auth-iEM4X0/django-openid-auth-0.4'
| make: *** [build] Error 2
--
Jakub Wilk
More information about the Python-modules-team
mailing list