[Mailman-Users] python errors executing scripts

Mark Panahi mpanahi at gmail.com
Sun Feb 13 01:55:36 CET 2005


Well I get this:

doc local/mailman# bin/update -f
Upgrading from version 0x20105f0 to 0x20105f0
getting rid of old source files
Updating mailing list: birn
Traceback (most recent call last):
  File "bin/update", line 780, in ?
    errors = main()
  File "bin/update", line 670, in main
    errors = errors + dolist(listname)
  File "bin/update", line 206, in dolist
    for addr, (reason, when) in mlist.delivery_status.items():
  File "/usr/local/mailman/Mailman/MailList.py", line 144, in __getattr__
    raise AttributeError, name
AttributeError: delivery_status

Seems like it needs to know that the old lists are from a previous
version. Any way I can indicate this?


On Sat, 12 Feb 2005 16:08:49 -0800, Mark Sapiro <msapiro at value.net> wrote:
> Mark Panahi wrote:
> 
> >Well, I tried 'check_db -a -v' and it complains that there are no
> >config.pck and config.pck.last files for each list. The thing is, I
> >had moved the lists and archive directories from an older installation
> >(we had upgraded everything in our server). Seems like these pck files
> >are something recent? Anyway to create these? Hmmm, I suppose we
> >didn't upgrade properly.
> 
> So presumably you have config.db and config.db.last files instead. This
> change occurred with 2.0.x to 2.1.x.
> 
> Also, for any list whose configuration has been locked, loaded, saved
> and unlocked, there should be a config.pck because 2.1.x versions
> always save the list as a pickle, not a marshall.
> 
> If you upgrade Mailman on an existing installation, the actual
> configuration data will normally be updated by bin/update which will
> be run by "make install"
> 
> In your case, where you moved the config files from another, older
> installation, I think you may need to run bin/update manually,
> although there are reports that seem to indicate this isn't necessary.
> If you do run it, you will probably need the "-f" option to make it do
> anything, and you should back up everything first.
> 
> --
> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 
>



More information about the Mailman-Users mailing list