Not a lot of information here, but it looks like you have an option under
[[Wunderground]] in weewx.conf that should not be there. Something like

[StdRESTful]
  ...
  [[Wunderground]]
    enable = true
    station = KMDSOMETHING
    password = MYPASSWORD
    fields = something...

The highlighted option should not be there. There is no "fields" option for
the Wunderground uploader.


On Sat, Jul 25, 2026 at 7:09 AM John Matz <[email protected]> wrote:

> TypeError: AmbientLoopThread.__init__() got an unexpected keyword argument
> 'fields'
>
> The only line in WeeWx.conf is the "Fields" for data to Wunderground.
> Indent and spelling look correct.  The error references AmbientLoopThread
> and seems to point back to the one line in the conf file for Wunderground.
>
> sudo systemctl status weewx
> × weewx.service - WeeWX
>      Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset:
> enabled)
>      Active: failed (Result: exit-code) since Sat 2026-07-25 09:49:37 EDT;
> 2s ago
>    Duration: 1.434s
>        Docs: https://weewx.com/docs
>     Process: 11649 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited,
> status=1/FAILURE)
>    Main PID: 11649 (code=exited, status=1/FAILURE)
>         CPU: 855ms
>
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:
> self.loadServices(config_dict)
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:   File
> "/usr/share/weewx/weewx/engine.py", line 157, in loadServices
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:     obj =
> weeutil.weeutil.get_object(svc)(self, config_dict)
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:   File
> "/usr/share/weewx/weewx/restx.py", line 663, in __init__
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:     self.loop_thread
> = AmbientLoopThread(
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]:
>  ^^^^^^^^^^^^^^^^^^
> Jul 25 09:49:36 RPi-3B-Bookworm-07-26 weewxd[11649]: TypeError:
> AmbientLoopThread.__init__() got an unexpected keyword argument 'fields'
> Jul 25 09:49:37 RPi-3B-Bookworm-07-26 systemd[1]: weewx.service: Main
> process exited, code=exited, status=1/FAILURE
> Jul 25 09:49:37 RPi-3B-Bookworm-07-26 systemd[1]: weewx.service: Failed
> with result 'exit-code'.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/weewx-user/73fa6e99-308c-4f02-b73d-aa5e8fdd1962n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/73fa6e99-308c-4f02-b73d-aa5e8fdd1962n%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 visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAQUUJbP9Y7HxWc6fVrDf_usZojN6gNEXj-9dKqThRTKg%40mail.gmail.com.

Reply via email to