presumably invalid _POST reference is in include file. but: ‘main’ is invalid html
> On 1 Nov 2020, at 1:44 pm, weather list <[email protected]> wrote: > > Quite right, might be: > ---------------------------- > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > Generate failed with exception '<class 'NameMapper.NotFound'>' > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** Ignoring template /home/weewx/skins/Belchertown/forecast/index.html.tmpl > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** Reason: cannot find '_POST' > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** Traceback (most recent call last): > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in > generate > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** unicode_string = compiled_template.respond() > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** File "_home_weewx_skins_Belchertown_forecast_index_html_tmpl.py", > line 103, in respond > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, > in _handleCheetahInclude > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans) > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** File "_home_weewx_skins_forecast_noaacoastalforecastsmaine_php.py", > line 131, in respond > Oct 31 22:35:31 raspberry-NUC62 weewx[17083] ERROR weewx.cheetahgenerator: > **** NameMapper.NotFound: cannot find '_POST' > > > Here is the index.html.tmpl page in question. > > #errorCatcher Echo > #encoding UTF-8 > #set global $page = "forecast" > > #include "header.html.tmpl" > > <div class="site-inner"> > <main class="content"> > #include "page-header.inc" > #include "/home/weewx/skins/forecast/noaacoastalforecastsmaine.php" > </main> > </div> > > #include "footer.html.tmpl" > > >> On 31 Oct, 2020, at 21:30, Graham Eddy <[email protected] >> <mailto:[email protected]>> wrote: >> >> ‘no effect’ very unlikely. same outcome possible if more errors. post log >> around template generation >> >>> On 1 Nov 2020, at 12:18 pm, weather list <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Fixed but it appears to have no effect so far. >>> >>>> On 31 Oct, 2020, at 19:55, Graham Eddy <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> ‘Belchertown’ has too few brackets >>>> >>>>> On 1 Nov 2020, at 10:50 am, weather list <[email protected] >>>>> <mailto:[email protected]>> wrote: >>>>> >>>>> [[[weewx_data]]] >>>>> template = json/weewx_data.json.tmpl >>>>> >>>>> [[Belchertown]] >>>>> template = js/belchertown.js.tmpl >>>> >>>> >>>> -- >>>> 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] >>>> <mailto:[email protected]>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/B86E6B8F-CA9E-4E4E-9E71-15847E7074A0%40gmail.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/B86E6B8F-CA9E-4E4E-9E71-15847E7074A0%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] >>> <mailto:[email protected]>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/0B7B2307-101E-4060-9FC1-17FB88C40A14%40gmail.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/0B7B2307-101E-4060-9FC1-17FB88C40A14%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] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/8F69F569-7E95-45EA-BFE0-317BCB6910FF%40gmail.com >> >> <https://groups.google.com/d/msgid/weewx-user/8F69F569-7E95-45EA-BFE0-317BCB6910FF%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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/12A7720E-7E76-479E-A104-34EBA289F90B%40gmail.com > > <https://groups.google.com/d/msgid/weewx-user/12A7720E-7E76-479E-A104-34EBA289F90B%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/4FBA37A9-5458-44B4-A435-3EAB967D7153%40gmail.com.
