[Zope] Debugging Script (Python) - where is the traceback?
Paul Winkler
pw_lists at slinkp.com
Mon Aug 23 15:22:22 EDT 2004
Look in the root of your zope instance, there is an object
called /error_log that keeps recent tracebacks.
Also there is a property on that log object which you can check
and errors will then be copied to the zope event log
(for zope 2.7.x that is normally in $INSTANCE_HOME/log/event.log).
On Mon, Aug 23, 2004 at 12:17:25PM -0700, Dave Kuhlman wrote:
> I'm embarrassed to ask such a simple question, but I've done
> searches and I've looked through the Zope Book and the Zope Wiki,
> but still cannot find this.
>
> I have a Script (Python). When I call it from DTML, I get the
> following:
>
> Error Type: RuntimeError
> Error Value: Script (Python) get_size has errors.
>
> Where does Zope write the traceback to?
>
> I have "debug-mode on" in my etc/zope.conf, but that does not seem
> to make a difference.
>
> Or does it, and I just do not know where to look?
>
> Thanks for help.
>
> Dave
>
> --
> Dave Kuhlman
> dkuhlman at rexx.com
> http://www.rexx.com/~dkuhlman
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
--
Paul Winkler
http://www.slinkp.com
More information about the Zope
mailing list