[Mailman-Users] Japanese Character encoding

Lawrence Bowie ldb at freestandards.org
Fri Jun 16 02:55:39 CEST 2006


Lawrence Bowie wrote:
> Mark Sapiro wrote:
> 
>>Mark Sapiro wrote:
>>
>>
>>>If you have everything but the pythonlib/japanese/ directory, you can
>>>unpack the JapaneseCodecs-1.4.11.tar.gz, cd to the unpack directory
>>>and run
>>>
>>>python ./setup.py build
>>>
>>>This will create a 'build/' subdir which contains a lib*/ subdir which
>>>contains a 'japanese/' subdir which you can move to Mailman's
>>>pythonlib/ directory.
>>
>>
>>
>>Or you can run
>>
>>python ./setup.py install
>>
>>either after or instead of 'python ./setup.py build', and that will
>>install the codecs in python's site-packages/ directory, and they will
>>be available to Mailman there.
>>
> 
> 
> Thanks Mark ..
> 
> LDb
> 
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ldb%40example.org
> 
> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
> 
> 

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
admin(17989): [----- Python Information -----]
admin(17989): sys.version     =   2.4.1 (#1, Sep 13 2005, 00:39:20)
[GCC 4.0.2 20050901 (prerelease) (SUSE Linux)]
admin(17989): sys.executable  =   /usr/bin/python
admin(17989): sys.prefix      =   /usr
admin(17989): sys.exec_prefix =   /usr
admin(17989): sys.path        =   /usr
admin(17989): sys.platform    =   linux2
admin(17989): [----- Environment Variables -----]
admin(17989):   HTTP_COOKIE: 
lsb-discuss+admin=280200000069c8de9144732800000062343864343933326463373035613733313266343033633265663830303736393565643264633031
admin(17989):   SERVER_SOFTWARE: Apache/2.0.54 (Linux/SUSE)
admin(17989):   SCRIPT_NAME: /mailman/listinfo
admin(17989):   SERVER_SIGNATURE: <address>Apache/2.0.54 (Linux/SUSE) Server at 
lists.example.org Port 80</address>
admin(17989):
admin(17989):   REQUEST_METHOD: GET
admin(17989):   HTTP_KEEP_ALIVE: 300
admin(17989):   SERVER_PROTOCOL: HTTP/1.1
admin(17989):   QUERY_STRING:
admin(17989):   HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
admin(17989):   HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; 
rv:1.8.0.3) Gecko/20060425 SUSE/1.5.0.3-7 Firefox/1.5.0.3
admin(17989):   HTTP_CONNECTION: keep-alive
admin(17989):   HTTP_REFERER: http://lists.example.org/mailman/listinfo
admin(17989):   SERVER_NAME: lists.example.org
admin(17989):   REMOTE_ADDR: 72.21.10.146
admin(17989):   PATH_TRANSLATED: /srv/www/htdocs/mylist
admin(17989):   SERVER_PORT: 80
admin(17989):   SERVER_ADDR:
admin(17989):   DOCUMENT_ROOT: /srv/www/htdocs
admin(17989):   HTTP_PRAGMA: no-cache
admin(17989):   PYTHONPATH: /usr/lib/mailman
admin(17989):   SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/listinfo
admin(17989):   SERVER_ADMIN: [no address given]
admin(17989):   HTTP_HOST: lists.example.org
admin(17989):   HTTP_CACHE_CONTROL: no-cache
admin(17989):   REQUEST_URI: /mailman/listinfo/mylist
admin(17989):   HTTP_ACCEPT: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
admin(17989):   GATEWAY_INTERFACE: CGI/1.1
admin(17989):   REMOTE_PORT: 46417
admin(17989):   HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
admin(17989):   HTTP_ACCEPT_ENCODING: gzip,deflate
admin(17989):   PATH_INFO: /mylist




More information about the Mailman-Users mailing list