Reports- Belchertown skin

148 views
Skip to first unread message

Andreas Schlimper

unread,
Apr 5, 2021, 8:09:15 AM4/5/21
to weewx-user
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. 
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 ....
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
Message has been deleted

olif onza

unread,
Apr 16, 2021, 6:22:42 AM4/16/21
to weewx-user
you have a 403 error, could you please check your httpd logs.

Andreas Schlimper

unread,
May 1, 2021, 12:34:50 PM5/1/21
to weewx-user
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?
Reply all
Reply to author
Forward
0 new messages