Hi, It would seem like you are missing a [WMR200] heading in weewx.conf (are you using a WMR-200 ?). But exactly what is wrong is difficult to say without seeing weewx.conf. If you can't work it out I suggest you post the contents of weewx.conf making sure any sensitive info such as user names, passwords, API keys etc are removed.
Gary On Saturday, 20 April 2019 20:16:05 UTC+10, AsgeirK wrote: > > I have of course tried to reverse the changes, but missing something (I > haven't kept a copy of the previous version (my bad!)). Anyone who can > point me in a direction where to look? The error message says stationtype, > but it can't be that. > > On Tuesday, April 16, 2019 at 12:36:20 AM UTC+2, Greg from Oz wrote: >> >> Probably look at the change you made. >> Remove the change and see if it works. >> >> On Tuesday, 16 April 2019 05:55:45 UTC+10, AsgeirK wrote: >>> >>> I'm getting this error when I start my weewx. It was working, I did a >>> small change in weewx.conf and now getting this error. Where should I look? >>> >>> >>> Apr 15 21:49:10 PI-W4 systemd[1]: Starting LSB: weewx weather system... >>> Apr 15 21:49:11 PI-W4 weewx[11680]: engine: Initializing weewx version >>> 3.9.1 >>> Apr 15 21:49:11 PI-W4 weewx[11680]: engine: Using Python 2.7.13 >>> (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516] >>> Apr 15 21:49:11 PI-W4 weewx[11680]: engine: Platform >>> Linux-4.14.98-v7+-armv7l-with-debian-9.8 >>> Apr 15 21:49:11 PI-W4 weewx[11680]: engine: Locale is 'nb_NO.UTF-8' >>> Apr 15 21:49:11 PI-W4 weewx[11680]: engine: pid file is >>> /var/run/weewx.pid >>> Apr 15 21:49:11 PI-W4 weewx[11669]: Starting weewx weather system: weewx. >>> Apr 15 21:49:11 PI-W4 systemd[1]: Started LSB: weewx weather system. >>> Apr 15 21:49:11 PI-W4 weewx[11684]: engine: Using configuration file >>> /etc/weewx/weewx.conf >>> Apr 15 21:49:11 PI-W4 weewx[11684]: engine: Caught unrecoverable >>> exception in engine: >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** 'wmr200' >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** Traceback (most recent >>> call last): >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** File >>> "/usr/share/weewx/weewx/engine.py", line 884, in main >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** engine = >>> engine_class(config_dict) >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** File >>> "/usr/share/weewx/weewx/engine.py", line 72, in __init__ >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** >>> self.setupStation(config_dict) >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** File >>> "/usr/share/weewx/weewx/engine.py", line 90, in setupStation >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** driver = >>> config_dict[stationType]['driver'] >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** File >>> "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__ >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** val = >>> dict.__getitem__(self, key) >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** KeyError: 'wmr200' >>> Apr 15 21:49:11 PI-W4 weewx[11684]: **** 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.