Expat version mismatch

Thanks Robin, that solved it.

···

On Mon, 2005-01-03 at 19:02, Robin Dunn wrote:

Thys Meintjes wrote:
> Hi All,
>
> After I upgraded to 2.5.3.1 (for fc2 on my fc2 box, rmps from
> www.wxpython.org) I'm getting the following fatal error:
>
> File "/usr/lib/python2.3/site-packages/Ft/Xml/XPath/Util.py", line 17,
> in ?
> from Ft.Xml import Domlette, XML_NAMESPACE, XMLNS_NAMESPACE,
> EMPTY_NAMESPACE
> File "/usr/lib/python2.3/site-packages/Ft/Xml/Domlette.py", line 35,
> in ?
> from cDomlette import implementation, nonvalParse, valParse
> File "/usr/lib/python2.3/site-packages/Ft/Xml/cDomlette.py", line 15,
> in ?
> import cDomlettec
> ImportError: Expat version mismatch; expected 1.95.6, found 1.95.7
>
> I've installed both the ansi and gtk2 2.5.3.1 versions and set the
> wx.pth appropriately for each one but the problem persists.

wxWidgets has a copy of the expat lib built-in for use with XRC. When
you import the xml packages they are doing a version check and end up
using the expat symbols already loaded. So you can try to work around
this by importing the xml modules first, before wx is imported.

--

The information contained in this communication is confidential and may be
legally privileged. It is solely for use of the individual or entity to whom
is addressed and others authorised to receive it. If you are not the intended
recipient you are hereby notified that any disclosure, copying, distribution
or taking of any action in reliance on the contents of this information is
strictly prohibited and may be unlawful.

This Message has been scanned for viruses and dangerous content by the NetSys
International Mail Scanner and is believed to be clean.