[Mailman-Users] Version Error with Migrated Lists?

Mark Sapiro mark at msapiro.net
Wed Jan 18 20:40:26 CET 2012

Anthony Harrison wrote:
>Whenever I attempt to run fix_url on any of the lists, however, I receive
>the following error:
>Importing fix_url...
>Running fix_url.fix_url()...
>Loading list itsac-test (locked)
>Traceback (most recent call last):
>  File "./withlist", line 299, in <module>
>    main()
>  File "./withlist", line 277, in main
>    r = do_list(listname, args, func)
>  File "./withlist", line 195, in do_list
>    m = MailList.MailList(listname, lock=LOCK)
>  File "/usr/local/mailman/Mailman/MailList.py", line 128, in __init__
>    self.Lock()
>  File "/usr/local/mailman/Mailman/MailList.py", line 165, in Lock
>    self.Load()
>  File "/usr/local/mailman/Mailman/MailList.py", line 676, in Load
>    self.CheckVersion(dict)
>  File "/usr/local/mailman/Mailman/MailList.py", line 729, in CheckVersion
>    Update(self, stored_state)
>  File "/usr/local/mailman/Mailman/versions.py", line 54, in Update
>    UpdateOldVars(l, stored_state)
>  File "/usr/local/mailman/Mailman/versions.py", line 190, in UpdateOldVars
>    for addr in l.posters:
>  File "/usr/local/mailman/Mailman/MailList.py", line 146, in __getattr__
>    raise AttributeError, name
>AttributeError: posters
>This seems to be related to an incorrect version number, but I have no idea
>how to remedy this. Have I missed some crucial step in the migration?

There is an inconsistency in your old list objects in the
lists/LISTNAME/config.pck files.

The section of code throwing the AttributeError on 'posters' is trying
to convert Mailman 2.0.x moderation settings to Mailman 2.1.x
equivalents. It should only be executed if the list has a 'moderated'
attribute which no Mailman 2.1.x list should have.


bin/dumpdb lists/LISTNAME/config.pck

on one of these lists. Look for an attribute 'moderate' and any with
'posters' in the name. What is the moderate attribute? What is the
data_version attribute?

If you need help, you can edit that output to remove all the actual
email addresses and passwords and post that.

Mark Sapiro <mark at msapiro.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