So I'm guessing you have modified the neowx-material skin by adding a new 
page?

Search list extensions add tags to the WeeWX search list so that those tags 
can be used in skin template files. The user can add to the search list by 
setting the search_list or search_list_extensions config options 
<http://weewx.com/docs/customizing.htm#CheetahGenerator> in the skin config 
file. So you don't find search list extensions in your template file, 
rather you will find the tags provided by the search list extension. The 
search list extensions are listed in your skin config file.

Looking at your history error trace and your template I am guessing this is 
the problem line as it is the only use of history in a tag:

<title>$Extras.Translations[$Extras.language].history | 
$station.location</title>

I have no knowledge of the workings of the neowx-material or the bootstrap 
skins, but based on that code I would be looking closely at the [Extras] 
section of your skin config file to make sure you have everything there 
that the history generator expects.

In terms of the other error in your original post:

Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: 
Generate failed with exception '<class 'ValueError'>'
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: **** 
Ignoring template /etc/weewx/skins/neowx-material/month.html.tmpl
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: **** 
Reason: day is out of range for month
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
Traceback (most recent call last):
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
    unicode_string = compiled_template.respond()
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
  File "_etc_weewx_skins_neowx_material_month_html_tmpl.py", line 959, in 
respond
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
  File "/usr/share/weewx/weewx/tags.py", line 120, in span
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
    year_delta=year_delta),
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
  File "/usr/share/weewx/weeutil/weeutil.py", line 460, in archiveSpanSpan
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
    start_dt = time_dt.replace(year=year, month=month)
Jul 31 17:30:41 raspberrypi weewx[456] ERROR weewx.cheetahgenerator: ****  
ValueError: day is out of range for month

If the /etc/weewx/skins/neowx-material/month.html.tmpl file is part 
of/taken from the neowx-material skin then the error is clearly to do with 
the neowx-material skin and you should seek support from the skin author.

Gary
On Tuesday, 3 August 2021 at 19:28:17 UTC+10 [email protected] wrote:

> output debug:
> https://pastebin.com/raw/TxvXYg4i
>
>
> [email protected] schrieb am Dienstag, 3. August 2021 um 11:23:05 
> UTC+2:
>
>> this is my complet tmpl file:
>>
>> no  search list extensions inside
>>
>> give me one moment for a DEGUG Output
>> --------------------------------------------------
>>
>> #encoding UTF-8
>> <!DOCTYPE html>
>> <html lang="$Extras.language">
>> <head>
>>     <title>$Extras.Translations[$Extras.language].history | 
>> $station.location</title>
>>     #include "head.inc"
>> </head>
>> <body class="main-bg">
>>
>> #attr $active_nav = 'history'
>> #include "header.inc"
>>
>> <main>
>>
>>     <div class="container">
>>
>>         <div class="row my-4 align-content-start">
>>
>>              <h3>Temperatur min</h3>
>>                 $min_temp_table
>>
>>              <h3>Temperatur mittel</h3>
>>                 $avg_temp_table
>>
>>              <h3>Temperatur max</h3>
>>                 $max_temp_table
>>
>>              <h3>Regen</h3>
>>                 $rain_table
>>
>>              <h3>Regentage</h3>
>>                 $rain_days_table
>>
>>              <h3>Windgeschwindigkeit mittel</h3>
>>                 $avg_windSpeed_table
>>           
>>              <h3>Windgeschwindigkeit max</h3>
>>                 $max_windSpeed_table
>>
>>         </div>
>>
>>     </div>
>>
>> </main>
>>
>> #include "footer.inc"
>> #include "js.inc"
>>
>> </body>
>> </html>
>>
>>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/984b76e9-87cb-4d38-b563-bb89c1f7f9e9n%40googlegroups.com.

Reply via email to