weewx-aqi-xtype installer issue
Opened this issue · 1 comments
MksRasp commented
the installer is adding these lines in the wrong section of weewx.conf file:
[StdReport]
[[Labels]]
[[[Generic]]]
pm2_5_aqi = AQI
pm2_5_aqi_nowcast = AQI (Nowcast)
this caused weewx to crash:
weewxd[1202]: skin_dict['skin'])) as cwd:
weewxd[1202]: File "/usr/lib/python3/dist-packages/configobj.py", line 554, in getitem
weewxd[1202]: val = dict.getitem(self, key)
weewxd[1202]: KeyError: 'skin'
weewxd[1202]: INFO main: Received signal TERM (15).
weewxd[1202]: INFO weewx.engine: Main loop exiting. Shutting engine down.
systemd[1]: Stopping WeeWX...
correcting the location of these lines fixed the problem:
[[Defaults]]
[[[Labels]]]
[[[[Generic]]]]
pm2_5_aqi = AQI
pm2_5_aqi_nowcast = AQI (Nowcast)
bellrichm commented
Thank you! This will be in v2.