Somehow your configuration file weewx.conf got corrupted. It should look like:
[StdRESTful] [[StationRegistry]] # To register this weather station with weewx, set this to true register_this_station = false [[AWEKAS]] # This section is for configuring posts to AWEKAS. ... (etc.) Either the section name [StdRESTful] is missing, or it accumulated a typo. -tk On Sat, Jun 6, 2020 at 11:16 PM VE4PER / Andy < andrew.webb.501.ve4...@gmail.com> wrote: > My wind speed cups are physically broken; so no wind data ---awaiting > delivery of parts and since it is down anyway I decided to do all the > updates now while I wait. > > I recently upgraded ubuntu OS to 20.04LTS, python to python3 and it > appears the update process also updated weewx to 4.1.1.1. > > It appears that the install properly created the mysql/MariadB weewx and > set up data tables properly. > > However, some error messages showed up when I used the "sudo tail -f > /var/log/syslog" command after database update was successful. Some were > clearly missing modules that I was able to install and clear those up but > one repeated one I don't understand what it is telling me nor what process > to follow to correct it, it seems possibly something related to a common > key error that appears to apply to a number scripts/program code strings? > > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: Caught unrecoverable > exception: > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** > 'StdRESTful' > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** Traceback > (most recent call last): > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** File > "/usr/share/weewx/weewxd", line 148, in main > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** engine > = weewx.engine.StdEngine(config_dict) > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 75, in __init__ > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** > self.loadServices(config_dict) > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 138, in loadServices > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** obj = > weeutil.weeutil.get_object(svc)(self,config_dict) > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/restx.py", line 1366, in __init__ > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** > _registry_dict = > accumulateLeaves(config_dict['StdRESTful']['StationRegistry'], max_level=1) > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** File > "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__ > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** val = > dict.__getitem__(self, key) > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** KeyError: > 'StdRESTful' > Jun 7 01:08:04 cedar weewx[47128] CRITICAL __main__: **** Exiting. > > Any and all tips or help would be appreciated, Thanks > > Andy > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/b5c011ec-e838-2ce1-26ea-5bf0e863de3d%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/b5c011ec-e838-2ce1-26ea-5bf0e863de3d%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB2jHvH6cj2jvF1dJuPu8OcRsC%2BWpvs-vGu8h4s36nqFA%40mail.gmail.com.