[Mailman-Users] list_members traceback error with ASCII character

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue Feb 18 01:10:06 CET 2003

I suppose some member having latin-1 character in his fullname
and your list preferred language is english.
You may want to override the list preferred charset by putting
following lines in mm_cfg.py

def _(s):
     return s
LC_DESCRIPTIONS['en'] = ( _('English (USA)'), 'iso-8859-1' )
del s

or if you don't care the translation, simply
LC_DESCRIPTIONS['en'] = ( 'English (International)', 'iso-8859-1')

This will eliminate errors but still you will get unprintable
charcters in '?'. If you need it printed, hack.


NOW Website Coordinator wrote:
> I also am having a problem with list_members in 2.1.1.  I got the 
> following traceback when I use list_members -f :
> Traceback (most recent call last):
>   File "/usr/local/mailman/bin/list_members", line 232, in ?
>     main()
>   File "/usr/local/mailman/bin/list_members", line 207, in main
>     s = formataddr((name, addr)).encode(enc, 'replace')
> UnicodeError: ASCII decoding error: ordinal not in range(128)
> It works if I don't use the "-f" option, but I need that option.
> I found a previous person having this problem as well, but not really a 
> solution:
> http://www.mail-archive.com/mailman-users@python.org/msg15361.html
> check_db does not report any errors on this list.
> Ideas?

More information about the Mailman-Users mailing list