[Mailman-Users] Problem accessing membership management

Sean sean at sweetbourbon.com
Wed May 19 13:49:07 CEST 2004

>While running 2.1.4 I get the following when trying to access the
>Membership Management module from the admin page. This only happens on
>one list on a server with ~400 lists.
>Con Wieland
>Traceback (most recent call last):
>   File "/usr/local/mailman/scripts/driver", line 87, in run_main
>     main()
>   File "/usr/local/mailman/Mailman/Cgi/admin.py", line 198, in main
>     show_results(mlist, doc, category, subcat, cgidata)
>   File "/usr/local/mailman/Mailman/Cgi/admin.py", line 501, in
>     form.AddItem(membership_options(mlist, subcat, cgidata, doc, form))
>   File "/usr/local/mailman/Mailman/Cgi/admin.py", line 873, in
>     all = [_m.encode() for _m in mlist.getMembers()]
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position
>16: ordinal not in range(128)

Sounds like there are addresses subscribed with non-ascii characters.  Run
~mailman/bin/list_members -i to get a list of invalid addresses.  Also
running ~mailman/bin/find_member -l listname "[^\w\-+ at .%]" > badaddresses
will turn up some bad addresses.  The regular expressions("[^\w\-+ at .%]")
may need to be tweaked a little.


More information about the Mailman-Users mailing list