[lxml-dev] PyThread_release_lock segmentation fault
Eli Stevens (WG.c)
listsub at wickedgrey.com
Sat Jan 13 02:08:35 CET 2007
Martijn Faassen wrote:
> Could you let us know which tests are failing?
Hello,
The test failures that I mentioned in a previous message were due to
there being an older version of libxml2 installed on the machine I was
using (I don't administer the machine, and I hadn't realized it was
lurking around). This was the cause of the mismatched versions that
Holger noticed:
TESTED VERSION:
Python: (2, 4, 0, 'final', 0)
lxml.etree: (1, 1, 2, 0)
libxml used: (2, 6, 16)
libxml compiled: (2, 6, 27)
libxslt used: (1, 1, 11)
libxslt compiled: (1, 1, 19)
I'm getting one more test failure, but since I've got two versions of
libxml2, two versions of python 2.4 and two versions of lxml all
installed on this machine, I suspect the problem is that just mismatched
configurations on my end.
Just in case, I've copied the test failure below, but I really think
that it's a problem on the machine I'm using.
Eli
elis at mapdev4:~/edit/external/tarball/lxml-1.1.2> make test
/homes/elis/bin/python setup.py build_ext -i
Building lxml version 1.1.2
running build_ext
/homes/elis/bin/python test.py -p -v
TESTED VERSION:
Python: (2, 4, 4, 'final', 0)
lxml.etree: (1, 1, 2, 0)
libxml used: (2, 6, 27)
libxml compiled: (2, 6, 27)
libxslt used: (1, 1, 19)
libxslt compiled: (1, 1, 19)
477/477 (100.0%): Doctest: extensions.txt
======================================================================
FAIL: test_xslt_parameter_missing (lxml.tests.test_xslt.ETreeXSLTTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/homes/elis/lib/python2.4/unittest.py", line 260, in run
testMethod()
File
"/homes/elis/edit/external/tarball/lxml-1.1.2/src/lxml/tests/test_xslt.py",
line 221, in test_xslt_parameter_missing
st.apply, tree)
File "/homes/elis/lib/python2.4/unittest.py", line 326, in
failUnlessRaises
raise self.failureException, "%s not raised" % excName
AssertionError: XSLTApplyError not raised
----------------------------------------------------------------------
Ran 477 tests in 0.464s
FAILED (failures=1)
make: *** [test_inplace] Error 1
More information about the lxml-dev
mailing list