[Mailman-Users] Japanese Character encoding

Lawrence Bowie ldb at freestandards.org
Fri Jun 16 05:14:40 CEST 2006

Mark Sapiro wrote:
> Lawrence Bowie wrote:
>>Back again .. The posts are working but the admin. interface page is not working
>>and it is displaying the following message in the browser ...
>>Bug in Mailman version 2.1.6
>>We're sorry, we hit a bug!
>>Please inform the webmaster for this site of this problem. Printing of traceback 
>>and other system information has been explicitly inhibited, but the webmaster 
>>can find this information in the Mailman error logs.
>>I tried to
>>	cp euc_jp.py EUC-JP
>>then restart mailman but it not work.
>>Any idea?
>>Here are the /var/lib/mailman/logs/errors:
>>Jun 15 17:46:26 2006 admin(17989): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>>admin(17989): [----- Mailman Version: 2.1.6 -----]
>>admin(17989): [----- Traceback ------]
>>admin(17989): Traceback (most recent call last):
>>admin(17989):   File "/usr/lib/mailman/scripts/driver", line 101, in run_main
>>admin(17989):     main()
>>admin(17989):   File "/usr/lib/mailman/Mailman/Cgi/listinfo.py", line 60, in main
>>admin(17989):     i18n.set_language(language)
>>admin(17989):   File "/usr/lib/mailman/Mailman/i18n.py", line 35, in set_language
>>admin(17989):     language)
>>admin(17989):   File "/usr/lib/python2.4/gettext.py", line 465, in translation
>>admin(17989):     t = _translations.setdefault(key, class_(open(mofile, 'rb')))
>>admin(17989):   File "/usr/lib/python2.4/gettext.py", line 177, in __init__
>>admin(17989):     self._parse(fp)
>>admin(17989):   File "/usr/lib/python2.4/gettext.py", line 324, in _parse
>>admin(17989):     tmsg = unicode(tmsg, self._charset)
>>admin(17989): LookupError: unknown encoding: EUC-JP
> Did you add "import japanese" to bin/paths.py or was it already there?
> If you added it, you also have to add it to scripts/paths.py and
> cron/path.py, and for completeness, tests/paths.py if you have a
> tests/ directory, but that is only needed if you run any of the
> tests/* scripts.
> Also, you needed to do a 'bin/mailmanctl restart' at some point, but I
> suspect you may have done that.

Sorry never answered your question. Yes, i added it. I also added the additional 
ones as well and restarted.

Now, I just the browser error but I get NOTHING in the error log.



More information about the Mailman-Users mailing list