Belchertown skin : no index.html file

75 views
Skip to first unread message

mtev...@gmail.com

unread,
Feb 16, 2026, 10:18:11 PM (2 days ago) Feb 16
to weewx-user
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?

Vince Skahan

unread,
Feb 17, 2026, 12:50:12 AM (yesterday) Feb 17
to weewx-user
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?
.

mtev...@gmail.com

unread,
Feb 17, 2026, 1:05:25 AM (yesterday) Feb 17
to weewx-user
Thank you.

Machine used:
QNAP with Virtualization Station with Debian 14

the weewx log
weewx.log

michael.k...@gmx.at

unread,
Feb 17, 2026, 2:38:58 AM (yesterday) Feb 17
to weewx-user
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

mtev...@gmail.com

unread,
Feb 17, 2026, 3:48:56 AM (yesterday) Feb 17
to weewx-user
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.

Greg Troxel

unread,
Feb 17, 2026, 9:06:54 AM (yesterday) Feb 17
to mtev...@gmail.com, weewx-user
"mtev...@gmail.com" <mtev...@gmail.com> writes:

> Hello.
> The Belchertown index.html file is not being created.
>
> I have :
> 1- Debian 14
> 2- Weewx 5.2.0 PIP installation

And surely you have some version of Belchertown that you got from
somewhere. Which and from where is probably important!

mtev...@gmail.com

unread,
Feb 17, 2026, 2:23:24 PM (yesterday) Feb 17
to weewx-user

Greg Troxel

unread,
Feb 17, 2026, 2:59:48 PM (yesterday) Feb 17
to mtev...@gmail.com, weewx-user
> https://github.com/poblabs/weewx-belchertown/archive/refs/heads/master.zip

I don't use this skin, but my impression from the list is that there is
a continuation fork with many fixes/updates (and probably new bugs
too; that's just how software is!).

So you may wish to seek out the fork and try it. But at least people
know which bits you are running now.

Vince Skahan

unread,
1:16 PM (5 hours ago) 1:16 PM
to weewx-user
Greg - there are two at a minimum.

Both seem to act the same for me in my testing so far.  I haven't tried to keep up with the differences.

Reply all
Reply to author
Forward
0 new messages