[Pythonmac-SIG] 2.3b2 vs PyXML 0.8.2

Stuart Bishop zen at shangri-la.dropbear.id.au
Tue Jul 15 14:20:00 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

PyXML 0.8.2 builds and installs happily using the MacPython 2.3b2
distribution. However, it breaks things majorly once installed.
I've successfully built and used this under Python2.2 on mac, and
Python2.3 (not current) under linux.

Any thoughts on if this goes on the PyXML bug tracker or the Python
os-specific bug tracker?

 >>> import xml.dom
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/_xmlplus/dom/__init__.py", line 237, in ?
     import MessageSource
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/_xmlplus/dom/MessageSource.py", line 22, in ?
     gettext.install('4Suite', locale_dir)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 428, in install
     translation(domain, localedir, fallback=True).install(unicode)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 416, in translation
     t = _translations.setdefault(key, class_(open(mofile, 'rb')))
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 176, in __init__
     self._parse(fp)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
gettext.py", line 304, in _parse
     tmsg = unicode(tmsg, self._charset)
LookupError: unknown encoding: CHARSET
 >>>


- -- 
Stuart Bishop <zen at shangri-la.dropbear.id.au>
http://shangri-la.dropbear.id.au/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/E3Lhh8iUz1x5geARAqAPAJ9BgkrsEUBCSzIzZ4tndQAZJnFsgQCgvpo9
nJn12k2ITgT3aDIhKCx/6qg=
=tpFa
-----END PGP SIGNATURE-----




More information about the Pythonmac-SIG mailing list