Error UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 88: invalid continuation byte
Hello,
Any message sent to a specific list generates these error messages.
I cant figure out where to search...
Thanks for you help
Jacques
Aug 03 11:31:48 2017 (29482) Uncaught runner exception: 'utf8' codec can't decode byte 0xe0 in position 88: invalid continuation byte Aug 03 11:31:48 2017 (29482) Traceback (most recent call last): File "/var/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop self._onefile(msg, msgdata) File "/var/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/var/lib/mailman/Mailman/Handlers/Cleanse.py", line 80, in process i18ndesc = str(uheader(mlist, mlist.description, 'From')) File "/var/lib/mailman/Mailman/Handlers/CookHeaders.py", line 65, in uheader return Header(s, charset, maxlinelen, header_name, continuation_ws) File "/usr/lib/python2.7/email/header.py", line 183, in __init__ self.append(s, charset, errors) File "/usr/lib/python2.7/email/header.py", line 267, in append ustr = unicode(s, incodec, errors) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 88: invalid continuation byte
Aug 03 11:31:48 2017 (29482) SHUNTING: 1501752708.538834+d7c38a7bcdab18839bc4b0c694b770ae850cb4c8
-- GnuPg : 0x156520BBC8F5B1E3 WeUsePGP Because privacy matters http://weusepgp.info/
list_members > foo rmlist list newlist list add_members < foo
J.
-- GnuPg : 0x156520BBC8F5B1E3 WeUsePGP Because privacy matters http://weusepgp.info/
On 08/03/2017 05:46 AM, Jacques Lav!gnotte. wrote:
list_members > foo rmlist list newlist list add_members < foo
This was overkill. The underlying issue was that the list's 'description' attribute was encoded in a character set which was not that of the list's preferred language.
This probably came about because of the Debian/Ubuntu package's blanket recoding of all languages to UTF-8 without regard to strings in list attributes. See https://bugs.launchpad.net/mailman/+bug/1462755, particularly comment #6 and the threads referenced there, for more about this.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 03/08/2017 à 17:09, Mark Sapiro a écrit :
This was overkill. The underlying issue was that the list's 'description' attribute was encoded in a character set which was not that of the list's preferred language.
Thanks Mark. This will probably will be usefull for some more lists because the server migrated to Debian 8 few days ago.
J.
Rest of the text left untouched for search purposes
This probably came about because of the Debian/Ubuntu package's blanket recoding of all languages to UTF-8 without regard to strings in list attributes. See https://bugs.launchpad.net/mailman/+bug/1462755, particularly comment #6 and the threads referenced there, for more about this.
-- GnuPg : 0x156520BBC8F5B1E3 WeUsePGP Because privacy matters http://weusepgp.info/
participants (2)
-
Jacques Lav!gnotte.
-
Mark Sapiro