This one comes up a lot it seems.  You either don't have a weewx.conf or 
yours isn't configured with a station type.

Are you following the setup.py install example in the quickstart guide (
(link) <https://weewx.com/docs/setup.htm> perhaps ?

You can also try to add "--config=/some/path/to/your/weewx.conf" to your 
command above if you have weewx.conf installed someplace unusual...

On Tuesday, June 7, 2022 at 9:36:19 PM UTC-7 [email protected] wrote:

> Getting the following error when running for the first time:
> weewx@weewx-RPi:~/weewx-4.8.0 $ sudo ./bin/weewxd
> Traceback (most recent call last):
>   File "/home/weewx/weewx-4.8.0/./bin/weewxd", line 248, in <module>
>     main()
>   File "/home/weewx/weewx-4.8.0/./bin/weewxd", line 147, in main
>     engine = weewx.engine.StdEngine(config_dict)
>   File "/home/weewx/weewx-4.8.0/bin/weewx/engine.py", line 81, in __init__
>     self.setupStation(config_dict)
>   File "/home/weewx/weewx-4.8.0/bin/weewx/engine.py", line 103, in 
> setupStation
>     driver = config_dict[station_type]['driver']
>   File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
> __getitem__
>     val = dict.__getitem__(self, key)
> KeyError: 'unspecified'
>
> I've selected the Vantage driver.  Any thoughts on what is going on?  This 
> is a fresh install.
>
>

-- 
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/ba695fc7-785f-4aad-9ba7-45f096821fe7n%40googlegroups.com.

Reply via email to