You have a service that WeeWX is trying to load and the service expects to find a [AqiService] top level stanza in weewx.conf but the stanza does not exist. This could be due a number of reasons; it could be differing case (case matters here), a typo, incorrect hierarchy (it may be present as [[AqiService]]) etc. You need to look carefully at weewx.conf. If you used an extension installer it may have been installed/configured correctly to start with but subsequent edits/changes to weewx.conf may have broken it. This is easily done if installing/uninstalling/configuring a number of services, particularly if manually editing weewx.conf.
Gary On Saturday, 10 July 2021 at 21:10:35 UTC+10 Mitchell Tuckness wrote: > I am getting these errors: > > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File > "/home/weewx/bin/weewx/engine.py", line 93, in __init__ > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** > self.loadServices(config_dict) > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File > "/home/weewx/bin/weewx/engine.py", line 161, in loadServices > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** obj = > weeutil.weeutil.get_object(svc)(self, config_dict) > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File > "/home/weewx/bin/user/aqi/service.py", line 97, in __init__ > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** > standard_config_dict = config_dict['AqiService']['standard'] > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** File > "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__ > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** val = > dict.__getitem__(self, key) > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** KeyError: > 'AqiService' > Jul 10 05:09:37 weewx-pi weewx[15724] CRITICAL __main__: **** Exiting. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/10a131d2-15e0-4078-9570-53988c0d5d79n%40googlegroups.com.
