I am seeing this error with all mail sent to just one (of several)
mailman mailing lists that are operating without problems. I found some
related discussions in the archives, but nothing that (as far as I could
tell) corresponds to what I am seeing.
Sorry for my MUA's line wrapping:
---
Feb 04 20:31:51 2012 (1176) Uncaught runner exception: 'ascii' codec
can't encode character u'\u201c' in position 0: ordinal not in
range(128)
Feb 04 20:31:51 2012 (1176) 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 91, in
process
send_digests(mlist, mboxfp)
File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 132, in
send_digests
send_i18n_digests(mlist, mboxfp)
File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 306, in
send_i18n_digests
msg = scrubber(mlist, msg)
File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 182, in
process
charset = part.get_content_charset(lcset)
File "/usr/local/mailman/pythonlib/email/Message.py", line 817, in
get_content_charset
charset = unicode(charset[2], pcharset).encode('us-ascii')
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in
position 0: ordinal not in range(128)
Feb 04 20:31:51 2012 (1176) SHUNTING:
1328387505.157315+73d2286bbd8f34b0f690645d2037aa561e373438
---
If I understand the exception correctly, 'position 0' is the first
character in the shunted pickle file? But in the beginning of the file
I see:
[----- start pickle file -----]
<----- start object 1 ----->
From [email protected] Sat Feb 4 20:31:45 2012
...
I do not see the U+201C and am stuck trying to figure out why all mail
(regardless of content) to this - and only this list - is shunted.
Thanks for any pointers.
--
Sahil Tandon
------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org