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

Wouter Verhelst w at uter.be
Mon Jun 8 07:34:07 UTC 2015


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.

-- 
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