[Mailman-Users] 2.0.13 qrunner crash on message with no Subject header
Myk Melez
myk at mozilla.org
Sat Apr 10 01:44:23 CEST 2004
qrunner on my mailman 2.0.13 installation crashes with the following
error when it encounters a message with no Subject header:
Apr 09 14:40:02 2004 qrunner(18834): Traceback (innermost last):
Apr 09 14:40:02 2004 qrunner(18834): File "/var/mailman/cron/qrunner",
line 283, in ?
Apr 09 14:40:02 2004 qrunner(18834): kids = main(lock)
Apr 09 14:40:02 2004 qrunner(18834): File "/var/mailman/cron/qrunner",
line 253, in main
Apr 09 14:40:02 2004 qrunner(18834): keepqueued =
dispose_message(mlist, msg, msgdata)
Apr 09 14:40:02 2004 qrunner(18834): File "/var/mailman/cron/qrunner",
line 157, in dispose_message
Apr 09 14:40:02 2004 qrunner(18834): mlist.ParseMailCommands(msg)
Apr 09 14:40:02 2004 qrunner(18834): File
"/var/mailman/Mailman/MailCommandHandler.py", line 163, in ParseMailCommands
Apr 09 14:40:02 2004 qrunner(18834): splitsubj = string.split(subject)
Apr 09 14:40:02 2004 qrunner(18834): TypeError : argument 1: expected
read-only character buffer, None found
It looks like the problem is in MailCommandHandler.py, which tries to
split the header without making sure it exists first. The attached
patch seems to fix the problem. Is the developers list more appropriate
for this message? Is the project even accepting patches for 2.0.13
anymore? I can't find the equivalent code in the latest version from
CVS, so perhaps this is a 2.0.13-only problem (or else I don't know
where to look).
-myk
More information about the Mailman-Users
mailing list