[Python-modules-team] Bug#669493: django-picklefield: 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:27:04 UTC 2012


Source: django-picklefield
Version: 0.2.0-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
> echo 'DATABASE_ENGINE = "sqlite3"' > testproject/settings.py
> echo 'INSTALLED_APPS = ["picklefield"]' >> testproject/settings.py
> set -e; \
> 	for python in python2.7 python2.6; do \
> 	  PYTHONPATH=".:src" $python testproject/manage.py test --settings=testproject.settings; \
> 	done
> Creating test database for alias 'default'...
> 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/commands/test.py", line 49, in run_from_argv
>     super(Command, self).run_from_argv(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/commands/test.py", line 72, in handle
>     failures = test_runner.run_tests(test_labels)
>   File "/usr/lib/python2.7/dist-packages/django/test/simple.py", line 381, in run_tests
>     old_config = self.setup_databases()
>   File "/usr/lib/python2.7/dist-packages/django/test/simple.py", line 317, in setup_databases
>     self.verbosity, autoclobber=not self.interactive)
>   File "/usr/lib/python2.7/dist-packages/django/db/backends/creation.py", line 256, in create_test_db
>     self._create_test_db(verbosity, autoclobber)
>   File "/usr/lib/python2.7/dist-packages/django/db/backends/creation.py", line 321, in _create_test_db
>     cursor = self.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-picklefield_0.2.0-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