Hello, Thank you for the information.

Le samedi 21 juin 2025 à 20:23:23 UTC+2, Tom Keffer a écrit :

> Hello,
>
> This seems to be an error in the skin weewx-wdc, which is a 3rd party 
> skin. Looking through the issues list for the skin, it appears that someone 
> else has posted a very similar problem. See Issue #282 
> <https://github.com/Daveiano/weewx-wdc/issues/282>.
>
> Check with the author.
>
> -tk
>
>
> On Sat, Jun 21, 2025 at 9:29 AM 'lucien mornet' via weewx-user <
> [email protected]> wrote:
>
>> Hello,
>>
>> I think I know why the statistics.html.tmpl file isn't being generated.
>>
>> In the logs, I have this:
>>
>> 2025-06-14T23:38:09.846928+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: Evaluation of template 
>> /home/lucien/weewx-data/skins/weewx-wdc/statistics.html.tmpl failed with 
>> exception '<class 'ValueError'>'
>> 2025-06-14T23:38:09.847468+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** Ignoring template 
>> /home/lucien/weewx-data/skins/weewx-wdc/statistics.html.tmpl
>> 2025-06-14T23:38:09.847768+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** Reason: min() arg is an empty sequence
>> 2025-06-14T23:38:09.854326+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** Traceback (most recent call last):
>> 2025-06-14T23:38:09.854742+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "/home/lucien/weewx-venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py",
>>  
>> line 334, in generate
>> 2025-06-14T23:38:09.855026+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
>> 2025-06-14T23:38:09.855288+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> 2025-06-14T23:38:09.855542+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "_home_lucien_weewx_data_skins_weewx_wdc_statistics_html_tmpl.py", line 
>> 250, in respond
>> 2025-06-14T23:38:09.855793+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "/home/lucien/weewx-venv/lib/python3.11/site-packages/Cheetah/Template.py", 
>> line 1712, in _handleCheetahInclude
>> 2025-06-14T23:38:09.856076+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** 
>> self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> 2025-06-14T23:38:09.856334+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "_home_lucien_weewx_data_skins_weewx_wdc_includes_climatological_days_inc.py",
>>  
>> line 861, in respond
>> 2025-06-14T23:38:09.856584+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "/home/lucien/weewx-venv/lib/python3.11/site-packages/Cheetah/Template.py", 
>> line 1712, in _handleCheetahInclude
>> 2025-06-14T23:38:09.857164+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** 
>> self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> 2025-06-14T23:38:09.857243+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "_home_lucien_weewx_data_skins_weewx_wdc_includes_stat_table_inc.py", line 
>> 404, in respond
>> 2025-06-14T23:38:09.857305+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File 
>> "_home_lucien_weewx_data_skins_weewx_wdc_includes_stat_table_inc.py", line 
>> 144, in __errorCatcher11
>> 2025-06-14T23:38:09.857363+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** File "", line 1, in 
>> 2025-06-14T23:38:09.857419+02:00 meteo weewxd[30319]: ERROR 
>> weewx.cheetahgenerator: **** ValueError: min() arg is an empty sequence
>> 2025-06-14T23:38:10.379391+02:00 meteo
>>
>> I have three years without data: 2014, 2015, and 2020. The station is 
>> down.
>> How can I solve the problem?
>>
>> I read this: 
>> https://careerkarma.com/blog/python-valueerror-max-arg-is-an-empty-sequence/
>>
>> Thank you for your answers.
>>
>> I am in France and do not speak English. I translate with Google.
>>
>> -- 
>> 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/5afc6d8e-01bc-4df2-849e-9ffa1acbbbbbn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/5afc6d8e-01bc-4df2-849e-9ffa1acbbbbbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/aefa2a1a-785d-44f9-9f69-bb0c0b3a5b51n%40googlegroups.com.

Reply via email to