Bug#409954: python-xml: Importing pyexpat fails with python2.4-dbg build

Matthias Klose doko at cs.tu-berlin.de
Tue Feb 6 18:02:40 CET 2007


severity 409954 wishlist
thanks

yes, python-xml-dbg package would maybe nice to have.

Kevin Campbell writes:
> Package: python-xml
> Version: 0.8.4-6
> Severity: important
> 
> 
> Attempting to use python2.4-dbg to import expat fails. The normal build works without
> any problems. The traceback to reproduce is shown below.
> 
> kev at achar:~/src/debpkgs/python2.4-2.4.4$ python2.4-dbg
> Python 2.4.4 (#1, Jan 13 2007, 17:49:45)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from xml.parsers import expat
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in ?
>     from pyexpat import *
> ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: Py_InitModule4




More information about the pkg-zope-developers mailing list