wx and SOAPpy interaction

Amaury Forgeot d'Arc afaNOSPAM at neuf.fr
Sat Apr 14 17:49:39 EDT 2007


alf a écrit :
> Hi,
> 
> there is problem when I import (python 2.4) wx and SOAPpy at the same 
> time. I narrowed the problem to following (on Linux):
> 
>  >>import wx
>  >>import pyexpat
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError:
> /apps/public/python_2.4.4/lib/python2.4/lib-dynload/pyexpat.so:
> undefined symbol: XML_StopParser
> 
> 
> any insight?

It seems that the process is trying to load two versions of the "expat" 
XML library:

http://mail.python.org/pipermail/python-list/2006-April/377070.html

The problem is that wxWidgets embeds its own copy of expat. You may have 
to recompile either python or wxWidgets so that they use the same expat 
version.

-- 
Amaury Forgeot d'Arc



More information about the Python-list mailing list