[lxml-dev] python crashes in xmlDictFree inside Zope

David Pratt fairwinds at eastlink.ca
Mon Jun 4 14:55:42 CEST 2007


Hi Eric, let me know if you have any success with Macports libxml2. I 
could not get it to work a little while back. I am trying some binaries 
for mac from explain.com libxml2 2.6.26 at the moment to see how they 
will work out.

Regards,
David

Eric Tiffany wrote:
> 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
> 


More information about the lxml-dev mailing list