[Mailman-Users] Uncaught runner exception: unknown encoding

David Relson relson at osagesoftware.com
Thu Sep 2 14:20:40 CEST 2004


Greetings,

Yesterday morning I learned that my mailing lists weren't processing
messages.  When I checked, I discovered that qrunner wasn't running. 
That was easily fixed with "mailmanctl restart".

This morning I decided to investigate and looked at
/var/log/mailman/errors where I found

Sep 02 04:38:56 2004 (27368) Uncaught runner exception: unknown
encoding: gb2312
Sep 02 04:38:56 2004 (27368) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/CommandRunner.py", line 239, in
_dispose
    res.do_command('join')
  File "/usr/lib/mailman/Mailman/Queue/CommandRunner.py", line 137, in
do_command
    return handler.process(self, args)
  File "/usr/lib/mailman/Mailman/Commands/cmd_subscribe.py", line 87, in
process
    h = make_header(decode_header(realname))
  File
"/home/relson/tmp/RPM/mailman-buildroot/usr/lib/mailman/pythonlib/email
/Header.py", line 144, in make_header
  File
"/home/relson/tmp/RPM/mailman-buildroot/usr/lib/mailman/pythonlib/email
/Header.py", line 272, in append
LookupError: unknown encoding: gb2312

Sep 02 04:38:56 2004 (27368) SHUNTING:
1094114335.1847119+d8738c5b43545415c1f7eaa818f52c7289f1a8ea

The FAQ don't mention this problem, so I googled for "LookupError:
unknown encoding:" and didn't find a solution.

FWIW, I've checked email/Charsets.py and it does have a gb2312 entry

I'm running mailman-2.1.5 on Mandrake 10.0 on Intel with kernel-2.4.22. 
Any other info needed??

Regards,

David



More information about the Mailman-Users mailing list