I was having problems with OutgoingRunner repeatedly crashing with messages like:

Aug 13 15:27:51 2004 qrunner(23829): IOError : [Errno 2] No such file or directory: '/var/priv/mail/mailman/qfiles/out/1092428866.8410051+70dcb0bb96e6460d8cd2aa8103cce318cfa3ed1f.pck'


I believe I have traced the problem to mailman/Mailman/Queues/Switchboard.py.


Detailed description at:

http://sourceforge.net/tracker/index.php?func=detail&aid=1008983&group_id=103&atid=300103


Brian Greenberg.


Patch:

*** Switchboard.py Fri Aug 13 16:43:12 2004
--- Switchboard.py_new Fri Aug 13 16:43:48 2004
***************
*** 164,170 ****
when, digest = filebase.split('+')
# Throw out any files which don't match our bitrange. BAW: test
# performance and end-cases of this algorithm.
! if not lower or (lower <= long(digest, 16) < upper):
times[float(when)] = filebase
# FIFO sort
keys = times.keys()
--- 164,170 ----
when, digest = filebase.split('+')
# Throw out any files which don't match our bitrange. BAW: test
# performance and end-cases of this algorithm.
! if (lower == upper) or (lower <= long(digest, 16) < upper):
times[float(when)] = filebase
# FIFO sort
keys = times.keys()



-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Brian Greenberg + University of Manitoba + + [EMAIL PROTECTED] + ACN -- Unix Software Admin + +-------------------------------------------------------------+ + Tasklist and PGP key at http://home.cc.umanitoba.ca/~grnbrg +

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to