crash due to unrecognized mime type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Cron sent me a message with this stack trace. The
problem is due to the fact that I'm using Python 2.3b1
with its version of guess_all_
return None. The replacement version in Scrubber.py
never returns None. A simple patch is attached.
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 257, in process
url = save_attachment
File "/var/mailman/
line 349, in save_attachment
ext = guess_extension
File "/var/mailman/
line 80, in guess_extension
if ext in all:
TypeError: iterable argument required
The file Scrubber.diff was added: patch for crash in Scrubber.py