[lxml-dev] python crashes in xmlDictFree inside Zope

Eric Tiffany etiffany at alum.mit.edu
Sun Jun 3 18:57:09 CEST 2007


On 6/3/07 12:45 PM, "Stefan Behnel" <stefan_ml at behnel.de> wrote:

> 
>> I think the failures I was seeing earlier had to do with my cluelessness
>> about how Zope coughs up file data from the database.
> 
> Ok, so that means what? You got a validation error and it crashed because of
> that?


Sorry, should be clearer.  I had two problems using lxml within Zope.

1.  Using libxml2 2.6.28 built from Macports (probably without threading, in
retrospect) I was getting crashes when running XMLSchema from within Zope,
but success when running from toplevel.  This was fixed by reverting to the
Apple libxml2 2.6.16.

2.  I erroneously reported that lxml was still not working with libxml2
2.6.16 (it wasn't crashing, but I thought it wasn't parsing correctly).  In
fact, I was passing bogus data because there is precious little
documentation about how Zope makes file objects available.  Once I fixed my
code, it all seems to work.

ET

-- 
____________________________________________________
Eric  Tiffany             |  eric at projectliberty.org
Interop Tech  Lead        |  +1 413-458-3743
Liberty Alliance          |  +1 413-627-1778 mobile





More information about the lxml-dev mailing list