you would probably get that error if you tell weewx to use StdStationRegistry 
service e.g. in weewx.conf something like:
    restful_service = weewx.restx.StdStationRegistry, ...
but not defined a RESTful definition stanza in weewx.conf e.g.
    [StdRESTful]                < < < < this key missing
        [[StationRegistry]]
            register_this_station = true
g-eddy

> On 7 Jun 2020, at 4:16 pm, VE4PER / Andy <[email protected]> 
> 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 [email protected] 
> <mailto:[email protected]>.
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/EB31E733-746C-4815-98DA-0BF8823A0A9E%40gmail.com.

Reply via email to