[lxml-dev] ERESTARTNOHAND error

Stefan Behnel stefan_ml at behnel.de
Fri Aug 31 10:08:18 CEST 2007


Frédéric Mantegazza wrote:
> Le jeudi 30 août 2007 21:33, Stefan Behnel a écrit :
> 
>> Which version of lxml are you using?
> 
> 1.1.1 (debian etch package). Some weeks ago, I tried the 1.3.0, without 
> success.

Then 1.3.3 and later should work much better for you. You can even try
2.0alpha1, which will (hopefully) be released today. It has quite some
robustness improvements in the XPath code.


>> You can also build lxml from sources and pass the "--without-threading"
>> option, which might work for you.
> 
> Ok. What is the impact on the usage, without threading? Do I have to change 
> something in my code?

No, it's just an internal switch that prevents lxml from freeing the GIL, so
everything will run serialised (unless you call back into Python code).

Stefan



More information about the lxml-dev mailing list