Nuxeo mailing list archives
Re: TR : RE : [CPS-devel] Zope really slow in debug mode
Florent Guillaume
fg at nuxeo.com
Sat Mar 10 16:26:55 CET 2007
You could add a LOG or a print statement in the _cook method of lib/
python/Products/PageTemplates/PageTemplate.py, that's where ZPT
recompiling occurs.
Or in _updateFromFS in Products/CMFCore/FSObject.py, which is where
the file dates are checked and maybe reread when in debug mode.
Florent
On 8 Mar 2007, at 08:05, Winterflood, Jonathan wrote:
> Forwarding to the list
> De: Lennart Regebro [mailto:regebro at gmail.com]
> Date: mer. 07/03/2007 18:30
> À: Winterflood, Jonathan
> Objet : Re: RE : [CPS-devel] Zope really slow in debug mode
> On 3/7/07, Winterflood, Jonathan
> <jonathan.winterflood at capgemini.com> wrote:
> >
> > My date is correct, as far as I can tell (It's wednesday, right? :D)
> > I'm editing with Eclipse and Lomboz, which I doubt would scramble
> the dates (plus the dates are managed by the file system, no?)
> > Could Zope be unable to resolve the system date somehow?
>
> No, in fact I checked the code and it doens't compare with the system
> date at all, but with the old date of the file, so that's not the
> problem at all.
>
> > Is there a way to tell whether zope is actually recompiling
> everything?
>
> Not an easy one that I can think of, no.
>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
>
> This message contains information that may be privileged or
> confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are
> not the intended recipient, you are not authorized to read, print,
> retain, copy, disseminate, distribute, or use this message or any
> part thereof. If you receive this message in error, please notify
> the sender immediately and delete all copies of this message.
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.