[ mailman-Bugs-971957 ] Uncaught runner exception
SourceForge.net
noreply at sourceforge.net
Thu Dec 8 11:12:03 CET 2005
Bugs item #971957, was opened at 2004-06-13 06:36
Message generated for change (Comment added) made by doctorchd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=971957&group_id=103
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: mail delivery
Group: 2.1 (stable)
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: John Distler (jd_waverly)
Assigned to: Nobody/Anonymous (nobody)
Summary: Uncaught runner exception
Initial Comment:
In 2.1.5 Apparently some email message characters can
crash the Runner.py. I have inserted $mailman in place
of my mailman path in the message below from
$mailman/logs/error
Jun 12 01:25:48 2004 (16604) Uncaught runner
exception: ASCII decoding error: ordinal not in range
(128)
Jun 12 01:25:48 2004 (16604) Traceback (most recent
call last):
File "$mailman/Mailman/Queue/Runner.py", line 111, in
_oneloop
self._onefile(msg, msgdata)
File $mailman/Mailman/Queue/Runner.py", line 167, in
_onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "$mailman/Mailman/Queue/CommandRunner.py",
line 223, in _dispose
res = Results(mlist, msg, msgdata)
File "$mailman/Mailman/Queue/CommandRunner.py",
line 77, in __init__
subj = make_header(decode_header
(subj)).__unicode__()
File "$mailman/pythonlib/email/Header.py", line 144, in
make_header
h.append(s, charset)
File "$mailman/pythonlib/email/Header.py", line 272, in
append
ustr = unicode(s, incodec, errors)
UnicodeError: ASCII decoding error: ordinal not in range
(128)
----------------------------------------------------------------------
Comment By: chd (doctorchd)
Date: 2005-12-08 12:12
Message:
Logged In: YES
user_id=1400126
mailman 2.1.6 on FreeBSD (default installation from ports
collection)
python-2.4.2
A letter with charset=ISO-2022-JP stopped a maillist. New
letters are added to the digest but not get sent.
logs/error:
Dec 08 11:12:05 2005 (8832) Uncaught runner exception:
ISO-2022-JP decoding error: invalid designation
Dec 08 11:12:05 2005 (8832) 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/IncomingRunner.py",
line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py",
line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 92, in process
send_digests(mlist, mboxfp)
File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 133, in send_digests
send_i18n_digests(mlist, mboxfp)
File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 331, in send_i18n_digests
payload = unicode(payload, mcset, 'replace'
UnicodeError: ISO-2022-JP decoding error: invalid designation
Dec 08 11:12:05 2005 (8832) SHUNTING:
1134033124.1110449+22e27c8eb18c70264c17eb27d07146812a8c656c
I can present the letter that causes this error (I didn't
find how is it possible to attach a file here).
----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro)
Date: 2005-11-23 08:00
Message:
Logged In: YES
user_id=1123998
gray-john wrote:
>
>I'm seeing this in 2.1.6 as well. We are running Debian
>Sarge. Any word on getting this resolved?
This error was fixed in source in 2.1.6 by catching and
passing the UnicodeError exception. See bug 909490 which is
the same problem.
If you are seeing this error in 2.1.6, it must be coming
from somewhere other than CommandRunner calling make_header.
I suggest you try to get a resolution by posting your
specific error trace to mailman-users at python.org.
I'm closing this report.
----------------------------------------------------------------------
Comment By: John Gray (gray-john)
Date: 2005-11-23 01:31
Message:
Logged In: YES
user_id=392368
I'm seeing this in 2.1.6 as well. We are running Debian
Sarge. Any word on getting this resolved?
----------------------------------------------------------------------
Comment By: Tommi Tervo (tomtervo)
Date: 2004-07-30 16:42
Message:
Logged In: YES
user_id=1094436
Do you need some additional information for debugging this
one, I've over 200 mails stuck on shunts. AFAIK this is
quite fatal bug, emails just disappear and nobody gets
notification.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in
position 10: ordinal not in range(128)
Mailman 2.1.5 and python 2.3.4 on Solaris 8.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=971957&group_id=103
More information about the Mailman-coders
mailing list