[lxml-dev] OpenVMS port of lxml

Jean-François Piéronne jf.pieronne at laposte.net
Sat Jul 14 15:01:54 CEST 2007


Hi,

lxml 1.3.2 has been successfully ported to OpenVMS (Alpha and Itanium
platform).

 The problems founds are:
- A lot of compilation warning, I can send then if there is some interest.

TESTED VERSION:
    Python:            (2, 5, 1, 'final', 0)
    lxml.etree:        (1, 3, 2, 0)
    libxml used:       (2, 6, 29)
    libxml compiled:   (2, 6, 29)
    libxslt used:      (1, 1, 21)
    libxslt compiled:  (1, 1, 21)

- Some of the tests failed
  * test_etree.py

................................................................................
..................................EE
======================================================================
ERROR: test_xinclude (__main__.XIncludeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_etree.py", line 1604, in test_xinclude
    self.include( tree )
AttributeError: 'XIncludeTestCase' object has no attribute 'include'

======================================================================
ERROR: test_xinclude_text (__main__.XIncludeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_etree.py", line 1597, in test_xinclude_text
    self.include( etree.ElementTree(root) )
AttributeError: 'XIncludeTestCase' object has no attribute 'include'

----------------------------------------------------------------------
Ran 116 tests in 0.258s

FAILED (errors=2)

I don't think it's a specific VMS problem but I don't have any others
platforms to test

  * test_xslt.py
Python interpreter crash with an error during the rundown of the program:
assert error: expression = autoInterpreterState, in file
PYTHON_ROOT:[Python]pystate.c;1 at line 563

I can provide a complete traceback

  * test_elementtree.py and some others tests raised error like
======================================================================
ERROR: test_ElementTree (__main__.ETreeTestCaseBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_elementtree.py", line 252, in test_ElementTree
    Element = self.etree.Element
AttributeError: 'NoneType' object has no attribute 'Element'




Thanks for any advises.


Jean-François



More information about the lxml-dev mailing list