Daveiano / weewx-wdc

Weather Data Center skin for WeeWX
https://www.weewx-hbt.de/
GNU General Public License v3.0
46 stars 13 forks source link

[BUG] Latest WDC not working with latest Weewx #268

Closed DarrylP796 closed 5 months ago

DarrylP796 commented 5 months ago

Upgraded to latest WeeWx and WDC and can't get them to work together yet. The HTML page says "403 Forbidden" nginx/ 1.18.0

I have checked both the weewx.conf files and skin.conf files and made sure they were OK. I added my path (/weewx/) to the [Extras} section of skin.conf I deleted the archive reports and rebuilt them This caught my eye from the syslog dump, but not sure what it really means: Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed with exception '<class 'weewx.UnknownBinding'>'

Here is a partial syslog dump. Any ideas are very welcome.

Apr 10 08:24:17 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories... Apr 10 08:24:17 raspberrypi systemd[1]: systemd-tmpfiles-clean.service: Succeeded. Apr 10 08:24:17 raspberrypi systemd[1]: Finished Cleanup of Temporary Directories. Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weectllib: Initializing weectl version 5.0.2 Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weectllib: Command line: /usr/share/weewx/weectl.py report run Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.engine: StdConvert target unit is 0x1 Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.engine: Archive will use data binding wx_binding Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.engine: Record generation will be attempted in 'hardware' Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.restx: StationRegistry: Registration not requested. Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.restx: Wunderground: Posting not enabled. Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.restx: PWSweather: Posting not enabled. Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.restx: CWOP: Data for station N0DP will be posted Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.restx: WOW: Posting not enabled. Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.restx: AWEKAS: Posting not enabled. Apr 10 08:24:27 raspberrypi weectl[1534]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available Apr 10 08:24:28 raspberrypi weectl[1534]: INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.60 seconds Apr 10 08:24:29 raspberrypi weectl[1534]: INFO weewx.imagegenerator: Generated 6 images for report SmartphoneReport in 0.48 seconds Apr 10 08:24:29 raspberrypi weectl[1534]: INFO weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed with exception '<class 'weewx.UnknownBinding'>' Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: Ignoring template /etc/weewx/skins/weewx-wdc/index.html.tmpl Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: Reason: Unknown data binding ''forecast_binding'' Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: Traceback (most recent call last): Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 862, in get_manager_dict_from_config Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: manager_dict = dict(config_dict['DataBindings'][data_binding]) Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/configobj.py", line 554, in getitem Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: val = dict.getitem(self, key) Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: KeyError: 'forecast_binding' Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator:
Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator:
During handling of the above exception, another exception occurred: Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator:
Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator:
Traceback (most recent call last): Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: unicode_string = compiled_template.respond() Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, in respond Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: self._CHEETAH__cheetahIncludes[_includeID].respond(trans) Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 286, in respond Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: self._CHEETAHcheetahIncludes[_includeID].respond(trans) Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_forecast_inc.py", line 177, in respond Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1458, in varExists Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: valueFromSearchList(self.searchList(), Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/etc/weewx/bin/user/forecast.py", line 4385, in zambretti Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: dbm_dict = weewx.manager.get_manager_dict_from_config(self.generator.config_dict, self.binding) Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 864, in get_manager_dict_from_config Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: raise weewx.UnknownBinding("Unknown data binding '%s'" % e) Apr 10 08:24:39 raspberrypi weectl[1534]: ERROR weewx.cheetahgenerator: weewx.UnknownBinding: Unknown data binding ''forecast_binding'' Apr 10 08:28:54 raspberrypi weectl[1534]: INFO weewx.cheetahgenerator: Generated 12 files for report WdcReport in 264.57 seconds Apr 10 08:28:54 raspberrypi weectl[1534]: INFO weewx.reportengine: Copied 18 files to /var/www/html/weewx Apr 10 08:40:32 raspberrypi weectl[1554]: INFO weectllib: Initializing weectl version 5.0.2 Apr 10 08:40:32 raspberrypi weectl[1554]: INFO weectllib: Command line: /usr/share/weewx/weectl.py extension uninstall -y weewx-wdc Apr 10 08:41:53 raspberrypi weectl[1569]: INFO weectllib: Initializing weectl version 5.0.2 Apr 10 08:41:53 raspberrypi weectl[1569]: INFO weectllib: Command line: /usr/share/weewx/weectl.py extension install -y /tmp/weewx-wdc/ Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weectllib: Initializing weectl version 5.0.2 Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weectllib: Command line: /usr/share/weewx/weectl.py report run Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weewx.engine: StdConvert target unit is 0x1 Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weewx.engine: Archive will use data binding wx_binding Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weewx.engine: Record generation will be attempted in 'hardware' Apr 10 08:42:49 raspberrypi weectl[1578]: INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.restx: StationRegistry: Registration not requested. Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.restx: Wunderground: Posting not enabled. Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.restx: PWSweather: Posting not enabled. Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.restx: CWOP: Data for station N0DP will be posted Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.restx: WOW: Posting not enabled. Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.restx: AWEKAS: Posting not enabled. Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available Apr 10 08:42:50 raspberrypi weectl[1578]: INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.46 seconds Apr 10 08:42:55 raspberrypi weectl[1578]: INFO weewx.imagegenerator: Generated 18 images for report SmartphoneReport in 4.32 seconds Apr 10 08:42:55 raspberrypi weectl[1578]: INFO weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed with exception '<class 'weewx.UnknownBinding'>' Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: Ignoring template /etc/weewx/skins/weewx-wdc/index.html.tmpl Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: Reason: Unknown data binding ''forecast_binding'' Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: Traceback (most recent call last): Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 862, in get_manager_dict_from_config Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: manager_dict = dict(config_dict['DataBindings'][data_binding]) Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/configobj.py", line 554, in getitem Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: **** val = dict.getitem(self, key) Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: KeyError: 'forecast_binding' Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator:
Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: During handling of the above exception, another exception occurred: Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator:
Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: Traceback (most recent call last): Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: unicode_string = compiled_template.respond() Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_index_html_tmpl.py", line 326, in respond Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: self._CHEETAHcheetahIncludes[_includeID].respond(trans) Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 290, in respond Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: **** self._CHEETAHcheetahIncludes[_includeID].respond(trans) Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_forecast_inc.py", line 177, in respond Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1458, in varExists Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: valueFromSearchList(self.searchList(), Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/etc/weewx/bin/user/forecast.py", line 4385, in zambretti Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: dbm_dict = weewx.manager.get_manager_dict_from_config(self.generator.config_dict, self.binding) Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 864, in get_manager_dict_from_config Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: raise weewx.UnknownBinding("Unknown data binding '%s'" % e) Apr 10 08:47:37 raspberrypi weectl[1578]: ERROR weewx.cheetahgenerator: weewx.UnknownBinding: Unknown data binding ''forecast_binding'' Apr 10 08:51:57 raspberrypi weectl[1578]: INFO weewx.cheetahgenerator: Generated 100 files for report WdcReport in 541.90 seconds Apr 10 08:51:57 raspberrypi weectl[1578]: INFO weewx.reportengine: Copied 19 files to /var/www/html/weewx Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weectllib: Initializing weectl version 5.0.2 Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weectllib: Command line: /usr/share/weewx/weectl.py report run Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.engine: StdConvert target unit is 0x1 Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.engine: Archive will use data binding wx_binding Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.engine: Record generation will be attempted in 'hardware' Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.restx: StationRegistry: Registration not requested. Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.restx: Wunderground: Posting not enabled. Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.restx: PWSweather: Posting not enabled. Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.restx: CWOP: Data for station N0DP will be posted Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.restx: WOW: Posting not enabled. Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.restx: AWEKAS: Posting not enabled. Apr 10 08:55:21 raspberrypi weectl[1612]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available Apr 10 08:55:22 raspberrypi weectl[1612]: INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.48 seconds Apr 10 08:55:23 raspberrypi weectl[1612]: INFO weewx.imagegenerator: Generated 6 images for report SmartphoneReport in 0.43 seconds Apr 10 08:55:23 raspberrypi weectl[1612]: INFO weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed with exception '<class 'weewx.UnknownBinding'>' Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: Ignoring template /etc/weewx/skins/weewx-wdc/index.html.tmpl Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: Reason: Unknown data binding ''forecast_binding'' Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: Traceback (most recent call last): Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 862, in get_manager_dict_from_config Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: manager_dict = dict(config_dict['DataBindings'][data_binding]) Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/configobj.py", line 554, in getitem Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: val = dict.getitem(self, key) Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: KeyError: 'forecast_binding' Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator:
Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator:
During handling of the above exception, another exception occurred: Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator:
Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator:
Traceback (most recent call last): Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: unicode_string = compiled_template.respond() Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_index_html_tmpl.py", line 326, in respond Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: **** self._CHEETAH
cheetahIncludes[_includeID].respond(trans) Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 290, in respond Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: self._CHEETAH__cheetahIncludes[_includeID].respond(trans) Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_forecast_inc.py", line 177, in respond Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1458, in varExists Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: valueFromSearchList(self.searchList(), Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/etc/weewx/bin/user/forecast.py", line 4385, in zambretti Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: dbm_dict = weewx.manager.get_manager_dict_from_config(self.generator.config_dict, self.binding) Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 864, in get_manager_dict_from_config Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: raise weewx.UnknownBinding("Unknown data binding '%s'" % e) Apr 10 08:55:34 raspberrypi weectl[1612]: ERROR weewx.cheetahgenerator: weewx.UnknownBinding: Unknown data binding ''forecast_binding'' Apr 10 08:56:04 raspberrypi weectl[1612]: INFO weewx.cheetahgenerator: Generated 11 files for report WdcReport in 41.44 seconds Apr 10 08:56:04 raspberrypi weectl[1612]: INFO weewx.reportengine: Copied 19 files to /var/www/html/weewx Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weectllib: Initializing weectl version 5.0.2 Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weectllib: Command line: /usr/share/weewx/weectl.py report run Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.engine: StdConvert target unit is 0x1 Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.engine: Archive will use data binding wx_binding Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.engine: Record generation will be attempted in 'hardware' Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.restx: StationRegistry: Registration not requested. Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.restx: Wunderground: Posting not enabled. Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.restx: PWSweather: Posting not enabled. Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.restx: CWOP: Data for station N0DP will be posted Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.restx: WOW: Posting not enabled. Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.restx: AWEKAS: Posting not enabled. Apr 10 09:01:40 raspberrypi weectl[1662]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available Apr 10 09:01:41 raspberrypi weectl[1662]: INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.48 seconds Apr 10 09:01:41 raspberrypi weectl[1662]: INFO weewx.imagegenerator: Generated 6 images for report SmartphoneReport in 0.42 seconds Apr 10 09:01:41 raspberrypi weectl[1662]: INFO weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed with exception '<class 'weewx.UnknownBinding'>' Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: Ignoring template /etc/weewx/skins/weewx-wdc/index.html.tmpl Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: Reason: Unknown data binding ''forecast_binding'' Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: Traceback (most recent call last): Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 862, in get_manager_dict_from_config Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: manager_dict = dict(config_dict['DataBindings'][data_binding]) Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/configobj.py", line 554, in getitem Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: val = dict.getitem(self, key) Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: KeyError: 'forecast_binding' Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator:
Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: During handling of the above exception, another exception occurred: Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator:
Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: Traceback (most recent call last): Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in generate Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: unicode_string = compiled_template.respond() Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_index_html_tmpl.py", line 326, in respond Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: self._CHEETAHcheetahIncludes[_includeID].respond(trans) Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 290, in respond Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in _handleCheetahInclude Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: **** self._CHEETAHcheetahIncludes[_includeID].respond(trans) Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_weewx_wdc_includes_forecast_inc.py", line 177, in respond Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1458, in varExists Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: valueFromSearchList(self.searchList(), Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/etc/weewx/bin/user/forecast.py", line 4385, in zambretti Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: dbm_dict = weewx.manager.get_manager_dict_from_config(self.generator.config_dict, self.binding) Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/manager.py", line 864, in get_manager_dict_from_config Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: raise weewx.UnknownBinding("Unknown data binding '%s'" % e) Apr 10 09:05:53 raspberrypi weectl[1662]: ERROR weewx.cheetahgenerator: weewx.UnknownBinding: Unknown data binding ''forecast_binding'' Apr 10 09:09:23 raspberrypi rngd[550]: stats: bits received from HRNG source: 80064 Apr 10 09:09:23 raspberrypi rngd[550]: stats: bits sent to kernel pool: 30240 Apr 10 09:09:23 raspberrypi rngd[550]: stats: entropy added to kernel pool: 30240 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2 successes: 4 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2 failures: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2(2001-10-10) Monobit: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2(2001-10-10) Poker: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2(2001-10-10) Runs: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2(2001-10-10) Long run: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS 140-2(2001-10-10) Continuous run: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: HRNG source speed: (min=632.940; avg=741.491; max=808.011)Kibits/s Apr 10 09:09:23 raspberrypi rngd[550]: stats: FIPS tests speed: (min=19.266; avg=24.375; max=50.999)Mibits/s Apr 10 09:09:23 raspberrypi rngd[550]: stats: Lowest ready-buffers level: 2 Apr 10 09:09:23 raspberrypi rngd[550]: stats: Entropy starvations: 0 Apr 10 09:09:23 raspberrypi rngd[550]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us Apr 10 09:10:29 raspberrypi weectl[1662]: INFO weewx.cheetahgenerator: Generated 56 files for report WdcReport in 527.04 seconds Apr 10 09:10:29 raspberrypi weectl[1662]: INFO weewx.reportengine: Copied 19 files to /var/www/html/weewx Apr 10 09:17:01 raspberrypi CRON[1821]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

DarrylP796 commented 5 months ago

Here is the WDC section of weewx.conf: [[WdcReport]] skin = weewx-wdc enable = true

Here is the first part of the [Extras} section out of skin.conf: [Extras]

Only change this if the generated files are deployed to some

# sub-folder of your web server.
# E.g. If you are accessing your site via "http://my-weewx.com/weewx-wdc/"
# the base_path should be "/weewx-wdc/".
base_path = /weewx/
Daveiano commented 5 months ago

The error says Reason: Unknown data binding ''forecast_binding''.

Do you have weewx-forecast installed? If you upgraded to WeeWX 5, it possibly got lost somehow?

It seems there is no binding for weewx-forecast defined. You should see the binding in weewx.conf at the [DataBindings] section.

Eg.

[DataBindings]

    [[wx_binding]]
        # The database must match one of the sections in [Databases].
        # This is likely to be the only option you would want to change.
        database = archive_sqlite
        # The name of the table within the database.
        table_name = archive
        # The manager handles aggregation of data for historical summaries.
        manager = weewx.manager.DaySummaryManager
        # The schema defines the structure of the database.
        # It is *only* used when the database is created.
        schema = schemas.wview_extended.schema

    [[forecast_binding]]
        manager = weewx.manager.Manager
        schema = user.forecast.schema
        table_name = archive
        database = forecast_sqlite

##############################################################################

#   This section defines various databases.
[Databases]
    # A SQLite database is simply a single file.
    [[archive_sqlite]]
        database_name = weewx.sdb
        database_type = SQLite

    [[forecast_sqlite]]
        database_name = forecast.sdb
        database_type = SQLite
DarrylP796 commented 5 months ago

The issue was with the [Databindings] and [Databases] sections of weewx.conf. For some reason the forecast_ sqlite database was not defined, nor was the binding listed. Added both back in manually and everything seems to be working.

Thank you for your help and direction!

Regards,

Darryl