[Mailman-Users] 'AttributeError: has_key' errors
John Ello
jello at waste.org
Sat Aug 18 01:17:02 CEST 2001
Hi. The following error has been filling up my logs for a few weeks now. I
was using 2.0.1, and I just upgraded to 2.0.6 and it's still happening:
Aug 17 15:09:07 2001 (19548) Delivery exception: has_key
Aug 17 15:09:07 2001 (19548) Traceback (innermost last):
File "/usr/share/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in do_pipeline
func(mlist, msg, msgdata)
File "/usr/share/mailman/Mailman/Handlers/Hold.py", line 140, in process
hold_for_approval(mlist, msg, msgdata, ModeratedPost)
File "/usr/share/mailman/Mailman/Handlers/Hold.py", line 218, in hold_for_approval
mlist.HoldMessage(msg, reason, msgdata)
File "/usr/share/mailman/Mailman/ListAdmin.py", line 148, in HoldMessage
assert not self.__db.has_key(id)
AttributeError: has_key
This is on a Redhat 6.2+updates box. I've been running 2.0.1 without
problems since shortly after it came out, the problems started recently.
I've also been getting these errors mailed to me from cron (they're much
less frequent than the above errors, so I'm not sure if they'll continue
with 2.0.6):
(hostname replaced by ###)
Date: Thu, 16 Aug 2001 17:00:02 -0700
From: Cron Daemon <root@###.org>
To: mailman@###.org
Subject: Cron <mailman@###> /usr/bin/python -S /usr/share/mailman/cron/checkdbs
Traceback (innermost last):
File "/usr/share/mailman/cron/checkdbs", line 92, in ?
main()
File "/usr/share/mailman/cron/checkdbs", line 43, in main
count = mlist.NumRequestsPending()
File "/usr/share/mailman/Mailman/ListAdmin.py", line 97, in
NumRequestsPending
return len(self.__db)
TypeError: len() of unsized object
Does anyone know why this might be happening?
If you need any other info I would be more than happy to provide it.
Thanks much.
--
We don't believe in criminals.
- (Young) Pioneers
More information about the Mailman-Users
mailing list