[Mailman-Users] Admin interface for a single list misbehaving?

Christopher Waltham cwaltham at bowdoin.edu
Fri Sep 19 15:13:35 CEST 2008


On Sep 18, 2008, at 11:18 PM, Mark Sapiro wrote:

> Christopher Waltham wrote:
>>
>> "Bug in Mailman version 2.1.10
>>
>> We're sorry, we hit a bug!
>>
>> Please inform the webmaster for this site of this problem. Printing  
>> of
>> traceback and other system information has been explicitly inhibited,
>> but the webmaster can find this information in the Mailman error  
>> logs."
>>
>> Mailman's error.log says this at the time:
>>
>> admin(5901): [----- Mailman Version: 2.1.10 -----]
>> admin(5901): [----- Traceback ------]
>> admin(5901): Traceback (most recent call last):
>> admin(5901):   File "/home/mailman/scripts/driver", line 101, in
>> run_main
>> admin(5901):     main()
>> admin(5901):   File "/home/mailman/Mailman/Cgi/admin.py", line 197,  
>> in
>> main
>> admin(5901):     show_results(mlist, doc, category, subcat, cgidata)
>> admin(5901):   File "/home/mailman/Mailman/Cgi/admin.py", line 498,  
>> in
>> show_results
>> admin(5901):     form.AddItem(membership_options(mlist, subcat,
>> cgidata, doc, form))
>> admin(5901):   File "/home/mailman/Mailman/Cgi/admin.py", line 870,  
>> in
>> membership_options
>> admin(5901):     all = [_m.encode() for _m in mlist.getMembers()]
>> admin(5901): UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0
>> in position 19: ordinal not in range(128)
>
>
>> I've run a "list_members savo_list" (savo_list being the list name)
>> and it works fine; the list has 284 members and I don't see any
>> obviously corrupt members listed there. The Apache error logs  
>> indicate
>> nothing at the time of the error.
>>
>> Any ideas? I'm running check_perms now but it takes a while on this
>> machine. The server is Mailman 2.1.10 on Red Hat Enterprise Linux 4.6
>> (i386).
>
>
> The list has a member with a non-ascii character (0xa0 = no-break
> space) in her/his email address.
>
> If you don't see it in bin/list_members, try
>
>  bin/list_members --invalid
>
> Also, see <http://wiki.list.org/x/UIA9>.

Thanks Mark! That did the trick.


Chris



More information about the Mailman-Users mailing list