[Bug 1243343] [NEW] bin/sync_members throws UnicodeDecodeError with non-ascii names.

Mark Sapiro mark at msapiro.net
Tue Oct 22 20:11:14 CEST 2013


Public bug reported:

If bin/sync_members is adding a member whose display name includes non-
ascii, it can throw a UnicodeDecodeError as in

Traceback (most recent call last):
  File "/usr/local/mailman/bin/sync_members", line 288, in <module>
    main()
  File "/usr/local/mailman/bin/sync_members", line 259, in main
    s = email.Utils.formataddr((name, addr)).encode(enc, 'replace')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)

A similar issue may occur with removal.

** Affects: mailman
     Importance: Undecided
     Assignee: Mark Sapiro (msapiro)
         Status: Fix Committed

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1243343

Title:
  bin/sync_members throws UnicodeDecodeError with non-ascii names.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1243343/+subscriptions


More information about the Mailman-coders mailing list