[Silva-general] PTProfiler 1.2 Released, Updated for Five and Zope 2.10

Kit BLAKE kitblake at infrae.com
Thu Mar 29 17:00:37 CEST 2007


Hi Jon,
> I've installed this product on our development server which works well, but
> we seem to be getting a considerable number of calls to
> standard_error_message, the profiled results for this can be seen in the
> attached document (see standard_error_message.xls)
> 
> Apologies for a lack of knowledge here but is there any chance someone could
> explain what's going on (i.e. why so any calls to s_e_m)? But more
> importantly should we be concerned? And what can be done to resolve this?

The PTProfiler result you sent looks like it's from a default Silva 
installation on your dev server. By default I mean without your site's 
layout. Is that the case?

Can you look in the error_log and find tracebacks for those errors? They 
should be showing up with urls and tracebacks.

About the PTProfiler result you sent: if you have your s_e_m setup as it 
is in a delivered Silva, it calls a macro in the layout_macro.html (the 
nearest one in the hierarchy, but hopefully there's just one in your 
site). So most of the calls are actually not in the s_e_m template, but 
in the layout_macro. However in the one you sent, it looks to me like 
it's calling the default (delivered) layout_macro, and that doesn't tell 
me much. Except I wonder what the python: error_type != 'NotFound' is.

Kit

-- 
Kit BLAKE · Infrae · http://infrae.com/ + 31 10 243 7051
Hoevestraat 10 · 3033 GC · Rotterdam + The Netherlands
Contact = http://xri.net/=kitblake



More information about the Silva-general mailing list