W piątek 26 września 2003 o godz. 16:08:50
Mike Orr <mso@...
> By dynamically-compiled templates I mean those that are *not* created
> via cheetah-compile.
I always use cheetah-compile.
> So we'll have to assume it's something weird about your Webware/Cheetah
> setup, or some obscure bug.
> Do the tracebacks say anything more about *where* the problem occurred,
> or what was invoking the temporary files?
Yes. In the main index.py displays StronaGlowna.tmpl. It is very
strange, because this is the main page of my web serwice and if this
template is corrupted I should know about it at once. This template
#from StronaPodstawowa import StronaPodstawowa
StronaPodstawowa.tmpl starts with:
#from StronaBazowa import StronaBazowa
This file has two blocks with #cache dirrective inside.
StronaBazowa.tmpl starts with
#from SiteTemplate import SiteTemplate
I cannot find any errors. It looks and works fine. _The error occurs
from time to time, not every reload of the page._ And I know about
errors only because WebKit sends me the email raport. I could not see
any error with browser.
> Do the users get error messages when this happens, or does the servlet
> still display what it's supposed to anyway? Or maybe you don't know
> since it hasn't happened in your presence.
I am afraid, the third options may be true. It has not happend in my
> Can others who are using Webware turn on their email-warnings feature
> and see if they can duplicate the problem? I'm using a nonstandard
> version of Webware so I can't do it myself.
I am using CVS version of Cheetah and Webware (version from
2003-09-25). I have only one user of Webware.
> It's possible, as you say, that some concurrency/thread problem is
> causing two different modules to be written simultaneously in the
> same file, or corrupting the module data before/during. I haven't
> seen any similar thread problems reported with Webware. The only
> known limitations Cheetah has with threads is that template instances
> aren't thread safe, and Cheetah's #cache mechanisms don't mesh well
> with Webware's servlet caching. (#cache and friends don't cause
> errors, but they end up not doing much useful because Webware's
> servlet caching prob'ly does what you wanted to do in the first place.)
Hmmm. I am using cache from Webware and cache from Cheetah. But why
Webkit send error that it cannot even find __CheetahTemp file?
> When you say "object-oriented" templates, what do you mean?
Cascade of templates extended one from another. Like
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
Cheetahtemplate-discuss mailing list