[Python-modules-team] Bug#669492: django-countries: FTBFS: django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Apr 19 19:26:09 UTC 2012


Source: django-countries
Version: 1.1.2-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120419 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> django-admin startproject testproject
> cp debian/settings.py testproject/settings.py
> set -e; \
> 	for python in python2.7 python2.6; do \
> 	  rm -f testproject/test.db3 ; \
> 	  PYTHONPATH="." $python testproject/manage.py syncdb --settings=testproject.settings --noinput ;\
> 	  PYTHONPATH="." $python testproject/manage.py test --settings=testproject.settings ;\
> 	done
> Traceback (most recent call last):
>   File "testproject/manage.py", line 10, in <module>
>     execute_from_command_line(sys.argv)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
>     utility.execute()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
>     output = self.handle(*args, **options)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 371, in handle
>     return self.handle_noargs(**options)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
>     cursor = connection.cursor()
>   File "/usr/lib/python2.7/dist-packages/django/db/backends/dummy/base.py", line 15, in complain
>     raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
> django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/04/19/django-countries_1.1.2-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Python-modules-team mailing list