[lug] mailman bug stalls delivery queue - post includes problem	resolution
    Ferdinand Schmid 
    fschmid at archenergy.com
       
    Fri Oct  1 16:52:24 MDT 2004
    
    
  
HI,
My mailman installation (mailman-2.0.14-18) stopped delivering messages.  The error log 
got huge with errors of the type:
Oct 01 16:25:01 2004 qrunner(15575):      splitsubj = string.split(subject)
Oct 01 16:25:01 2004 qrunner(15575):   File "/usr/lib/python2.2/string.py", line 117, in split
Oct 01 16:25:01 2004 qrunner(15575):      return s.split(sep, maxsplit)
Oct 01 16:25:01 2004 qrunner(15575): AttributeError :  'NoneType' object has no attribute 
'split'
Oct 01 16:26:01 2004 qrunner(15876): Traceback (most recent call last):
Oct 01 16:26:01 2004 qrunner(15876):   File "/usr/lib/mailman/cron/qrunner", line 283, in ?
Oct 01 16:26:01 2004 qrunner(15876):      kids = main(lock)
Oct 01 16:26:01 2004 qrunner(15876):   File "/usr/lib/mailman/cron/qrunner", line 253, in main
Oct 01 16:26:01 2004 qrunner(15876):      keepqueued = dispose_message(mlist, msg, msgdata)
Oct 01 16:26:01 2004 qrunner(15876):   File "/usr/lib/mailman/cron/qrunner", line 157, in 
dispose_message
Oct 01 16:26:01 2004 qrunner(15876):      mlist.ParseMailCommands(msg)
Oct 01 16:26:01 2004 qrunner(15876):   File 
"/usr/lib/mailman/Mailman/MailCommandHandler.py", line 163, in Parse
MailCommands
Fortunately somebody had run into the same problem recently and posted a fix here:
http://www.mail-archive.com/mailman-users%40python.org/msg27378.html
They basically suggest the amazingly simple fix:
/usr/lib/mailman/Mailman/MailCommandHandler.py file, line 163, as follows:
        if (subject == None): subject = ''
        splitsubj = string.split(subject)
Since many folks on this list may be running mailman I hope this post helps somebody.
Ferdinand
-- 
Ferdinand Schmid
Architectural Energy Corporation
Celebrating over 20 Years of Improving Building Energy Performance
http://www.archenergy.com
    
    
More information about the LUG
mailing list