[XML-SIG] new install does not work

Paul Tremblay phthenry@earthlink.net
Sun, 2 Jun 2002 01:40:00 -0400


I've just installed the 4xslt suite. I went to the doc file and
ran:

$ python test.py

I listed the complete error message below. This message seems to
be directly related to the problem I am having with the CDATA
tag. 

I am also not able to use 4xslt. I tried running the script
provided with the download, and I got error messages. I have also
included these below.

Any help would be greatly appreciated.

Paul

******************************************************
ERROR MESSAGES WHEN RUNNING python test.py

Traceback (most recent call last):
  File "test.py", line 30, in ?
    t.run()
  File "/usr/local/lib/python2.2/site-packages/Ft/Lib/TestSuite/TestWalker.py", line 323, in run
    self._buildCommandTree(tester)
  File "/usr/local/lib/python2.2/site-packages/Ft/Lib/TestSuite/TestWalker.py", line 192, in _buildCommandTree
    newDir = TestDirectory(f,self)
  File "/usr/local/lib/python2.2/site-packages/Ft/Lib/TestSuite/TestWalker.py", line 156, in __init__
    TestNode.__init__(self,file,parent)
  File "/usr/local/lib/python2.2/site-packages/Ft/Lib/TestSuite/TestWalker.py", line 54, in __init__
    self.module = __import__(self.pyFile, {}, {}, '*')
  File "XPath/__init__.py", line 79, in ?
    _DomMapping = {
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2.py", line 394, in FromXml
    saxHandlerClass, parser)
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2.py", line 387, in FromXmlStream
    return reader.fromStream(stream, ownerDocument)
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/dom/ext/reader/Sax2.py", line 373, in fromStream
    self.parser.parse(s)
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 107, in parse
    self.reset()
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 243, in reset
    self._reset_lex_handler_prop()
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 229, in _reset_lex_handler_prop
    self._parser.CommentHandler = self._lex_handler_prop.comment
AttributeError: 'NoneType' object has no attribute 'CommentHandler'

***************************************************************


********************************************************

ERROR MESSAGES WHEN RUNNING 4XSLT
Traceback (most recent call last):
  File "/home/paul/paultemp/python.temp2.py", line 2, in ?
    from xml.xslt import _4xslt
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/xslt/_4xslt.py", line 20, in ?
    from xml.xslt import Processor
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/xslt/Processor.py", line 24, in ?
    from xml.xslt import StylesheetReader, ReleaseNode
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/xslt/StylesheetReader.py", line 53, in ?
    from xml.xslt.Stylesheet import StylesheetElement
  File "/usr/local/lib/python2.2/site-packages/_xmlplus/xslt/Stylesheet.py", line 22, in ?
    from xml.xslt import XsltElement, XsltException, InternalException, Error
ImportError: cannot import name InternalException




-- 

************************
*Paul Tremblay         *
*phthenry@earthlink.net*
************************