Hello there,  I am the creator of this skin. It seems that there are 
problems with the windrose diagram. The error should go away if you remove 
windRose from the diagram_tile_observations in the skin.conf as a quick fix.

Does your station actually record wind speed and wind direction? From the 
error message, it seems the wind speed is empty.

[email protected] schrieb am Freitag, 19. August 2022 um 13:35:25 UTC+2:

> After installing and starting the skin the following error messages show :
>
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
> of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with 
> exception '<class 'TypeError'>'
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
> Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
>  Traceback (most recent call last):
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  unicode_string = compiled_template.respond()
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 201, in 
> respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
> 313, in respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 238, in respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 99, in __errorCatcher5
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "<string>", line 1, in <module>
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/share/weewx/user/weewx_wdc.py", line 658, in get_windrose_data
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  windspeed_knots = kph_to_knot(windSpeed_data.raw)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/share/weewx/weewx/units.py", line 80, in kph_to_knot
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  return x * 0.539956803
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
>  TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
> of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl failed with 
> exception '<class 'TypeError'>'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
> Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
>  Traceback (most recent call last):
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  unicode_string = compiled_template.respond()
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 200, in 
> respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
> 313, in respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 250, in respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 106, in __errorCatcher6
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "<string>", line 1, in <module>
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/share/weewx/user/weewx_wdc.py", line 658, in get_windrose_data
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  windspeed_knots = kph_to_knot(windSpeed_data.raw)
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****   
>  File "/usr/share/weewx/weewx/units.py", line 80, in kph_to_knot
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: ****     
>  return x * 0.539956803
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: **** 
>  TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
>
> Can someone help me with this?
>
> Regards
>
>

-- 
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/61aad5b9-969d-4b84-beb2-dedd48d6d97en%40googlegroups.com.

Reply via email to