senddigests can crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Medium
|
Unassigned |
Bug Description
In certain circumstances the senddigests cron job can
crash. Here is the traceback:
Traceback (most recent call last):
File "/var/mailman/
main()
File "/var/mailman/
mlist.
File "/var/mailman/
send_digest_now
ToDigest.
File "/var/mailman/
line 130, in send_digests
send_
File "/var/mailman/
line 303, in send_i18n_digests
msg = scrubber(mlist, msg)
File "/var/mailman/
line 308, in process
t = t.encode(charset, 'replace')
File
"/ufs/sjoerd/
line 69, in search_function
globals(), locals(), _import_tail)
ValueError: Empty module name
The reason of the crash is that charset in the call to
t.encode is the empty string. Why it is that, I don't
know, and I don't have the email message that triggered
it. But apparently it's possible, so should be
protected against.
This is with Python 2.3 and current CVS.
[http://
Duplicate of already closed 834486