[Mailman-Developers] How can I reload mlist data from SA database

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Thu Mar 29 14:49:58 CEST 2007

> We must be sure that always_refresh=True don't break the lock.
No good.  Can't get lock at all.

$ bin/withlist test
Loading list test at colinux.pc (unlocked)
The variable 'm' is the test MailList instance
 >>> m.Lock()
 >>> m.Locked()
 >>> m.Save()
Traceback (most recent call last):
   File "<console>", line 1, in <module>
   File "/usr/local/mailman/Mailman/MailList.py", line 576, in Save
   File "/usr/local/mailman/Mailman/LockFile.py", line 187, in refresh
     raise NotLockedError('%s: %s' % (repr(self), self._read()))
NotLockedError: <LockFile 3078782956: 
/usr/local/mailman/locks/test at colinux.pc.lock [unlocked: 18000sec] 
pid=6644>: None

Tokio Kikuchi, tkikuchi at is.kochi-u.ac.jp

More information about the Mailman-Developers mailing list