[ mailman-Patches-825997 ] sync_members traceback

SourceForge.net noreply at sourceforge.net
Sat Oct 18 11:05:27 EDT 2003


Patches item #825997, was opened at 2003-10-18 17:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=825997&group_id=103

Category: command line scripts
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Buchmann (avalon)
Assigned to: Nobody/Anonymous (nobody)
Summary: sync_members traceback

Initial Comment:
sync_members would give a traceback when reading a file
containing foreign (non-ASCII) characters in the
"fullname" of an email address:

Traceback (most recent call last):
  File "/home/mailman/bin/sync_members", line 286, in ?
    main()
  File "/home/mailman/bin/sync_members", line 259, in main
    s = email.Utils.formataddr((name,
addr)).encode(enc, 'replace')
UnicodeError: ASCII decoding error: ordinal not in
range(128)

The patch attached fixes this, using code copied from
list_members.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=825997&group_id=103



More information about the Mailman-coders mailing list