[Grok-dev] what do people do to get tracebacks with Grok 1.2 and ajax?

Martijn Faassen faassen at startifact.com
Thu Dec 16 10:54:31 EST 2010


On 12/16/2010 04:35 PM, Martijn Faassen wrote:
> Grok 1.2 seems to refuse to print any tracebacks to the shell or logs.
> The only way to see tracebacks is with the exception handling
> middleware, which is useless with Ajax.
>
> Surely someone must have a solution to this?

It appears that the zope.app.appsetup 3.15.0 release fixes this. At 
first I thought release of zope.error would fix it, as it sets 
copy_to_zlog to True, but this turns out to be a misdirection, as 
zope.app.appsetup actually sets up the global error logging service.

I think the ZODB needs to be wiped out to enable this though, so that's 
hardly ideal.

Regards,

Martijn




More information about the Grok-dev mailing list