Don't know where you saw that. There's always been a sensor-specific
section in weewx.conf.

In your case, it looks like you are missing the [Acurite] section. When you
upgraded, you should have seen something like:

Configuration file '/etc/weewx/weewx.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** weewx.conf (Y/I/N/O/D/Z) [default=N] ?

Do you recall how you answered the question? If you answered 'Y', then you
would get a fresh version of weewx.conf, with no information about your
station.

You can fix with the utility wee_config:

*wee_config --reconfigure*

-tk



On Tue, Nov 10, 2020 at 11:27 AM Gary Strand <[email protected]>
wrote:

> I'm getting errors after moving to 4.2.0 with my Acurite 5-in-1:
>
>
> [...]
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__: Caught
> unrecoverable exception:
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****  'Acurite'
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****
> Traceback (most recent call last):
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewxd", line 148, in main
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****
> engine = weewx.engine.StdEngine(config_dict)
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 75, in __init__
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****
> self.setupStation(config_dict)
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 93, in setupStation
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****
> driver = config_dict[station_type]['driver']
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****    File
> "/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****      val
> = dict.__getitem__(self, key)
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****
> KeyError: 'Acurite'
> Nov 10 12:24:07 hal9000 weewx[33371] CRITICAL __main__:     ****  Exiting.
> Nov 10 12:24:07 hal9000 weewx[33347]:    ...done.
> [...]
>
> My understanding is that there's no longer a sensor-specific section in
> weewx.conf any more.
>
> Any assistance is appreciated!
>
> --
> 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/05e5bcb6-b1ee-4cb0-be09-04a255ad292fn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/05e5bcb6-b1ee-4cb0-be09-04a255ad292fn%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBhS4u2yy6y7gmAyL819RRpu4G0xJmkaR7S9_QSDPfy4w%40mail.gmail.com.

Reply via email to