[Mailman-Users] sync_members

Marco Stoecker marco at stoecker-family.de
Tue Apr 21 15:59:44 CEST 2015


On 04/17/2015 04:57 PM, Mark Sapiro wrote:
> How does it fail? Does it throw an exception? If so, please provide a
> traceback. If not, what does it do?
> 
> What is the list's preferred_language?
> 

Hi Mark

late answer, my laptop crashed.

the default language for this list is German:
preferred_language = 'de'

indeed it throws an exception:

user at machine:~# ./mailinglist_sync.sh
Traceback (most recent call last):
  File "/usr/sbin/sync_members", line 288, in <module>
    main()
  File "/usr/sbin/sync_members", line 259, in main
    s = email.Utils.formataddr((name, addr)).encode(enc, 'replace')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 8:
ordinal not in range(128)

any glue?

BR
Marco


More information about the Mailman-Users mailing list