[Zope] More from error messages?

Alexander Staubo alex@mop.no
Tue, 10 Aug 1999 23:33:34 +0200


Try doing a "View source" on the result web page. Zope appends a
traceback to the HTML.

If you're using Zope 2.0, most times the traceback will be included on
the page, although oddly enough not always -- it seems rather arbitrary.

-- 
Alexander Staubo             http://www.mop.no/~alex/
"QED?" said Russell.
"It's Latin," said Morgan. "It means, So there you bastard."
--Robert Rankin, _Nostramadus Ate My Hamster_

>-----Original Message-----
>From: Donald Holten [mailto:donner@biophysics.lanl.gov]
>Sent: 10. august 1999 23:29
>To: zope@zope.org
>Subject: [Zope] More from error messages?
>
>
>	Is there any way to get more information from an error 
>message?  I have 
>the following message:
>	Error Type: AttributeError
>          Error Value: 'string' object has no attribute 'filename'
>          
>          But I don't know what variable it is talking about.  
>If you pass a 
>variable into a python script from Zope, and the variable is a 
>file passed from 
>an "attach" html tag, will it still be a file when python gets 
>it?  Is it all 
>just one big string?  Any help here would be great...   Thanks!
>          Donner
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )
>