[Mailman-Users] `AttributeError : 'string' object has no attribute 'lower'' from qrunner

Chris Lightfoot chris at ex-parrot.com
Mon Jul 22 11:25:47 CEST 2002


I find that certain messages, including blank messages and
responses to subscription confirmation messages, cause
qrunner to abort with the following traceback:

Jul 22 10:20:01 2002 qrunner(21794): Traceback (innermost last):
Jul 22 10:20:01 2002 qrunner(21794):   File "/home/mailman/cron/qrunner", line 283, in ?
Jul 22 10:20:01 2002 qrunner(21794):      kids = main(lock)
Jul 22 10:20:01 2002 qrunner(21794):   File "/home/mailman/cron/qrunner", line 253, in main
Jul 22 10:20:01 2002 qrunner(21794):      keepqueued = dispose_message(mlist, msg, msgdata)
Jul 22 10:20:01 2002 qrunner(21794):   File "/home/mailman/cron/qrunner", line 157, in dispose_message
Jul 22 10:20:01 2002 qrunner(21794):      mlist.ParseMailCommands(msg)
Jul 22 10:20:01 2002 qrunner(21794):   File "/home/mailman/Mailman/MailCommandHandler.py", line 123, in ParseMailCommands
Jul 22 10:20:01 2002 qrunner(21794):      precedence = msg.get('precedence', '').lower()
Jul 22 10:20:01 2002 qrunner(21794): AttributeError :  'string' object has no attribute 'lower' 

This started to occur two days after an upgrade from
2.0beta5 to 2.0.12; the system is Linux with python 1.5.2.

It is possible to make the queue run by using strace to
establish which message is causing the problem (why isn't
this reported in the log?), moving it out of the queue
directory, running it again, moving the next problematic
message, etc. However, this is not really a feasible way
to run the list, so I would be pleased to discover a real
solution....


-- 
Some circumstantial evidence is very strong,
as when one finds a trout in the milk (Thoreau)





More information about the Mailman-Users mailing list