Thank you, that was indeed my problem.

So I edited: weewx-data/bin/user/belchertown.py
and replaced 
locale.format
with 
locale.format_string
Thank you.

Le mardi 17 février 2026 à 18:38:58 UTC+11, [email protected] a écrit :

> AttributeError: module 'locale' has no attribute 'format' 
> Afair there are several threads here already regarding this, since I don't 
> use belchertown I am not 100% sure, but I think your version of belchertown 
> needs to be updated.
>
>
> https://groups.google.com/u/0/g/weewx-user/search?q=AttributeError%3A%20module%20%27locale%27%20has%20no%20attribute%20%27format%27
> [email protected] schrieb am Dienstag, 17. Februar 2026 um 07:05:25 UTC+1:
>
>> Thank you.
>>
>> Machine used:
>> QNAP with Virtualization Station with Debian 14
>>
>> the weewx log
>>
>>
>> Le mardi 17 février 2026 à 16:50:12 UTC+11, Vince Skahan a écrit :
>>
>>> Not yet. We would need to see your weewx logs. Please set debug=1 and 
>>> restar weewx.
>>>
>>> What kind of computer are you running on ? From your prompt it looks 
>>> like you are logged into a NAS?
>>> .
>>>
>>> On Monday, February 16, 2026 at 7:18:11 PM UTC-8 [email protected] 
>>> wrote:
>>>
>>>> Hello.
>>>> The Belchertown index.html file is not being created.
>>>>
>>>> I have : 
>>>> 1- Debian 14 
>>>> 2- Weewx 5.2.0 PIP installation
>>>>
>>>> weewx.conf
>>>>     [[Belchertown]] 
>>>>        skin = Belchertown 
>>>>        HTML_ROOT = /var/www/html/weewx/belchertown 
>>>>        enable = true
>>>>
>>>> root@Qnap:/var/www/html/weewx/belchertown# ls -ls
>>>> total 204
>>>> 128 -rw-r--r-- 1 weewx www-data 128807 17 févr. 14:15 
>>>> belchertown-dark.min.css
>>>>   4 -rw-r--r-- 1 weewx www-data   3638 17 févr. 14:05 favicon.ico
>>>>   4 drwxrwx--- 2 weewx www-data   4096 17 févr. 12:35 images
>>>>   4 drwxrwx--- 2 weewx www-data   4096 17 févr. 12:35 js
>>>>   4 drwxrwx--- 2 weewx www-data   4096 17 févr. 12:35 json
>>>>   4 -rw-r--r-- 1 weewx www-data    810 17 févr. 14:15 kiosk.css
>>>>   4 drwxrwx--- 2 weewx www-data   4096 17 févr. 12:35 NOAA
>>>>   4 -rw-r--r-- 1 weewx www-data     26 17 févr. 14:05 robots.txt
>>>>  48 -rw-r--r-- 1 weewx www-data  45617 17 févr. 14:15 style.css
>>>>
>>>>
>>>> Do you have any idea what my problem might be?
>>>>
>>>>

-- 
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/09bb703f-374d-436c-a6e0-c95a6509e67an%40googlegroups.com.

Reply via email to