>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.
>>ideas?
>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
>show_results
> form.AddItem(membership_options(mlist, subcat, cgidata, doc, form))
> File "/usr/local/mailman/Mailman/Cgi/admin.py", line 873, in
>membership_options
> 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.
Sean