ASP problem (activestate 2.1, winNT)

Jim Abrams jim at publishingresources.com
Wed May 16 11:48:44 EDT 2001


I occasionally get this strange error.


Python ActiveX Scripting Engine error '80020009' 
Traceback (innermost last): File "<Script Block >", line 227, in ? 
    	print TR(TD(Href(_link % idf, str(desc) + DateTimeFromCOMDate
(dtc).strftime(' (%m/%y)')), Class='regular')) File "<Script Block >", line 
16, 
in write self.R.Write(buf) File "d:\python21\win32comext\axscript\client
\pyscript.py", line 146, in __getattr__ return self._scriptItem_.subItems
[string.lower(attr)].attributeObject 

AttributeError: 'None' object has no attribute 'subItems' 

/include/sitefiles/menu.inc, line 32 

return self._scriptItem_.subItems[string.lower(attr)].attributeObject
 

I believe it has something to do with the object I assign to sys.stdout, 
mapping a .write function to Response.Write to get print statements to work.

Ideas on what this is?





More information about the Python-list mailing list