[lxml-dev] Error with thread

Frédéric Mantegazza mantegazza at ill.fr
Mon Oct 29 17:02:00 CET 2007


Hello,

I have a problem with a XSLT filter:

Traceback (most recent call last):
  File "/home/pymad/PyMAD/server/macros/freeScan.py", line 247, in doAction
    DataManager().newScanPoint(numPoint, 'NSF')
  File "/home/pymad/PyMAD/server/managers/dataManager.py", line 253, in 
newScanPoint
    self.__scan.setPoint(numPoint, numPal)
  File "/home/pymad/PyMAD/server/data/scanData.py", line 221, in setPoint
    self.__serialize()
  File "/home/pymad/PyMAD/server/data/scanData.py", line 196, in __serialize
    filter_.dumpScan(self.__tree, self.__scanBaseName)
  File "/home/pymad/PyMAD/server/data/dataFilters.py", line 122, in dumpScan
    result = self.__xslFilter.apply(tree, fileName="'%s'" % baseName)
  File "xslt.pxi", line 450, in etree.XSLT.apply
  File "xslt.pxi", line 356, in etree.XSLT.__call__
RuntimeError: stylesheet is not usable in this thread

This error ocurs on a machine, and not on another, which has the same 
install (debian etch, lxml 1.1.1).

Any idea ?

-- 
   Frédéric


More information about the lxml-dev mailing list