[Python-modules-team] Bug#669472: django-markupfield: 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:38 UTC 2012


Source: django-markupfield
Version: 1.0.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 markupfield/tests/*.py testproject/
> set -e; \
> 	for python in python2.7 python2.6; do \
> 	  $python testproject/manage.py test --settings=testproject.settings --pythonpath=. ; \
> 	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-markupfield_1.0.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