UnicodeDecodeError when delivering message
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
GNU Mailman | Status tracked in 3.0 | |||||
3.0 |
Fix Released
|
High
|
Mark Sapiro |
Bug Description
I did a fresh install of Mailman 3.0.0a8 on a Debian Squeeze box, created a list, subscribed a few people and sent a message to the list. The message didn't come through, and var/logs/
Mar 08 13:21:08 2012 (23645) Uncaught runner exception: 'ascii' codec can't decode byte 0xe4 in position 20: ordinal not in range(128)
Mar 08 13:21:08 2012 (23645) Traceback (most recent call last):
File "/home/
self.
File "/home/
keepqueued = self._dispose(
File "/home/
process(mlist, msg, msgdata, mlist.start_chain)
File "/home/
if link.rule.
File "/home/
if ':' in line:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 20: ordinal not in range(128)
Mar 08 13:21:08 2012 (23645) SHUNTING: 1331212867.
The message did contain an u'\xe4' in both the subject and the body. I sent the message using Thunderbird 10.0.2 on Linux Mint 12.
Related branches
- Barry Warsaw: Approve
-
Diff: 112 lines (+79/-1)3 files modifiedsrc/mailman/docs/NEWS.rst (+2/-0)
src/mailman/rules/approved.py (+3/-1)
src/mailman/rules/tests/test_approved.py (+74/-0)
I updated to mailman revno 7103, threw away the database and tried again, and still get this traceback (file paths truncated):
Mar 08 13:45:42 2012 (24526) Uncaught runner exception: 'ascii' codec can't decode byte 0xe4 in position 20: ordinal not in range(128) core/runner. py", line 138, in _one_iteration _process_ one_file( msg, msgdata) core/runner. py", line 220, in _process_one_file mlist, msg, msgdata) runners/ incoming. py", line 64, in _dispose chain) core/chains. py", line 68, in process check(mlist, msg, msgdata): rules/approved. py", line 81, in check 4443481+ a044725593fde95 2570648a22d7cc3 6546cb4a70
Mar 08 13:45:42 2012 (24526) Traceback (most recent call last):
File "mailman/
self.
File "mailman/
keepqueued = self._dispose(
File "mailman/
process(mlist, msg, msgdata, mlist.posting_
File "mailman/
if link.rule.
File "mailman/
if ':' in line:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 20: ordinal not in range(128)
Mar 08 13:45:42 2012 (24526) SHUNTING: 1331214342.