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

weewx-aqi-xtype installer issue #13

Open
MksRasp opened this issue Feb 28, 2024 · 1 comment
Open

weewx-aqi-xtype installer issue #13

MksRasp opened this issue Feb 28, 2024 · 1 comment
Assignees

Comments

@MksRasp
Copy link

MksRasp commented Feb 28, 2024

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 added a commit that referenced this issue Feb 28, 2024
@bellrichm
Copy link
Owner

Thank you! This will be in v2.

@bellrichm bellrichm self-assigned this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants