Thanks for your reply.

I’m going to respectfully disagree though re: things working as intended. . .

Yes, the include files I’m playing with are huge but only for testing - 
aggravating - the problem.  The problem was first noticed with very much 
smaller include files on a 512 MB system that crashed/hung after about 3 days.  
I can reproduce the problem in under 10 minutes using bigger include files.

I believe the Cheetah generator should not consume ever increasing amounts of 
memory, that it has a memory leak that should be fixed.  I may report the 
problem to them by entering a brief summary and pointing them to this string.  
All the information they need is in here.

But I do agree with your “and yecch - cheetah - yecccch”!  I prefer restarting 
WeeWX daily over hand editing index.html.tmpl but that frequency may not work 
for all cases so I’ll probably live with editing.

Regards and thanks again,

Garry Lockyer
C: +1.250.689.0686
E: [email protected]


> On Jan 19, 2021, at 13:15, vince <[email protected]> wrote:
> 
> I'm thinking it's actually working as designed if you assume Pat intended 
> that cheetah directives should be parsed within a .inc(luded) file.  You just 
> might be the edge case where you have a rather massive include that does 
> 'not' want cheetah directive parsing.
> 
> If you open an issue with Belchertown in github perhaps Pat could take a look 
> when he gets around to it and verify if it looks like a Cheetah issue.  Maybe 
> he can just add a switch to the templates in Belchertown to let you control 
> whether the 'raw' argument is provided or not (?)
> 
> If you open an issue with Cheetah, then you'd need to have a no-weewx minimal 
> test case to show what you're seeing, so they can try to recreate the issue.
> 
> But for your case you seem to have figured out a workaround.   Just patch 
> your skin to set the cheetah behavior that works for you.
> (and yecch - cheetah - yecccch :-)
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/75c3e93e-6e99-4e60-a73d-39ff3b269f14n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8DCBF4C8-8145-4D65-9FF4-81103FF93743%40gmail.com.

Reply via email to