[Mailman-Developers] Weird things happen after upgrade to 2.1a3+ CVS :-(
Luca Maranzano
liuk@publinet.it
Mon, 22 Oct 2001 21:50:44 +0200
On Mon, Oct 22, 2001 at 03:20:05PM -0400, Barry A. Warsaw wrote:
>
> >>>>> "LM" == Luca Maranzano <liuk@publinet.it> writes:
>
> LM> just after upgrading to 2.1a3+ (latest CVS) it seems that
> LM> nothing is working any more. Python 2.0.1, email-0.93.
>
> LM> Here is an error message from gate_news and accessing to the
> LM> Web U/I works only for one list! I'll send the error log in
> LM> another message.
>
> Darn, Dan Mick discovered the same problem triggered from
> senddigests. The problem is both scripts open the list unlocked, and
> that breaks auto-upgrade of the schemas. Attached is the patch I sent
> Dan, and I /thought/ I checked in, but now see I didn't.
I've checked out to latest CVS, your patch has been applied, and now
the error is different:
/usr/bin/python2 -S /home/mailman/cron/gate_news
Traceback (most recent call last):
File "/home/mailman/cron/gate_news", line 249, in ?
main()
File "/home/mailman/cron/gate_news", line 230, in main
process_lists(lock)
File "/home/mailman/cron/gate_news", line 164, in process_lists
mlist = MailList.MailList(listname, lock=0)
File "/home/mailman/Mailman/MailList.py", line 98, in __init__
self.Load()
File "/home/mailman/Mailman/MailList.py", line 531, in Load
self.CheckVersion(dict)
File "/home/mailman/Mailman/MailList.py", line 548, in CheckVersion
self.Lock()
File "/home/mailman/Mailman/MailList.py", line 151, in Lock
self.Load()
File "/home/mailman/Mailman/MailList.py", line 531, in Load
self.CheckVersion(dict)
File "/home/mailman/Mailman/MailList.py", line 548, in CheckVersion
self.Lock()
File "/home/mailman/Mailman/MailList.py", line 147, in Lock
self.__lock.lock(timeout)
File "/home/mailman/Mailman/LockFile.py", line 268, in lock
raise AlreadyLockedError
Mailman.LockFile.AlreadyLockedError
Besides if I access main page via Web
(ie: http://my.site.org/mailman/listinfo) I get the *same* error.
Let me know if there is something I can do (apart studying Pyton ;-)
Thank you.
--luca