Open mrneutron42 opened 1 year ago
I'm having a very similar issue updating from 1.2 to 1.3:
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** 'radar_width'
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** Traceback (most recent call last):
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** obj.start()
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** self.run()
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 169, in run
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** ngen =self.generate(gen_dict[section_name], section_name, self.gen_ts)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** ngen += self.generate(section[subsection], subsection, gen_ts)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** ngen += self.generate(section[subsection], subsection, gen_ts)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 321, in generate
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** searchList = self._getSearchList(encoding, timespan,
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 415, in _getSearchList
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** search_list += obj.get_extension_list(timespan, db_lookup)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/share/weewx/user/belchertown.py", line 458, in get_extension_list
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** # Find the number of decimals to round to
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** File "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** val = dict.__getitem__(self, key)
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** KeyError: 'radar_width'
Apr 28 09:55:38 weewx weewx[953413] ERROR weewx.reportengine: **** Generator terminated
Hi, I have the same error after update from 1.2 to 1.3:
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** 'radar_width'
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** Traceback (most recent call last):
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** obj.start()
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** self.run()
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 169, in run
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** ngen += self.generate(section[subsection], subsection, gen_ts)
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 229, in generate
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** ngen += self.generate(section[subsection], subsection, gen_ts)
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 325, in generate
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** _filename))
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 415, in _getSearchList
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** search_list += obj.get_extension_list(timespan, db_lookup)
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/share/weewx/user/belchertown.py", line 458, in get_extension_list
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** radar_width = self.generator.skin_dict["Extras"]["radar_width"]
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** File "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** val = dict.__getitem__(self, key)
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** KeyError: 'radar_width'
May 3 10:05:18 meteoot weewx[19554] ERROR weewx.reportengine: **** Generator terminated
I found the solution, because I have recycled the skin.conf file from 1.2 to 1.3 version it's seems you can insert this lines in skin.conf (1.2 version):
radar_html = ""
radar_html_dark = ""
radar_width = 650
radar_height = 360
and delete this line:
radar_marker = 1
and insert
# This is the display of the kiosk page which is kiosk.html
radar_html_kiosk = ""
radar_width_kiosk = 490
radar_height_kiosk = 362
mqtt_websockets_host_kiosk = ""
mqtt_websockets_port_kiosk = ""
mqtt_websockets_ssl_kiosk = ""
forecast_interval_hours_kiosk = 24
aqi_enabled_kiosk = 0
I believe the Belchertown settings in the weewx.conf file override the settings listed in the skin.conf file? So, if you we put the correct settings in weewx.conf, it should work fine.
I wonder why the "radar_marker = 1" is a problem? I note that the suggested Belchertown settings have # radar_marker=0 I wonder if Belchertown 1.3 works with "radar_marker=0"?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am having similar issues now after trying to upgrade from 1.3b1 to 1.3.1. In my skin.conf file, I do not have "radar_marker = 1" and all of the suggested lines to add are already there. Weewx runs, but it is only grabbing data and putting it in the database...the webpage is not updating at all and I cannot run wee_reports.
Output of wee_reports: pi@WEEWX:~ $ sudo wee_reports Using configuration file /etc/weewx/weewx.conf Generating for all time Traceback (most recent call last): File "/usr/share/weewx/weewx/reportengine.py", line 204, in run obj.start() File "/usr/share/weewx/weewx/reportengine.py", line 300, in start self.run() File "/usr/share/weewx/user/belchertown.py", line 2771, in run special_target_unit File "/usr/share/weewx/user/belchertown.py", line 3737, in get_observation_data % (binding, obs_lookup, e) Warning: Error trying to use database binding wx_binding to graph observation outTemp. Error was: 'module' object has no attribute 'xtypes'.
Ideas? I could really use some help...I know just enough Linux to be dangerous, so consider me to be a noob, please. Thanks in advance!!!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still not fixed. I don't know what is wrong.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still not fixed.
Discussed in https://github.com/poblabs/weewx-belchertown/discussions/879