Re: [Mailman-Users] Japanese Character encoding

2006-06-17 Thread Lawrence Bowie
Mark Sapiro wrote:
 Lawrence Bowie wrote:
 
 
Mark Sapiro wrote:

What does scripts/paths.py now contain?


# -*- python -*-

# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# This file becomes paths.py which is installed in may directories.  By
# importing this module, sys.path gets `hacked' so that the $prefix/Mailman
# directory is inserted at the start of that list.  That directory really
# contains the Mailman modules in package form.  This file exports two
# attributes that other modules may use to get the absolute path to the
# installed Mailman distribution.

import sys
import os
import japanese
 
 
 
 This (import japanese) needs to be at the end after the sys.path
 manipulations.  I gave you the wrong info for testing this. It should
 have been
 
 python -S scripts/paths.py
 
 
 
# some scripts expect this attribute to be in this module
prefix = '/usr/lib/mailman'
exec_prefix = '${prefix}'

# work around a bogus autoconf 2.12 bug
if exec_prefix == '${prefix}':
exec_prefix = prefix

# Hack the path to include the parent directory of the $prefix/Mailman package
# directory.
sys.path.insert(0, prefix)

# We also need the pythonlib directory on the path to pick up any overrides of
# standard modules and packages.  Note that these must go at the front of the
# path for this reason.
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))

# Include Python's site-packages directory.
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
   'site-packages')
sys.path.append(sitedir)

 
 
 
 

Since I put it at the end. It is seemingly working now. So I have placed,

import japanese

at the end of sys.path in the files {cron,tests,bin,scripts/paths.py and
it works.

Thanks Mark,

LDB

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-16 Thread Lawrence Bowie
Mark Sapiro wrote:
 Lawrence Bowie wrote:
 
 
Mark Sapiro wrote:

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.
 
 
 
 You may have a syntax error (typo) in scripts/paths.py. Try just running
 
 python scripts.paths.py
 
 It should exit without printing anything. If there's an error, it will
 print an exception.
 

No exceptions.


Actually, when I added import japanese to cron/paths.py, scripts/paths.py and 
tests/paths.py, ALL my lists admin. interface links were
unaccessible.


Thanks,

LDB

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-16 Thread Mark Sapiro
Lawrence Bowie wrote:

Mark Sapiro wrote:
 
 You may have a syntax error (typo) in scripts/paths.py. Try just running
 
 python scripts.paths.py
 
 It should exit without printing anything. If there's an error, it will
 print an exception.
 

No exceptions.


Actually, when I added import japanese to cron/paths.py, scripts/paths.py 
and 
tests/paths.py, ALL my lists admin. interface links were
unaccessible.


I would be surprised if any of the web interface is now accessible. All
the web Ggi scripts are run through scripts/driver which imports
scripts/paths.py which presumably is the only thing that changed, and
is what's causing the problem.

What does scripts/paths.py now contain?

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-16 Thread Lawrence Bowie
Mark Sapiro wrote:
 Lawrence Bowie wrote:
 
 
Mark Sapiro wrote:

You may have a syntax error (typo) in scripts/paths.py. Try just running

python scripts.paths.py

It should exit without printing anything. If there's an error, it will
print an exception.


No exceptions.


Actually, when I added import japanese to cron/paths.py, scripts/paths.py 
and 
tests/paths.py, ALL my lists admin. interface links were
unaccessible.
 
 
 
 I would be surprised if any of the web interface is now accessible. All
 the web Ggi scripts are run through scripts/driver which imports
 scripts/paths.py which presumably is the only thing that changed, and
 is what's causing the problem.
 
 What does scripts/paths.py now contain?
 

# -*- python -*-

# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# This file becomes paths.py which is installed in may directories.  By
# importing this module, sys.path gets `hacked' so that the $prefix/Mailman
# directory is inserted at the start of that list.  That directory really
# contains the Mailman modules in package form.  This file exports two
# attributes that other modules may use to get the absolute path to the
# installed Mailman distribution.

import sys
import os
import japanese

# some scripts expect this attribute to be in this module
prefix = '/usr/lib/mailman'
exec_prefix = '${prefix}'

# work around a bogus autoconf 2.12 bug
if exec_prefix == '${prefix}':
 exec_prefix = prefix

# Hack the path to include the parent directory of the $prefix/Mailman package
# directory.
sys.path.insert(0, prefix)

# We also need the pythonlib directory on the path to pick up any overrides of
# standard modules and packages.  Note that these must go at the front of the
# path for this reason.
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))

# Include Python's site-packages directory.
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
'site-packages')
sys.path.append(sitedir)

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-16 Thread Mark Sapiro
Lawrence Bowie wrote:

Mark Sapiro wrote:
 
 What does scripts/paths.py now contain?
 

# -*- python -*-

# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# This file becomes paths.py which is installed in may directories.  By
# importing this module, sys.path gets `hacked' so that the $prefix/Mailman
# directory is inserted at the start of that list.  That directory really
# contains the Mailman modules in package form.  This file exports two
# attributes that other modules may use to get the absolute path to the
# installed Mailman distribution.

import sys
import os
import japanese


This (import japanese) needs to be at the end after the sys.path
manipulations.  I gave you the wrong info for testing this. It should
have been

