[XML-SIG] problem with pyexpat.so

Priyank Bhargav priyank.ks at gmail.com
Mon Apr 11 11:58:31 CEST 2005

i have python 2.3.5 and have installed PyXml-0.8.4 package. when i run
a program
that i am working on , which tries to import pyexpat.so but comes up with the 
following error. 
undefined symbol: PyUnicodeUCS2_DecodeUTF8

the following is displayed on the terminal.

Traceback (most recent call last):
   File "davtest.py", line 32, in ?
     from DAV.davserver import DAVRequestHandler
 File "/home/virtual_data/VR/VRdavserver/DAV/davserver.py", line 48, in ?
      from propfind import PROPFIND

File "/home/virtual_data/VR/VRdavserver/DAV/propfind.py", line 33, in ?
import utils
File "/home/virtual_data/VR/VRdavserver/DAV/utils.py", line 16, in ?

         from xml.dom.ext.reader import PyExpat

   File "/usr/lib/python2.3/xml/dom/ext/reader/PyExpat.py", line 25, in ?

    from xml.parsers import expat

 File "/usr/lib/python2.3/xml/parsers/expat.py", line 4, in ?
   from pyexpat import *

ImportError: /usr/lib/python2.3/xml/parsers/pyexpat.so: undefined
symbol: PyUnicodeUCS2_DecodeUTF8

Please guide me in overcomig this problem. 
Thnks for any help.

More information about the XML-SIG mailing list