[Pkg-mailman-hackers] Bug#785642: Bug#785642: Bug#785642: Bug#785642: queue runner dies with uncaught UnicodeDecodeError

Thijs Kinkhorst thijs at debian.org
Tue Jun 9 09:59:13 UTC 2015


On Mon, June 8, 2015 09:34, Wouter Verhelst wrote:
> On Mon, Jun 08, 2015 at 09:16:44AM +0200, Thorsten Glaser wrote:
>> On Sun, 7 Jun 2015, Wouter Verhelst wrote:
>>
>> > > Actually, the traceback says what's happening is CookHeaders is
>> trying
>> > > to create the List-Id: header to be added to the message.
>> > >
>> > > It tries to create a header of the form:
>> > >
>> > > List-Id: list description <list.example.com>
>> > >
>> > > And the exception occurs when trying to rfc 2047 encode the list's
>> > > description in the charset of the list's preferred language. This
>> > > exception should be occurring on every list post. Is that the case?
>> >
>> > Yes.
>>
>> Wouter, I think you hit the second paragraph of this:
>>
>> mailman (1:2.1.16-1exp1) experimental; urgency=low
>>
>>   This version has changed the encoding of most strings, templates
>>   and pages to UTF-8 to meet the Debian release goal of full UTF-8
>>   support in all packages. It also no longer automatically converts
>>   mails to ISO-8859-1.
>>
>>   If you have been using any nōn-ASCII strings in places such as
>>   the mailing list description, these were be stored wrongly in the
>>   list configuration file (config.pck), so you will need to change
>>   those (e.g. via the webinterface) again in order to have them be
>>   displayed correctly.
>>
>>  -- Thorsten Glaser <tg at mirbsd.de>  Sun, 29 Dec 2013 14:35:50 +0000
>>
>> (from NEWS.Debian, which you “probably should” have followed ;)
>>
>> So, in short, load the list config via the webinterface,
>> then retype the description and save the entry. Or just
>> use config_list and put it in as Unicode/UTF-8.
>
> That seems likely, yes. I guess I didn't realize I had a non-ASCII
> character in there. There's really only a handful of lists here, and
> that one was the only one with non-ASCII.

Thanks. A solution for this situation was committed in upstream 2.1 stable
branch so it at least does not crash the qrunner.


Cheers,
Thijs



More information about the Pkg-mailman-hackers mailing list