#365 CommandRunner-UnicodeDecodeError

Mailman 2.1
open
nobody
5
2005-04-04
2005-04-04
Myroslav Opyr
No

Another two messages got stuck in my shunt folder:
Apr 04 13:48:45 2005 (31466) Traceback (most recent
call last):
File "/usr/local/mailman/Mailman/Queue/Runner.py",
line 111, in _oneloop
self._onefile(msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/Runner.py",
line 167, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File
"/usr/local/mailman/Mailman/Queue/CommandRunner.py",
line 224, in _dispose
res = Results(mlist, msg, msgdata)
File
"/usr/local/mailman/Mailman/Queue/CommandRunner.py",
line 78, in __init__
subj = make_header(decode_header(subj)).__unicode__()
File
"/usr/local/lib/python2.3/site-packages/email/Header.py",
line 124, in make_header
h.append(s, charset)
File
"/usr/local/lib/python2.3/site-packages/email/Header.py",
line 252, in append
ustr = unicode(s, incodec, errors)
UnicodeDecodeError: 'ascii' codec can't decode byte
0xd5 in position 0: ordinal not in range(128)

Attached patch pushed them.

Discussion

  • Martin Mokrejs
    Martin Mokrejs
    2006-10-19

    Logged In: YES
    user_id=696559

    This does not apply to 2.1.9. Is this still necessary? It
    doesn't seem to me.