weatherstorm / Sofaskin-CW9009

Sofaskin-CW9009 skin for Weewx is a modified version of the Sofaskin developed by Sven at https://neoground.com/portfolio/neowx/. He no longer supports the original skin. Please see the readme for dependency requirements to use this skin.
http://www.centuryfarmweather.com
MIT License
17 stars 11 forks source link

Getting erros #22

Open iiseppi opened 4 months ago

iiseppi commented 4 months ago

Hello,

Getting these errors after installing Sofaskin-CW9009

huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator' huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: 'HistoryColors' huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: Traceback (most recent call last): huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/reportengine.py", line 197, in run huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: obj.start() huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/reportengine.py", line 385, in start huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: self.run() huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: self.init_extensions(gen_dict[section_name]) huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 199, in init_extensions huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: self.search_list_objs.append(klass(self)) huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: ^^^^^^^^^^^ huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: File "/usr/share/weewx/user/historygenerator.py", line 53, in init huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: self.color_dict = generator.skin_dict['HistoryColors'] huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: ~~~~~~~^^^^^^^^^^^^^^^^^ huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: File "/usr/lib/python3/dist-packages/configobj/init.py", line 554, in getitem huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: val = dict.getitem(self, key) huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: KeyError: 'HistoryColors' huhti 09 10:24:15 weewxsrv-davis python3[138945]: weewx[138945] ERROR weewx.reportengine: **** Generator terminated

Images is generated, but not anythink else..

Edit.

weewx version 4.10.2, debian 12 latest amd64.

weatherstorm commented 4 months ago

It looks like you are using a new version of historygenerator.py. I haven't updated to the latest version of the script in my skin yet. I would use this version which works up to 5.0.2 thus far. I will look into updating to the latest version soon.

iiseppi commented 4 months ago

Ok, I will try to change to that version and report back here. Thx!