Hallo
I use the WeewWx-Version 4 from the development since 01.04.2019
under
Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15) [GCC 8.3.0]

there is a problem when a value has "None" as the type "NoneType" (e.g., 
trend value less than 3 hours)

Ein problem gibt es, wenn ein wert "None" als den Type "NoneType hat (z.B. 
Trend-wert unter 3 stunden)

Code hier eingeben...Apr  7 12:25:25 wetter OWFS[29697]: restx: WindFinder: 
Published record 2019-04-07 12:25:00 CEST (1554632700)
Apr  7 12:25:30 wetter OWFS[29697]: cheetahgenerator: Generate failed with 
exception '<class 'TypeError'>'
Apr  7 12:25:30 wetter OWFS[29697]: cheetahgenerator: **** Ignoring template 
/home/weewx/skins/Standard/indexOWFS.html.tmpl
Apr  7 12:25:30 wetter OWFS[29697]: cheetahgenerator: **** Reason: '<' not 
supported between instances of 'NoneType' and 'int'
Apr  7 12:25:30 wetter OWFS[29697]: ****  Traceback (most recent call last):
Apr  7 12:25:30 wetter OWFS[29697]: ****    File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 331, in generate
Apr  7 12:25:30 wetter OWFS[29697]: ****      unicode_string = 
compiled_template.respond()
Apr  7 12:25:30 wetter OWFS[29697]: ****    File 
"_home_weewx_skins_Standard_indexOWFS_html_tmpl.py", line 743, in respond
Apr  7 12:25:30 wetter OWFS[29697]: ****  TypeError: '<' not supported 
between instances of 'NoneType' and 'int'
Apr  7 12:25:31 wetter OWFS[29697]: cheetahgenerator: Generated 9 files for 
report StandardReport in 5.80 seconds



Thank you special Tom, Luc, Gary 
and all others

Hartmut

Reply via email to