[Mailman-Users] Patch: qrunner w/ multiple slices crashing.

Brian Greenberg grnbrg at cc.umanitoba.ca
Sat Aug 14 00:00:27 CEST 2004


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     +
+   grnbrg at cc.umanitoba.ca   +   ACN -- Unix Software Admin   +
+-------------------------------------------------------------+
+ Tasklist and PGP key at http://home.cc.umanitoba.ca/~grnbrg +




More information about the Mailman-Users mailing list