[Mailman-Developers] Adding a new list attribute

Danci Emanuel danci_emanuel at yahoo.com
Mon Jul 9 20:32:06 CEST 2012



After all I managed to fix this one also. The problem was that mailman was 
trying to access  /var/data/mailman.db, which did not contain
the dlists_enabled column, so it was seeing it as a "corrupt" file.
I just deleted it, restarted mailman and it`s working great!

Thanks!
Emanuel 


________________________________
 From: Barry Warsaw <barry at list.org>
To: Danci Emanuel <danci_emanuel at yahoo.com> 
Cc: "mailman-developers at python.org" <mailman-developers at python.org> 
Sent: Saturday, July 7, 2012 1:39 AM
Subject: Re: [Mailman-Developers] Adding a new list attribute
 
On Jul 02, 2012, at 02:01 PM, Danci Emanuel wrote:

>Indeed, I added these values to the tables, so now they should be fine.
>
>Still, now I am facing another problem. Although I suspected that in the
>get_configuration() is the problem, now I cannot debug that because 
>now I get a new error. After adding the dlists_enabled field to the tables
>and restaring mailman, when I try to access the Postorius server on 
>localhost:8000 I get the HTTP Error 500: 
>
>HTTP Error 500: A server error occurred.  Please contact the administrator.
>and is what shows up in the terminal when I try to access Postorious:

>  File "/usr/local/mm3/mailman/eggs/storm-0.19-py2.6-linux-i686.egg/storm/database.py", line 371, in _check_disconnect
>    return function(*args, **kwargs)
>OperationalError: no such column: mailinglist.dlists_enabled
>
>
>Indeed, is a pretty intuitive error but still, I did not manage to find the
>proper solution. 

Did your database already exist before you added the code?  If so, then the
existing table in the database will not have this column.  You can test this
by wiping out your mailman.sql file and starting over.  If it still crashes,
then, well, it's Something Else ;).

>Thanks for your help and sorry for bugging you with so many questions, but I
>really want to make this work as it should. :)

No worries.  Helping with this kind of thing is what this mailing list is all
about!

-Barry


More information about the Mailman-Developers mailing list