Thank you, Daniel. On Tue, Aug 17, 2010 at 6:20 PM, Daniel Kluev <[email protected]> wrote:
> > Here's what's odd. >> 1) paste is showing the following on each request: >> [MainThread] [paste.httpserver.ThreadPool] kill_hung_threads status: >> 10 threads (0 working, 10 idle, 0 starting) ave time N/A, max time >> 0.00sec, killed 0 workers >> >> > This is normal paster behavior. It just prints statistics each few > requests. > > >> 2) @ data/templates/derived/template/ (my template beaker cache >> right?) doesn't show the new templates I put in in the chain. >> The template in that directory that I chained to inherit from the >> chain is showing the old "base" template: >> def _mako_inherit(template, context): >> _mako_generate_namespaces(context) >> return runtime._inherit_from(context, u'/base/base.html', >> _template_uri) >> >> Anybody know what's up? I tried restarting the paste server, and >> nuthin.. >> should I delete the interpreted template in the data/templates/derived/ >> template/ dir? why aren't the new templates (in the chain) there? >> > > You can safely delete cached compiled templates. Maybe it is the culprit. > If your new templates are not compiled, it means your app never requested > these. > > If deleting cache does not help, it would be helpful if you provide some > code examples, including %inherit and next.body() calls. > > -- > With best regards, > Daniel Kluev > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<pylons-discuss%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
