Hi guys, the error does not arise on the webspace, but already on the raspberry pi. I still got no further when fixing the error in the report files. The website is displayed absolutely correctly, except for the reports section. Now I have discovered the following error messages through a note in the syslog file.
Extract from the syslog May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>' May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Belchertown/reports/index.html.tmpl May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'relative_url' May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last): May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond() May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Belchertown_reports_index_html_tmpl.py", line 188, in respond May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans) May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Belchertown_page_header_inc.py", line 93, in respond May 1 18:20:23 raspberrypi weewx[12969] ERROR weewx.cheetahgenerator: **** NotFound: cannot find 'relative_url' Could someone help me fix this? [email protected] schrieb am Freitag, 16. April 2021 um 12:22:42 UTC+2: > you have a 403 error, could you please check your httpd logs. > > Le lundi 5 avril 2021 à 14:09:15 UTC+2, [email protected] a écrit : > >> I haven't been using the weewx program and the Rpi that long. The >> installation went without any problems. I also installed the Belchertown >> skin. So far I am also satisfied, unfortunately there are problems on the >> Reports page. >> Link <http://hhlft.org/weewx/belchertown/reports/> >> The page is saved anew with each cycle (5 minutes), but processing is not >> carried out correctly. All noaa files should be accessible, because they >> are there. >> 2021: Jan Feb .... >> Jan <http://hhlft.org/weewx/belchertown/reports/?yr=2021&mo=01> >> Feb <http://hhlft.org/weewx/belchertown/reports/?yr=2021&mo=02> >> Mrz <http://hhlft.org/weewx/belchertown/reports/?yr=2021&mo=03> >> Apr <http://hhlft.org/weewx/belchertown/reports/?yr=2021&mo=04> >> Why are the months Mar Apr May Jun ..... not written or created. >> Something must be wrong with the template in the report folder. >> >> Can a user help me here, please. >> Andreas >> > -- 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/abd7358c-2630-4039-a2a7-23a621f8a3den%40googlegroups.com.
