New unicode-related error with CVS
Updated to CVS today, and now I'm seeing these; anyone else?
Feb 05 20:17:15 2003 (4633) Uncaught runner exception: ASCII decoding error: ordinal not in range(128) Feb 05 20:17:15 2003 (4633) Traceback (most recent call last): File "/export/home/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop self._onefile(msg, msgdata) File "/export/home/mailman/Mailman/Queue/Runner.py", line 155, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/export/home/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/export/home/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/export/home/mailman/Mailman/Handlers/ToDigest.py", line 79, in process send_digests(mlist, mboxfp) File "/export/home/mailman/Mailman/Handlers/ToDigest.py", line 120, in send_digests send_i18n_digests(mlist, mboxfp) File "/export/home/mailman/Mailman/Handlers/ToDigest.py", line 213, in send_i18n_digests addresses = getaddresses([lheader(msg.get('from', ''), lcset)]) File "/export/home/mailman/Mailman/Handlers/ToDigest.py", line 372, in lheader h = make_header(decode_header(s), **kws) File "/export/home/mailman/pythonlib/email/Header.py", line 123, in make_header h.append(s, charset) File "/export/home/mailman/pythonlib/email/Header.py", line 230, in append ustr = unicode(s, incodec) UnicodeError: ASCII decoding error: ordinal not in range(128)
Feb 05 20:17:15 2003 (4633) SHUNTING: 1044504218.645468+31ecfd687a04619284497495da50c740cbddf364
Dan Mick wrote:
Updated to CVS today, and now I'm seeing these; anyone else?
No, but it's ToDigest.py again...
addresses = getaddresses([lheader(msg.get('from', ''), lcset)])File "/export/home/mailman/Mailman/Handlers/ToDigest.py", line 372, in lheader h = make_header(decode_header(s), **kws)
Does this person set his name in non-ascii character and your list is configured english (us-ascii) ?
I think I have to update my patch. https://sourceforge.net/tracker/?func=detail&aid=674401&group_id=103&atid=300103
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
Dan,
I think I have to update my patch. https://sourceforge.net/tracker/?func=detail&aid=674401&group_id=103&atid=300103
There actually are two patches, original and revised. I think the original one will get you better result. https://sourceforge.net/tracker/download.php?group_id=103&atid=300103&file_id=40608&aid=674401
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
participants (2)
-
Dan Mick -
Tokio Kikuchi