Product:
Search Type:

Messages to mailing list cannot be delivered. /var/log/mailman/error shous the error: "TypeError: decoding Unicode is not supported".

Article ID: 1744 
Last Review: Mar,15 2007
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION

SYMPTOMS:

Messages are not delivered to the mailing list.  /var/log/mailman/error contains error like:

    Feb 19 11:35:57 2007 (22516) Uncaught runner exception: decoding Unicode is not supported
    Feb 19 11:35:58 2007 (22516) Traceback (most recent call last):
    File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop elf._onefile(msg, msgdata)
    ......


If you run  /usr/lib/mailman/bin/mailmanctl it exists with the error:

    # /usr/lib/mailman/bin/mailmanctl
    Traceback (most recent call last):
    File "./mailmanctl", line 554, in ? main()
    File "./mailmanctl", line 334, in main
      usage(1, _('No command given.'))
    File "./mailmanctl", line 135, in usage
        print >> fd, _(__doc__)
    File "/var/lib/mailman/Mailman/i18n.py", line 89, in _
        return tns % dict
    ValueError: unsupported format character '[' (0x5b) at index 1133

 

CAUSE:

Such error may occur if the locale in the system is not set to ASCII.  Please check 'LANG' environment variable.

 

RESOLUTION: 

Set 'LANG' environment variable to the Standard one:

# export LANG=C


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields