
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: <ADDRESS>Apache/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: you@yourhost.com
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

Kent Taylor wrote:
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.
Well, the real issue is what header files or ?? are missing on Solaris 10 that prevent successful compilation of hangul.c, but that issue aside, I don't offhand know how to remove all traces of Korean from the package in a way that would prevent the kind of error you're seeing.
Anyway, here's the traceback from the log file... <snip> 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'
Is there a hangul.so (or hangul with some other extension) file in /usr/local/mailman/pythonlib/korean/c/? If so, try removing it or renaming it. It is probably defective since you can't compile hangul.c and your edit may have broken it. If it isn't there, the library will fall back to /usr/local/mailman/pythonlib/korean/python/hangul.py which should work.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Kent Taylor
-
Mark Sapiro