[Mailman-Users] Help with ONE broken list (Mailman 2.1.9) - part 2

Mark Sapiro mark at msapiro.net
Thu May 7 19:31:29 CEST 2015


On 05/07/2015 10:11 AM, Drew Tenenholz wrote:

> 
> Thanks for the suggestion.  I did try it, and it actually did make things worse, though I've been able to get back to the previous (yet still broken) state. 


My mistake. I thought setting data_version to 1 would be OK and it was
simpler than having you look things up. Sorry ...


...
> # config.pck schema version number
> DATA_FILE_VERSION = 97


OK.


> After applying the change to the one list, I got this:
> 
> [root]# bin/withlist -l problem-list
> {enter m.data_version change here....}
> 
> Loading list promed-rus (locked)
> Traceback (most recent call last):
>   File "./withlist", line 297, in ?
>     main()
>   File "./withlist", line 275, in main
>     r = do_list(listname, args, func)
>   File "./withlist", line 194, in do_list
>     m = MailList.MailList(listname, lock=LOCK)
>   File "/usr/lib/mailman/Mailman/MailList.py", line 128, in __init__
>     self.Lock()
>   File "/usr/lib/mailman/Mailman/MailList.py", line 165, in Lock
>     self.Load()
>   File "/usr/lib/mailman/Mailman/MailList.py", line 670, in Load
>     self.CheckVersion(dict)
>   File "/usr/lib/mailman/Mailman/MailList.py", line 723, in CheckVersion
>     Update(self, stored_state)
>   File "/usr/lib/mailman/Mailman/versions.py", line 51, in Update
>     UpdateOldVars(l, stored_state)
>   File "/usr/lib/mailman/Mailman/versions.py", line 264, in UpdateOldVars
>     elif l.data_version <= 10 and l.posters:
>   File "/usr/lib/mailman/Mailman/MailList.py", line 146, in __getattr__
>     raise AttributeError, name
> AttributeError: posters


As I said, I thought it would be OK, but you get this if data_version is
<= 10. So you need to set it bigger than that. Actually, in your case,
anything between 11 and 96 will do, but set it to 96.

-- 
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