I just remember, if you enable BOBO_DEBUG_MODE for the Zope process, Zope will insert the traceback on the actual page, instead of just as comments. -- 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 )
Alexander Staubo wrote:
I just remember, if you enable BOBO_DEBUG_MODE for the Zope process, Zope will insert the traceback on the actual page, instead of just as comments.
You can also get this by supplying the -D option to the startup script z2.py. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
Alexander Staubo -
Jim Fulton