Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting erros #22

Open
iiseppi opened this issue Apr 9, 2024 · 2 comments
Open

Getting erros #22

iiseppi opened this issue Apr 9, 2024 · 2 comments
Assignees

Comments

@iiseppi
Copy link

iiseppi commented Apr 9, 2024

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
Copy link
Owner

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
Copy link
Author

iiseppi commented Apr 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants