[Zope] Strange problem about Catalog
starwar992001 at yahoo.com
Thu Feb 26 18:30:24 EST 2004
Sorry. I made a mistake. When I said in 'Control
Panel', I acutally mean 'ControlPanel/Products', I
just found the ZopeProfiler in ControlPanel. It is
just below Debug Information in my zope server.
BTW, I figured out what caused my pages very slow. The
orignial designer put <dtml-in Catalog size=1 sort=...
reverse> to get Last-Modified Date. After I
recataloged, about 1,700 items in catalog, this
statements takes about 6 seconds in the server. I have
changed it into <dtml-in "Catalog(..., sort_on=...,
sort_order=...)" size=1>, it just takes 2 seconds. I'm
not sure if it is normal. Does somebody has a better
way to get the lastest date?
--- Star War <starwar992001 at yahoo.com> wrote:
> Dear Dieter,
> Actually I don't understand how "monkey patching"
> works, and i could not find a description in
> I just put the folder 'ZopeProfiler' into the
> directory lib/python/products, then restart the
> zserver. ZopeProfiler did appear in ControlPanel,
> the tabs are 'contents', 'properties','define
> permissions','undo', 'find', 'Readme', and
> And under contents, only help(ZopeProfiler). The
> version of Zope I used is 2.7. I also tried 2.6, the
> same result.
> could you tell me what is wrong?
> --- Dieter Maurer <dieter at handshake.de> wrote:
> > Star War wrote at 2004-2-23 12:38 -0800:
> > >But I have trouble to use
> > >ZopeProfiler. Actually I don't know how to use
> > >After installation, I could not find
> > "Documentation"
> > >tab for ZopeProfiler object. There is a README
> > Is
> > >something wrong in my installation?
> > The README tells you:
> > > ZopeProfiler installs itself through "monkey
> > patching".
> > > You will then find a ZopeProfiler in your
> > "Control_Panel".
> > > Please read the "Documentation" tab for further
> > information.
> > The ZopeProfiler instance in the control panel
> > to have
> > a "Documentation" tab. The underlaying method
> > ("showDocumentation")
> > has been renamed to "showInfo" (in order not to
> > clash
> > with "DocFinderEveryWhere") and the tab has been
> > renamed to
> > "Info".
> > I will correct the README file for the next
> > --
> > Dieter
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> Zope maillist - Zope at zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
More information about the Zope