I've updated my weewx installation and had a niculskin installed as a standard template.
Unfortunately this function doesn't work: search_list_extensions = user.historygenerator.MyXSearch in skin.conf
I got this error:
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/history.html.tmpl
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'min_temp_table'
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Standard_history_html_tmpl.py", line 202, in respond
May 4 15:00:30 raspi-wetter weewx[4997] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'min_temp_table'
This is my template:
<div class="container" >
<div class="col-md-8 main" >
<h3>Tiefsttemperatur</h3>
$min_temp_table
<h3>Durchschnittstemperatur</h3>
$avg_temp_table
<h3>Höchsttemperatur</h3>
$max_temp_table
<h3>Regenmenge</h3>
$rain_table
<h3>Regenmengtage</h3>
$rain_days_table
<h3>Wetterarchiv</h3>
$NOAA_table
</div>
</div>
this is my skin.conf:
[CheetahGenerator]
# This section is used by the generator CheetahGenerator, and specifies
# which files are to be generated from which template.
# Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
encoding = html_entities
search_list_extensions = user.historygenerator.MyXSearch
[[SummaryByMonth]]
# Reports that summarize "by month"
[[[NOAA_month]]]
encoding = utf8
template = NOAA/NOAA-YYYY-MM.txt.tmpl
[[SummaryByYear]]
# Reports that summarize "by year"
[[[NOAA_year]]]
encoding = utf8
template = NOAA/NOAA-YYYY.txt.tmpl
[[ToDate]]
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
[[[day]]]
template = index.html.tmpl
[[[week]]]
template = week.html.tmpl
[[[month]]]
template = month.html.tmpl
[[[year]]]
template = year.html.tmpl
[[[RSS]]]
template = RSS/weewx_rss.xml.tmpl
[[[history]]]
template = history.html.tmpl
I cannot find the new function,that I've to change it to.
Thanks in advance for your help.
Peter