[Pkg-mailman-hackers] Bug#785642: Bug#785642: Bug#785642: queue runner dies with uncaught UnicodeDecodeError
Wouter Verhelst
w at uter.be
Sun Jun 7 17:33:40 UTC 2015
On Sun, Jun 07, 2015 at 07:03:50PM +0200, Thijs Kinkhorst wrote:
> Hoi Wouter,
>
> I got some questions back from upstream, can you help?
>
>
> 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.
> Also, what is the list's preferred_language and what is the raw value of
> the list's description attribute. Obtain this info with something like:
>
> $ bin/withlist list1
> Loading list list1 (unlocked)
> The variable `m' is the list1 MailList instance
> >>> m.preferred_language
> 'en'
> >>> m.description
> 'My List one'
> >>>
root at barbershop:~# /usr/lib/mailman/bin/withlist caljente
Loading list caljente (unlocked)
The variable `m' is the caljente MailList instance
>>> m.preferred_language
'nl'
>>> m.description
'Lijst voor Caljent\xe9-leden'
>>>
Not sure what encoding that is. I've changed it to "Caljente" for now, which
should be a reasonable workaround.
Thanks,
--
It is easy to love a country that is famous for chocolate and beer
-- Barack Obama, speaking in Brussels, Belgium, 2014-03-26
More information about the Pkg-mailman-hackers
mailing list