I had a running 4.10.2 installation with a modified Seasons skin on ubuntu desktop 22.10 which worked fine until it stopped updating the sensor reports anymore (I assume hanging USB port at the weather station unit). Resetting the weather station unit did not solve the problem (Bus 003 Device 003: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher).
Meanwhile I reolaced the weather station since the humidity sensor stopped working some months ago anyway (I learned that these sensor need to be replaced around 2 yrs of use).
The new station worked fine, however it did not update the statistics report, all sensor reports are fine up to date. Syslog claimed an ERROR - weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/statistics.html.tmpl failed with exception '<class 'SyntaxError'>', in line 1, string not terminated.
Checked the template, everything seems fine, there had been mande no changes anyway.
I updated to 5.0.2 (yes, stupid move updating a broken system...)
Now I have the strange result that the website is updated with the sensor reports perfectly, but the statistics part is not updated. The same error is now in several other reports which went through without errors before. Due to the switch to 5.0.2, I changed access rights for the user weewx and group weewx to r/w, ownership root. See the related loc section below.
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.manager: Added record 2024-05-13 19:55:00 CEST (1715622900) to database 'weewx.sdb'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.manager: Added record 2024-05-13 19:55:00 CEST (1715622900) to daily summary in 'weewx.sdb'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/index.html.tmpl failed with exception '<class 'SyntaxError'>'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/index.html.tmpl
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Reason: unterminated string literal (detected at line 1) (<string>, line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_index_html_tmpl.py", line 205, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 134, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 78, in __errorCatcher2
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "<string>", line 1
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** VFN(VFFSL(SL,"current.dateTime",True),"format",False)("Zuletzt Aktualisiert:
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** ^
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** SyntaxError: unterminated string literal (detected at line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/statistics.html.tmpl failed with exception '<class 'SyntaxError'>'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/statistics.html.tmpl
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Reason: unterminated string literal (detected at line 1) (<string>, line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_statistics_html_tmpl.py", line 143, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 134, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 78, in __errorCatcher2
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "<string>", line 1
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** VFN(VFFSL(SL,"current.dateTime",True),"format",False)("Zuletzt Aktualisiert:
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** ^
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** SyntaxError: unterminated string literal (detected at line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/telemetry.html.tmpl failed with exception '<class 'SyntaxError'>'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/telemetry.html.tmpl
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Reason: unterminated string literal (detected at line 1) (<string>, line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_telemetry_html_tmpl.py", line 191, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 134, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 78, in __errorCatcher2
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "<string>", line 1
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** VFN(VFFSL(SL,"current.dateTime",True),"format",False)("Zuletzt Aktualisiert:
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** ^
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** SyntaxError: unterminated string literal (detected at line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/tabular.html.tmpl failed with exception '<class 'SyntaxError'>'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/tabular.html.tmpl
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Reason: unterminated string literal (detected at line 1) (<string>, line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_tabular_html_tmpl.py", line 124, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 134, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 78, in __errorCatcher2
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "<string>", line 1
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** VFN(VFFSL(SL,"current.dateTime",True),"format",False)("Zuletzt Aktualisiert:
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** ^
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** SyntaxError: unterminated string literal (detected at line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/celestial.html.tmpl failed with exception '<class 'SyntaxError'>'
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/celestial.html.tmpl
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Reason: unterminated string literal (detected at line 1) (<string>, line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_celestial_html_tmpl.py", line 133, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 134, in respond
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_titlebar_inc.py", line 78, in __errorCatcher2
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** File "<string>", line 1
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** VFN(VFFSL(SL,"current.dateTime",True),"format",False)("Zuletzt Aktualisiert:
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** ^
May 13 19:55:38 wolfgang-desktop weewxd[37274]: ERROR weewx.cheetahgenerator: **** SyntaxError: unterminated string literal (detected at line 1)
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.cheetahgenerator: Generated 3 files for report SeasonsReport in 0.26 seconds
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.16 seconds
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.cheetahgenerator: Generated 2 files for report wxobs in 0.05 seconds
May 13 19:55:38 wolfgang-desktop weewxd[37274]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/wxobs