[XML-SIG] [ pyxml-Bugs-503074 ] bad import statement in Stylesheet.py
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 13 Jan 2002 13:19:40 -0800
Bugs item #503074, was opened at 2002-01-13 13:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=503074&group_id=6473
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tavis Rudd (tavis_rudd)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad import statement in Stylesheet.py
Initial Comment:
_xmlplus/xslt/Stylesheet.py", line 22, in ?
from xml.xslt import XsltElement, XsltException,
InternalException, Error
ImportError: cannot import name InternalException
This is with PyXML 0.7, Python 2.2, and 4suite 0.11.1
Here's the traceback
----------
tavis@lucy: ~/tmp/4Suite-0.11.1/Xslt/demo > 4xslt
addr_book1.xml
Traceback (most recent call last):
File "/usr/local/bin/4xslt", line 3, 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
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=503074&group_id=6473