[Mailman-Users] But I don't want any Korean

2007-01-22 Thread Kent Taylor
Very frustrating. I had a problem installing a mailman update a few months back 
on Solaris 10. I posted the traceback, and a very patient person directed me 
through modifying and repacking Setup.py in KoreanCodecs-2.0.5, and that did 
the trick.
 
Now I'm trying to install another update, and I'm getting *Korean* errors 
again. I tried editing and repacking the Setup.py file like last time, but that 
didn't do it. So I did some googling and found instructions for editing and 
repacking hangul.c in KoreanCodecs-2.0.5. That didn't work either.
 
Is there any way to disable Korean all-together, forever and ever, amen?! It's 
just so frustrating to waste an entire day working a foreign language issue on 
a product that will never be used by a non-English speaking person - ever.
 
Anyway, here's the traceback from the log file...
 
admin(2805): [- Mailman Version: 2.1.9 -] 
admin(2805): [- Traceback --] 
admin(2805): Traceback (most recent call last):
admin(2805):   File /usr/local/mailman/scripts/driver, line 94, in run_main
admin(2805): pkg = __import__('Mailman.Cgi', globals(), locals(), 
[scriptname])
admin(2805):   File /usr/local/mailman/Mailman/Cgi/listinfo.py, line 26, in ?
admin(2805): from Mailman import Utils
admin(2805):   File /usr/local/mailman/Mailman/Utils.py, line 39, in ?
admin(2805): import email.Header
admin(2805):   File /usr/local/mailman/pythonlib/email/Header.py, line 13, in 
?
admin(2805): from email.Charset import Charset
admin(2805):   File /usr/local/mailman/pythonlib/email/Charset.py, line 178, 
in ?
admin(2805): add_codec(_charset, _find_asian_codec(_charset, 'korean') or 
_charset)
admin(2805):   File /usr/local/mailman/pythonlib/email/Charset.py, line 163, 
in _find_asian_codec
admin(2805): unicode('foo', charset)
admin(2805):   File /usr/sfw/lib/python2.3/encodings/__init__.py, line 91, in 
search_function
admin(2805): mod = __import__(modname, globals(), locals(), _import_tail)
admin(2805):   File /usr/local/mailman/pythonlib/korean/johab.py, line 26, in 
?
admin(2805): from korean.python.johab import *
admin(2805):   File /usr/local/mailman/pythonlib/korean/python/johab.py, line 
28, in ?
admin(2805): johab2uni_chosung = {
admin(2805): AttributeError: class Jaeum has no attribute 'SS'
admin(2805): [- Python Information -] 
admin(2805): sys.version =   2.3.3 (#1, Dec 16 2004, 14:38:56) [C] 
admin(2805): sys.executable  =   /usr/sfw/bin/python 
admin(2805): sys.prefix  =   /usr/sfw 
admin(2805): sys.exec_prefix =   /usr/sfw 
admin(2805): sys.path=   /usr/sfw 
admin(2805): sys.platform=   sunos5 
admin(2805): [- Environment Variables -] 
admin(2805):SERVER_SOFTWARE: Apache/1.3.36 (Unix) mod_perl/1.29 
admin(2805):SCRIPT_NAME: /mailman/listinfo 
admin(2805):SERVER_SIGNATURE: ADDRESSApache/1.3.36 Server at 127.0.0.1 
Port 80/ADDRESS
admin(2805): 
admin(2805):REQUEST_METHOD: GET 
admin(2805):SERVER_PROTOCOL: HTTP/1.1 
admin(2805):QUERY_STRING:  
admin(2805):HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 
5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 1.0.3705) 
admin(2805):HTTP_CONNECTION: Keep-Alive 
admin(2805):SERVER_NAME: 127.0.0.1 
admin(2805):REMOTE_ADDR: 192.168.90.28 
admin(2805):SERVER_PORT: 80 
admin(2805):SERVER_ADDR: 192.168.90.5 
admin(2805):DOCUMENT_ROOT: /var/apache/htdocs 
admin(2805):PYTHONPATH: /usr/local/mailman 
admin(2805):SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/listinfo 
admin(2805):SERVER_ADMIN: [EMAIL PROTECTED] 
admin(2805):HTTP_HOST: m 
admin(2805):HTTP_UA_CPU: x86 
admin(2805):REQUEST_URI: /mailman/listinfo 
admin(2805):HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, 
application/vnd.ms-powerpoint, application/msword, */* 
admin(2805):GATEWAY_INTERFACE: CGI/1.1 
admin(2805):REMOTE_PORT: 3176 
admin(2805):HTTP_ACCEPT_LANGUAGE: en-us 
admin(2805):TZ: GMT-5-5 
admin(2805):HTTP_ACCEPT_ENCODING: gzip, deflate 
admin(2805):UNIQUE_ID: RbSPvcCoWgUAAAcbN8g 

 
Thank you in advance for any assistance in either solving the problem, or 
side-stepping it by disabling Korean support.
/kpt
 
--
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] Problem Installing on Solaris 10

2006-04-03 Thread Kent Taylor
I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - 
make works - make install does not. I checked the lists and found that I'm 
not the only person to have this problem - Unfortunately, the other person's 
solution was to revert to Solaris 8 - I really don't want to do that. The make 
install error is command 
'/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 
2 trying to compile src/hangul.c - Any assistance would be appreciated. 
Thank you.
/kpt
 
--
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] Installation on Solaris 10

2006-04-03 Thread Kent Taylor
I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - 
make works - make install does not. The problem seems to a Python issue - I 
checked the Python lists and found that I'm not the only person to have this 
problem - Unfortunately, the other person's solution was to revert to Solaris 8 
- I really don't want to do that. The make install error is command 
'/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 
2 trying to compile src/hangul.c - Any assistance would be appreciated. 
Thank you.
/kpt
 
--
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] Problem Installing on Solaris 10

2006-04-03 Thread Kent Taylor
Thank you Mark. I get an option --without-extension not recognized error.
/kpt
 



From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Mon 4/3/2006 1:11 PM
To: Kent Taylor; mailman-users@python.org
Subject: Re: [Mailman-Users] Problem Installing on Solaris 10



Kent Taylor wrote:

I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - 
make works - make install does not. I checked the lists and found that I'm 
not the only person to have this problem - Unfortunately, the other person's 
solution was to revert to Solaris 8 - I really don't want to do that. The 
make install error is command 
'/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 
2 trying to compile src/hangul.c - Any assistance would be appreciated. 
Thank you.

I'm only guessing as a workaround that might not work or might cause
other problems, but if you look at misc/Makefile in the unpack
directory, you'll see

SHELL=  /bin/sh
PYTHONLIBDIR=   $(prefix)/pythonlib
SETUPINSTOPTS=  --install-lib $(DESTDIR)$(PYTHONLIBDIR) \
--install-purelib $(DESTDIR)$(PYTHONLIBDIR) \
--install-data $(DESTDIR)$(PYTHONLIBDIR)
SETUPCMD=   setup.py --quiet install $(SETUPINSTOPTS)
PKGDIR= $(srcdir)

Try adding a line to SETUPINSTOPTS so it becomes

SETUPINSTOPTS=  --install-lib $(DESTDIR)$(PYTHONLIBDIR) \
--install-purelib $(DESTDIR)$(PYTHONLIBDIR) \
--without-extension \
--install-data $(DESTDIR)$(PYTHONLIBDIR)

--
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] Problem Installing on Solaris 10

2006-04-03 Thread Kent Taylor
Thank you again. Same option --without-extension not recognized error.
/kpt
 

 


From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Mon 4/3/2006 1:40 PM
To: Kent Taylor; mailman-users@python.org
Subject: RE: [Mailman-Users] Problem Installing on Solaris 10



Kent Taylor wrote:

Thank you Mark. I get an option --without-extension not recognized error.

I think that comes from the Japanese codecs setup which is run with the
same command and doesn't like the option, so instead try editing
misc/KoreanCodecs-2.0.5/setup.py and replacing

   ext_modules = flavors['extension'] and [
   Extension(korean.c._koco, [src/_koco.c]),
   Extension(korean.c.hangul, [src/hangul.c]),
   ] or [])

at the end of the module with

   ext_modules = [])

--
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] Problem Installing on Solaris 10

2006-04-03 Thread Kent Taylor
Oh, sorry. Done. Back to the original error now. Thank you once again.
/kpt
 



From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Mon 4/3/2006 2:03 PM
To: Kent Taylor; mailman-users@python.org
Subject: RE: [Mailman-Users] Problem Installing on Solaris 10



Kent Taylor wrote:

Thank you again. Same option --without-extension not recognized error.

in response to ... so instead try editing ...


By which I meant put the Makefile back the way it originally was and
then edit the Korean setup.py.

--
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] Our Mailman web server is listening on port 81 (not 80)

2003-12-04 Thread Kent Taylor
Hello,
Our Mailman web server is listening on port 81 (not 80). I modified the
config lines in mm_cfg.py to read...
 
DEFAULT_URL_HOST   = 'mail.stginternational.com:81'
DEFAULT_EMAIL_HOST = 'stginternational.com'

...but all the links that Mailman creates omit the :81 portion of the
URL, and therefore are incorrect. Example:
 
http://mail.stginternational.com:81/mailman/listinfo contains a link to
the list admin overview page
http://mail.stginternational.com/mailman/admin , which points to
http://mail.stginternational.com/mailman/admin rather than
http://mail.stginternational.com:81/mailman/admin as it should.
 
I tried, unsuccessfully, messing with fix_url.py. What's the right way
to do this? Thank you for your help.
/kpt
 
 
Kent Taylor
The Recruiting Team
National Institute of Allergy and Infectious Diseases
National Institutes of Health
Biodefense Research Careers
Voice: 703.578.8201, ext 217
Fax:: 703.578.4532
Tollfree: 888.798.4991
Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
http://healthresearch.niaid.nih.gov/omni/
http://healthresearch.niaid.nih.gov/omni/ 
 
 
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Our Mailman web server is listening on port 81 (not 80)

2003-12-04 Thread Kent Taylor
Hello,

Our Mailman web server is listening on port 81 (not 80). I
modified the config lines in mm_cfg.py to read...
 
DEFAULT_URL_HOST   = 'mail.stginternational.com:81'
DEFAULT_EMAIL_HOST = 'stginternational.com' 
 

...but all the links that Mailman creates omit the :81 portion
of the URL, and therefore are incorrect. Example:
 
http://mail.stginternational.com:81/mailman/listinfo contains a
link to the list admin overview page
http://mail.stginternational.com/mailman/admin , which points to
http://mail.stginternational.com/mailman/admin rather than
http://mail.stginternational.com:81/mailman/admin as it should.
 
I tried, unsuccessfully, messing with fix_url.py. What's the
right way to do this? Thank you for your help.
/kpt
 
 

Kent Taylor
The Recruiting Team
National Institute of Allergy and Infectious Diseases
National Institutes of Health
Biodefense Research Careers
Voice: 703.578.8201, ext 217
Fax:: 703.578.4532
Tollfree: 888.798.4991
Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
http://healthresearch.niaid.nih.gov/omni/
http://healthresearch.niaid.nih.gov/omni/ 
 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org