Key error: WEEWX Root

38 views
Skip to first unread message

Shagazan

unread,
Jul 4, 2020, 11:20:00 AM7/4/20
to weewx-user
Hii Guys 

i've Weewx 4.1.1 and Derbian 10 


I try use "wee_extension " and i've error "


Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 88, in <module>
    main()
  File "/usr/share/weewx/wee_extension", line 74, in main
    logger=Logger(verbosity=options.verbosity))
  File "/usr/share/weewx/weecfg/extension.py", line 74, in __init__
    self.config_dict, bin_root)
  File "/usr/share/weewx/weecfg/__init__.py", line 1707, in extract_roots
    root_dict = {'WEEWX_ROOT': config_dict['WEEWX_ROOT'],
  File "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
    val = dict.__getitem__(self, key)
KeyError: 'WEEWX_ROOT'

gjr80

unread,
Jul 4, 2020, 5:00:49 PM7/4/20
to weewx-user
Hi,

Your /etc/weewx/weewx.conf should have a setting WEEWX_ROOT but it is missing or its name corrupted. Check /etc/weewx/weewx.conf.

Gary

Reply all
Reply to author
Forward
0 new messages