special characters in realnames

Bug #265828 reported by Pheinlein-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Critical
Unassigned

Bug Description

Mailman crashs when realnames of members include
special language-specifc characters like german
"Umlaute" (äöüß).

Traceback (most recent call last):
  File "/usr/lib/mailman/bin/list_members", line 232, in ?
    main()
  File "/usr/lib/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 isn`t possible to get a list of all members of this list with
list_members or a who command.

Mailman has to be able to handle other signs then A-Z
and 0-9 in realnames and mailaddresses.

Peer

[http://sourceforge.net/tracker/index.php?func=detail&aid=660675&group_id=103&atid=100103]

Revision history for this message
Jlbpcuba (jlbpcuba) wrote :

I think that the bug is on python itself, because is suppossed that
encode(enc, 'replace') show no errors at all according to
http://www.reportlab.com/i18n/python_unicode_tutorial.html

But is the middle i remove from the code and works ok.
 .encode(enc,
'replace')

Revision history for this message
Jlbpcuba (jlbpcuba) wrote :

I think that the bug is on python itself, because is suppossed that
encode(enc, 'replace') show no errors at all according to
http://www.reportlab.com/i18n/python_unicode_tutorial.html

But is the middle i remove from the code that and works ok.

.encode(enc, 'replace')

Revision history for this message
Pheinlein-users (pheinlein-users) wrote :

Using the actual CVS-checkout I still have problems with that.
Because of that a lot of list`s doesn`t work properly and mails
are shunted. Is it pssoible to clear that problem with a fast fix?

Peer

Revision history for this message
Pheinlein-users (pheinlein-users) wrote :

Hi Barry!

This problem is really old now, I wrote it to you many weeks
ago. It`s a *hugh* daily problem on our server and I really
have to solve this problem and can`t wait any more!

It is a middle-big problem that "who" and
"list_members"
doesn`t work, because the listowners aren't able to extract their
own listmembers into a file or a seperate list.

I have over 75.000 users in our mailinglists and there is no
chance to have a working membership-management without
the possibility to extract the membership-lists to work with!

And it is a *hugh* problem, that the daily
heldmessages-reminders to the admins don`t work! The daily
cronjob to send out those reminders dies every day with this
ASCII decoding error. And IT IS a problem, when no
held-messages-reminders are available for a lot of weeks now!
and heldmessage-management isn`t working correctly! We
have to handle about 2000 - 4000 held messages in out lists!

Please: Could you solve this problem in the really near future
and give them a higher precedence?

You know, I`ll help you and I`ll send you all the files you`ll
possible need to debug an dtrace this error!

Revision history for this message
Barry Warsaw (barry) wrote :

I believe this is now fixed. If not, Peer please let me know!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.