You have to edit the 'profileable_modules' structure in CallProfiler.py. Meta types for FS objects are not correct there. 'Filesystem DTML Method' should be 'FSDTMLMethod', same for the others. Stefan --On Mittwoch, 09. April 2003 11:25 +0100 Heimo Laukkanen <huima@huima.net> wrote:
Hi,
I've noticed that CallProfiler seems not to work with filesystem objects that are used through FileSystemDirectory view. Does anyone know whether there are any patches or updates to the CallProfiler that would make 'em work?
Traceback below:
equest URL http://localhost:8080/Control_Panel/CallProfiler/results Exception Type KeyError Exception Value Filesystem DTML Method
Traceback (innermost last):
* Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module App.special_dtml, line 61, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module DocumentTemplate.DT_Util, line 201, in eval __traceback_info__: this * Module <string>, line 0, in ? * Module App.special_dtml, line 61, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module DocumentTemplate.DT_With, line 61, in render * Module DocumentTemplate.DT_Util, line 201, in eval __traceback_info__: tid * Module <string>, line 0, in ? * Module Products.CallProfiler.CallProfiler, line 331, in detailResults
-huima
_______________________________________________ Zope maillist - Zope@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 )
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/