Thanks, 
that solves the problem.

Tom Keffer schrieb am Mittwoch, 23. August 2023 um 15:55:16 UTC+2:

> You are missing a section [Simulator] in your configuration file.
>
> A station type (in this case, "Simulator"), must have a matching stanza 
> (in this case, "[Simulator]").
>
> Don't just set station_type to "Simulator". Instead, use *wee_config 
> --reconfigure 
> <http://www.weewx.com/docs/latest/utilities.htm#Action_--reconfigure>*.
>
> On Wed, Aug 23, 2023 at 6:38 AM Karl Napp <nurfuer...@gmail.com> wrote:
>
>> Hi,
>> I'm new using weex.
>> I cannot start weewx with  station_type = Simulator in wweex.conf. 
>> Following error appears:
>>
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/weewxd", line 249, in <module>
>>     main()
>>   File "/usr/share/weewx/weewxd", line 148, in main
>>     engine = weewx.engine.StdEngine(config_dict)
>>   File "/usr/share/weewx/weewx/engine.py", line 81, in __init__
>>     self.setupStation(config_dict)
>>   File "/usr/share/weewx/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: 'Simulator'
>>
>> Any ideas ?  thanks in advance 
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/bcfb67fb-aba4-4d77-bf4d-0671c0678821n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/bcfb67fb-aba4-4d77-bf4d-0671c0678821n%40googlegroups.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/bdd91f58-c5d9-4ef0-b137-effdd23d3a23n%40googlegroups.com.

Reply via email to