bellrichm / weewx-aqi-xtype

A WeeWX XType to calclulate AQI.
GNU Affero General Public License v3.0
1 stars 0 forks source link

weewx-aqi-xtype installer issue #13

Open MksRasp opened 5 months ago

MksRasp commented 5 months ago

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 5 months ago

Thank you! This will be in v2.