[volunteers] State of the mailing lists, again

Rick Moen rick at linuxmafia.com
Thu Jul 7 23:05:03 PDT 2016


Quoting Sarah Newman (newmans at sonic.net):

> Then I looked at /var/local/mailman/logs/subscribe and yes, at Jun 03
> 09:32:46 2016 someone with a unicode name confirmed signup to svlug
> and svlug-announce.
> 
> I think a possible workaround would be to change (in
> /var/local/mailman/Mailman/Handlers/Decorate.py)
> 
>             username = mlist.getMemberName(member)
>             if username:
>                 username = username.encode(Utils.GetCharSet(d['user_language']))
>             else:
>                 username = member
> 
> to
> 
>             username = mlist.getMemberName(member)
>             if username:
>                 try:
>                     username = username.encode(Utils.GetCharSet(d['user_language']))
>                 except UnicodeError:
>                     username = member
>             else:
>                 username = member
> 
> which I can try if there are no objections. Just editing the user name
> or unsubcribing them is kind of a meh solution since there is no
> guarantee it won't happen again.

Sounds like a winner!  Please do.




More information about the volunteers mailing list