[4suite] 4Suite 0.9.0.2 (release candidate)

Alexandre Fayolle alf at logilab.com
Fri Sep 22 02:42:08 MDT 2000


On Thu, 21 Sep 2000, Uche Ogbuji wrote:

> As a precautionary measure against wearing more brown paper bag, we're
> releasing a pre-release.  Please, please try it out and let us know
> what's still broken.  

This was a wise precaution. ;o>

Installation problem : 

<snip>
  File "admin/Install.py", line 45, in run
    from xml.xslt import _4xslt
  File "/usr/lib/python1.5/site-packages/xml/xslt/__init__.py", line 3, in
?
    from xml import xpath
  File "/usr/lib/python1.5/site-packages/xml/xpath/__init__.py", line 3,
in ?
    from xml.xpath import XPathParserBase
  File "/usr/lib/python1.5/site-packages/xml/xpath/XPathParserBase.py",
line 1, in ?
    import XPath
  File "XPath/__init__.py", line 3, in ?
    from xml.xpath import XPathParserBase
ImportError: cannot import name XPathParserBase
(full traceback available on request)

------------------------

Bugs in Element.py

line 125:
        (prefix, local) = ext.SplitQName(qualifiedName)
should be:
        (prefix, localName) = ext.SplitQName(qualifiedName)

In Element.py, XML_NAMESPACE ans XMLNS_NAMESPACE are not defined, you need
to add these two line around line 20:
XML_NAMESPACE = dom.XML_NAMESPACE
NAMESPACE_ERR = dom.NAMESPACE_ERR

Typo on this line:
INUSE_ATTRIBURTE_ERR = dom.INUSE_ATTRIBUTE_ERR
            ^^^

Class Attr is not imported, so you need to add an import statement at the
beginning of the file (or in setAttributeNS):
from xml.dom.Attr import Attr

(BtW: what is this ugly thing supposed to do: in createAttributeNS:
            a = Attr(self, qualifiedName, 
                     XMLNS_NAMESPACE, 'xmlns',prefix)
a is not reused after that line. And why use the Attr constructor instead 
of self.ownerDocument.creatAttributeNS? And whu do you pass self (ie an
Element) as the ownerDocument parameter to the constructor? )
 

> We hope to have a fixed general release on Monday.

Well, while you take some rest I'm out bug hunting. 

Cheers

-- 
Alexandre Fayolle
http://www.logilab.com - "Mais o est donc Ornicar ?" - 
LOGILAB, Paris (France).





More information about the 4suite mailing list