2.0beta3 update gate_watermarks->config.db for non-existent list

I just tried to update a system from 2.0b1 to 2.0b3 (CVS @ ~0300UTC) and discovered a problem with the section of 'update' that copies the gate_watermarks file into the config.db files. gate_watermarks can contain watermarks for lists that no longer exist. That results in:
Updating Usenet watermarks Traceback (innermost last): File "bin/update", line 293, in ? mlist = MailList.MailList(listname) File "/home/mailman/Mailman/MailList.py", line 70, in __init__ self.Load() File "/home/mailman/Mailman/MailList.py", line 880, in Load raise Errors.MMUnknownListError, e Mailman.Errors.MMUnknownListError: [Errno 2] No such file or directory: '/home/mailman/lists/tpc.test3/config.db'
There are lots of ways to fix it... the one I used is attached.
-- Jim Tittsler, Tokyo Python Starship http://starship.python.net/crew/jwt/

"JT" == Jim Tittsler <jwt@dskk.co.jp> writes:
JT> I just tried to update a system from 2.0b1 to 2.0b3 (CVS @
JT> ~0300UTC) and discovered a problem with the section of
JT> 'update' that copies the gate_watermarks file into the
JT> config.db files. gate_watermarks can contain watermarks for
JT> lists that no longer exist. That
JT> There are lots of ways to fix it... the one I used is
JT> attached.
Thanks, I applied this patch (essentially).
-Barry
participants (2)
-
Barry A. Warsaw
-
Jim Tittsler