[XML-SIG] PyXML-0.8.4 : regression tests fail

Joseph E. Sacco, Ph.D. joseph_sacco at comcast.net
Wed Apr 13 21:57:55 CEST 2005


System: 
	* Powermac G4 silver, 
	* Yellow Dog Linux 4.0.1 [FC2 clone for PPC's]
	* python-2.3.5
	* gcc-3.3.3

===========================================================================
Three of the regression tests fail: 

	test_expatreader test_howto test_minidom

See attached output from regrtest.py.

These failures have the collateral effect of nuking a python-based GNOME
menu editor written my Travis Watkins [alleykat at gmail.com]

        http://www.realistanew.com/2005/03/18/gnome-menu-editor/

The menu-editor library imports xml.dom.minidom. When PyXML is
installed, the menu-editor crashes:

        % menu-editor
        python: Objects/stringobject.c:110: PyString_FromString:
        Assertion `str != ((void *)0)' failed.
        Aborted

When PyXML is removed, the menu-editor runs.


-Joseph

-- 
joseph_sacco [at] comcast [dot] net
-------------- next part --------------
test_c14n
test test_c14n skipped -- an optional feature could not be imported
test_dom
test test_dom skipped -- an optional feature could not be imported
test_domreg
test_encodings
test_expatreader
test test_expatreader failed -- Traceback (most recent call last):
  File "/usr/local/src/Python/PyXML-0.8.4/test/test_expatreader.py", line 21, in setUp
    self.parser.setFeature(handler.feature_namespace_prefixes, 1)
  File "/var/tmp/python-2.3.5-root/usr/lib/python2.3/xml/sax/expatreader.py", line 156, in setFeature
SAXNotSupportedException: expat does not report namespace prefixes

test_filter
test_howto
test test_howto crashed -- exceptions.AttributeError : 'module' object has no attribute 'DefaultHandler'
test_htmlb
test test_htmlb skipped -- an optional feature could not be imported
test_javadom
test test_javadom skipped -- an optional feature could not be imported
test_marshal
test test_marshal skipped -- an optional feature could not be imported
test_minidom
test test_minidom failed -- Writing: 'Test Failed: ', expected: ''
test_ns
test test_ns skipped -- an optional feature could not be imported
test_pyexpat
test_sax
test test_sax skipped -- an optional feature could not be imported
test_sax2
test test_sax2 skipped -- an optional feature could not be imported
test_sax2_xmlproc
test_sax_xmlproc
test test_sax_xmlproc skipped -- an optional feature could not be imported
test_saxdrivers
test test_saxdrivers skipped -- an optional feature could not be imported
test_utils
test test_utils skipped -- an optional feature could not be imported
test_xmlbuilder
test_xmlproc
test test_xmlproc skipped -- an optional feature could not be imported
6 tests OK.
3 tests failed: test_expatreader test_howto test_minidom
12 tests skipped: test_c14n test_dom test_htmlb test_javadom test_marshal test_ns test_sax test_sax2 test_sax_xmlproc test_saxdrivers test_utils test_xmlproc


More information about the XML-SIG mailing list