[Mailman-Users] list_members traceback error with ASCII character
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
LC_DESCRIPTIONS['en'] = ( _('English (USA)'), 'iso-8859-1' )
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 ?
> 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
> check_db does not report any errors on this list.
More information about the Mailman-Users