python -S scripts/paths.py



# some scripts expect this attribute to be in this module
prefix = '/usr/lib/mailman'
exec_prefix = '${prefix}'

# work around a bogus autoconf 2.12 bug
if exec_prefix == '${prefix}':
 exec_prefix = prefix

# Hack the path to include the parent directory of the $prefix/Mailman package
# directory.
sys.path.insert(0, prefix)

# We also need the pythonlib directory on the path to pick up any overrides of
# standard modules and packages.  Note that these must go at the front of the
# path for this reason.
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))

# Include Python's site-packages directory.
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
'site-packages')
sys.path.append(sitedir)




-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Mark Sapiro
Lawrence Bowie wrote:

How do i get my current mailman SuSE installation o recognize the 
JapaneseCodecs-1.4.11?


What's in your current bin/paths.py? In particular, does it contain

import japanese

?

Does your Mailman installation contain a 'pythonlib/' subdirectory in
the same directory as bin/, Mailman/, etc? Does it contain a
'japanese/' subdirectory?

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.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Mark Sapiro
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.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Lawrence Bowie
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@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Lawrence Bowie
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@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=showamp;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=28020069c8de914473280062343864343933326463373035613733313266343033633265663830303736393565643264633031
admin(17989):   SERVER_SOFTWARE: Apache/2.0.54 (Linux/SUSE)
admin(17989):   SCRIPT_NAME: /mailman/listinfo
admin(17989):   SERVER_SIGNATURE: addressApache/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

--
Mailman-Users mailing list

Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Mark Sapiro
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.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Lawrence Bowie
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.

Thanks,

LDB

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-15 Thread Mark Sapiro
Lawrence Bowie wrote:

Mark Sapiro wrote:
 
 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.


You may have a syntax error (typo) in scripts/paths.py. Try just running

python scripts.paths.py

It should exit without printing anything. If there's an error, it will
print an exception.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Japanese Character encoding

2006-06-14 Thread Lawrence Bowie
Jun 14 20:49:14 2006 (19227) Uncaught runner exception: unknown encoding: 
japanese.euc-jp
Jun 14 20:49:14 2006 (19227) 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/OutgoingRunner.py, line 73, in _dispose
 self._func(mlist, msg, msgdata)
   File /usr/lib/mailman/Mailman/Handlers/SMTPDirect.py, line 152, in process
 deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
   File /usr/lib/mailman/Mailman/Handlers/SMTPDirect.py, line 356, in 
bulkdeliver
 msgtext = msg.as_string()
   File /usr/lib/mailman/Mailman/Message.py, line 208, in as_string
 g.flatten(self, unixfrom=unixfrom)
   File /usr/lib/mailman/pythonlib/email/Generator.py, line 102, in flatten
 self._write(msg)
   File /usr/lib/mailman/pythonlib/email/Generator.py, line 130, in _write
 self._dispatch(msg)
   File /usr/lib/mailman/pythonlib/email/Generator.py, line 156, in _dispatch
 meth(msg)
   File /usr/lib/mailman/pythonlib/email/Generator.py, line 197, in 
_handle_text
 payload = cset.body_encode(payload)
   File /usr/lib/mailman/pythonlib/email/Charset.py, line 386, in body_encode
 s = self.convert(s)
   File /usr/lib/mailman/pythonlib/email/Charset.py, line 269, in convert
 return unicode(s, self.input_codec).encode(self.output_codec)
LookupError: unknown encoding: japanese.euc-jp



I have the above error in my logs. I need this Japanese encoding but my SuSE 
10.0 dist does not stock it. Where can I find it so mailman can work with my 
Japanese mailing lists?

Thanks,

LDB

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-14 Thread Mark Sapiro
Lawrence Bowie wrote:

LookupError: unknown encoding: japanese.euc-jp



I have the above error in my logs. I need this Japanese encoding but my SuSE 
10.0 dist does not stock it. Where can I find it so mailman can work with my 
Japanese mailing lists?


The euc-jp codecs are included in a standard Mailman distribution and
installed $prefix/pythonlib/japanese by the standard install. If they
are not in your Mailman and you have a SuSE packaged Mailman, this
would be a SuSE packaging issue.

You can download the current Mailman 2.1.8 tarball which includes
JapaneseCodecs-1.4.11 in the misc/ directory.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Japanese Character encoding

2006-06-14 Thread Lawrence Bowie
Mark Sapiro wrote:
 Lawrence Bowie wrote:
 
 
LookupError: unknown encoding: japanese.euc-jp



I have the above error in my logs. I need this Japanese encoding but my SuSE 
10.0 dist does not stock it. Where can I find it so mailman can work with my 
Japanese mailing lists?
 
 
 
 The euc-jp codecs are included in a standard Mailman distribution and
 installed $prefix/pythonlib/japanese by the standard install. If they
 are not in your Mailman and you have a SuSE packaged Mailman, this
 would be a SuSE packaging issue.
 
 You can download the current Mailman 2.1.8 tarball which includes
 JapaneseCodecs-1.4.11 in the misc/ directory.
 

How do i get my current mailman SuSE installation o recognize the 
JapaneseCodecs-1.4.11?

Thanks,

LDB

--
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp