You can use the cheetah utility "cheetah" to compile the template, then look at that. Unfortunately, it is fussy about file names. The pattern looks something like this:
*cp index.html.tmpl index.tmpl* *cheetah compile index.tmpl* Then look at the resultant file index.py. The lines will be cryptic, but the line numbers will be correct. -tk On Fri, Apr 16, 2021 at 10:13 PM Graham Eddy <[email protected]> wrote: > it would be really helpful if the temporary file created by cheetah was > not deleted when an error occurred > > On 17 Apr 2021, at 2:32 pm, gjr80 <[email protected]> wrote: > > Unfortunately sometimes Cheetah gives only limited info and often the best > you can do is try to deduce from the error message where or what the error > is. As you have no doubt found you cannot use the line number referred to > in the error trace, that is a line number in temporary file created by > Cheetah and we don't have access to that file. > > > -- > 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/F90C894F-4EA5-49DD-B3A5-D5F091010060%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/F90C894F-4EA5-49DD-B3A5-D5F091010060%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEBOcbUz5kirNgkobE_rP0n2MJTVzH-f%3DXvn2L1w1roL2g%40mail.gmail.com.
