[Mailman-Developers] RELEASED: GNU Mailman 3.0 beta 1 and Postorius 1.0 alpha 1

Florian Fuchs f at state-of-mind.de
Wed Mar 28 18:13:49 CEST 2012


Hi Odhiambo,

Am 28.03.12 17:13, schrieb Odhiambo Washington:
> Hey Jeff and all,
> 
> I followed the "five minute guide", but I am hitting a brickwall:
> 
> [root at jaribu] /usr/home/wash/Tools/Mailman/MM3/postorius/dev_setup# python
> manage.py syncdb
> Traceback (most recent call last):
>   File "manage.py", line 29, in <module>
>     execute_manager(settings)
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/__init__.py",
> line 459, in execute_manager
>     utility.execute()
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/__init__.py",
> line 382, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/base.py",
> line 196, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/base.py",
> line 232, in execute
>     output = self.handle(*args, **options)
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/base.py",
> line 371, in handle
>     return self.handle_noargs(**options)
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/commands/syncdb.py",
> line 57, in handle_noargs
>     cursor = connection.cursor()
>   File
> "/usr/local/lib/python2.7/site-packages/Django-1.4-py2.7.egg/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.

You're doing nothing wrong! Except you're using the latest Django
version (1.4) which was released only some days ago... :-)

In Django 1.2 support for multiple databases has been added, so they
extended the format of the db definition in settings.py. It looks like
in 1.4 the old format (which we have used so far) is no longer supported
which most definitely causes the above error to be thrown.

Changing the DATABASE setting in dev_setup/settings.py should do the
trick. Like here:
https://docs.djangoproject.com/en/1.4/ref/settings/#databases

I will fix that in our launchpad branch as well, so these changes will
go into the next alpha (which will probably be released not too far from
now... :-)

Florian




> 
> 
> Can anyone tell what I am doing wrong?
> 
> 
> 
> 
> 
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> http://mail.python.org/mailman/listinfo/mailman-developers
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/f%40state-of-mind.de
> 
> Security Policy: http://wiki.list.org/x/QIA9



More information about the Mailman-Developers mailing list