I had that same error and added ...
locale.format = locale.format_string
to
/etc/weewx/bin/user/belchertown.py
and while the errors have gone away, the skin's ability to receive mqtt
traffic has failed but with no obvious error in logs.
The page still updates according to its refresh schedule so there that,
but it would be nice to get mqtt happening again.
Any pointers appreciated.
thanks
Tim
On 19/10/25 1:05 am, Tom Keffer wrote:
Yes. The function format.locale() was deprecated in Python 3.7, then
removed in Python 3.12. It usually can be replaced with
locale.format_string().
--
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/34d99eab-882c-4b27-af71-ddc30351e98b%40skybase.net.