[Zope] Re: [Zope-dev] Call Profiler

Richard Jones rjones@ekit-inc.com
Mon, 4 Feb 2002 09:03:17 +1100


On Fri, 1 Feb 2002 22:52, J?lio Dinis Silva wrote:
> >I've just announced our Call Profiler product on zope.org and the zope
> >announce list (waiting for people in different timezones to authorise them
> >
> >:)
> >
> >   ( http://www.zope.org/Members/richard/CallProfiler/  for the impatient)
>
> Hi,
>
> Great product this one! Congratulations and Thanks!
>
> Three things:
>
> 1- in details.dtml you forgot to put a "</table>" tag after the "in results
> mapping" loop.
> 2-The other one is in results.dtml in the "in summary mapping" the
> first url must have "results" before the "?tid=23232".
> 3-with zope 2.3.2 and python 1.5.2 we get:
>
> 2002-02-01T05:02:09 ERROR(200) Zope Couldn't import Products.CallProfiler
> Traceback (innermost last):
>   File /usr/local/zope/lib/python/OFS/Application.py, line 528, in
> import_products
>     (Object: string)
>   File /usr/local/zope/lib/python/Products/CallProfiler/__init__.py, line
> 30, in ?
>   File "/usr/local/zope/lib/python/Products/CallProfiler/CallProfiler.py",
> line 68
>      return self.profiler_call_original(*args, **kw)
>                                         ^
> SyntaxError: invalid syntax
>
> Any hints on a workaround to python 1.5.2?

Back-porting to 1.5.2 would be possible - but only if it's absolutely 
necessary!


    Richard