I'm using part of the fuzzy-archer skin to generate history tables on the
records page, in conjunction with the Belchertown skin. I'm using this on
two sites, both of which I set up myself. For one site, these tables
stopped updating at the end of last year. In the logs, I get this error:
2025-06-19T15:45:18.871571+01:00 weewxd[121035]: ERROR
weewx.cheetahgenerator: Evaluation of template
/etc/weewx/skins/Belchertown/records/index.html.tmpl failed.
2025-06-19T15:45:18.872969+01:00 weewxd[121035]: ERROR
weewx.cheetahgenerator: **** Ignoring template
/etc/weewx/skins/Belchertown/records/index.html.tmpl
2025-06-19T15:45:18.873193+01:00 weewxd[121035]: ERROR
weewx.cheetahgenerator: **** Reason: cannot find 'BootstrapLabels'
2025-06-19T15:45:18.873288+01:00 weewxd[121035]: ERROR
weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo'
at top of template
I have defined 'BootstrapLabels' in the Belchertown skin.conf as follows:
[BootstrapLabels]
#
# Labels specific to the Bootstrap template
#
[[headings]]
front_page = The Weather
stats = Stats
history = History
news = News
about = About
last_update = Last updated
[[timespans]]
day = Last 24 hours
today = Today # today = any time since midnight
week = This week
month = This Month
year = This Year
ever = Since ever
[[status]]
latitude = Latitude:
longitude = Longitude:
altitude = Altitude:
station_uptime = Station uptime:
server_uptime = Server uptime:
[[history_tables]]
min_temp = Minimum Temperature
max_temp = Maximum Temperature
avg_temp = Average Temperature
rain = Rainfall Accumulation
rain_days = Days with at least 1 mm rainfall
sunHours = Total sunshine hours
max_wind_gust = Maximum Wind Gust
NOAA = Month-by-month Data
[[minmax]]
min = Low
max = High
In the Belchertown records.inc file I then have the following:
#encoding UTF-8
<div class="entry-content about-outer" itemprop="text">
<h3>$BootstrapLabels.history_tables.max_temp</h3> $max_temp_table
<h3>$BootstrapLabels.history_tables.min_temp</h3> $min_temp_table
<h3>$BootstrapLabels.history_tables.avg_temp</h3> $avg_temp_table
<h3>$BootstrapLabels.history_tables.rain</h3> $rain_table
<h3>$BootstrapLabels.history_tables.rain_days</h3> $rain_days_table
<h3>$BootstrapLabels.history_tables.sunHours</h3> $sunHours_table
<h3>$BootstrapLabels.history_tables.max_wind_gust</h3>
$max_wind_gust_table
<h3>$BootstrapLabels.history_tables.NOAA</h3> $NOAA_table
</div>
As far as I can tell, everything relating to the history tables and the
fuzzy-archer skin is the same as in the working version that I have for the
other site. I'm wondering if perhaps something updated which I'm not aware
of (the broken site is my Dad's, and he may have run some updates without
me realising). The broken site isn't publically available, but the other
working one is here in case it's helpful to know what the setup looks
like: https://empslocal.ex.ac.uk/uoeweather/records/
Any advice would be much 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 visit
https://groups.google.com/d/msgid/weewx-user/b8e980aa-4bd2-46d4-8a70-9e2555ddc7c8n%40googlegroups.com.