[XML-SIG] [ pyxml-Bugs-816442 ] Code error on Windows, py2.3 : no attribute "_id_cache"

SourceForge.net noreply at sourceforge.net
Thu Oct 2 05:28:35 EDT 2003


Bugs item #816442, was opened at 2003-10-02 11:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=816442&group_id=6473

Category: DOM
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Cédric Dutoit (dutoitc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Code error on Windows, py2.3 : no attribute "_id_cache"

Initial Comment:
Code error on Windows, py2.3 :





The following code :

    a=Document()

    b=Element("x")

    a.appendChild(b)



Give me the following error :

"NoneType" object has no attribute "_id_cache"

exceptions.AttributeError



in

    ...

    ...minidom.py, 126, appendChild, _clear_id_cache(self)

    ... minidom.py, 1461, _clear_id_cache, 

node.ownerDocument._id_cache.clear()





Where does this error come from ?

I think that this is related to Python 2.3.



I've the following versions :

Python 2.3.1

pyxml-0.8.3.win32-py2.3.exe





Thanks in advance for your help,



C.Dutoit

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=816442&group_id=6473



More information about the XML-SIG mailing list