Hi John,
I'm only using forecast to generate for the exfoliation skin just as a clarification. So I too
k the forecast.py from the new master.zip and installed in the /user/share/weewx/user dir in my installation. I got the following syslog errors.
Oct 22 07:45:18 bdp-rpi1 /weewxd: wx_cp_index: executed /home/pi/scripts/wx_cp_index >/var/log/wx_cp_index.log 2>&1
Oct 22 07:45:21 bdp-rpi1 weewx[32073] INFO weewx.cheetahgenerator: Generated 14 files for report StandardReport in 2.29 seconds
Oct 22 07:45:22 bdp-rpi1 weewx[32073] INFO weewx.imagegenerator: Generated 12 images for report StandardReport in 0.68 seconds
Oct 22 07:45:22 bdp-rpi1 weewx[32073] INFO weewx.reportengine: Copied 0 files to /home1/var/www/weewx
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:24 bdp-rpi1 /weewxd: forecast: ReportThread: _get_max: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:25 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:25 bdp-rpi1 /weewxd: forecast: ReportThread: _get_stats: '>' not supported between instances of 'NoneType' and 'float'
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'ZeroDivisionError'>'
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/exfoliation/forecast.html.tmpl
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** Reason: float division by zero
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last):
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond()
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_exfoliation_forecast_html_tmpl.py", line 351, in respond
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_exfoliation_forecast_iconic_inc.py", line 312, in respond
Oct 22 07:45:25 bdp-rpi1 weewx[32073] ERROR weewx.cheetahgenerator: **** ZeroDivisionError: float division by zero
Oct 22 07:45:25 bdp-rpi1 weewx[32073] INFO weewx.cheetahgenerator: Generated 8 files for report exfoliation in 3.07 seconds
Oct 22 07:45:28 bdp-rpi1 weewx[32073] INFO weewx.imagegenerator: Generated 32 images for report exfoliation in 3.24 seconds
Oct 22 07:45:28 bdp-rpi1 weewx[32073] INFO weewx.reportengine: Copied 0 files to /home1/var/www/weewx/exfoliation
new forecast.py ignores that html.tmpl versus the original 3.4.0 forecast.py which at least generates the forecasts and both have the Typeerror issue on the _get functions for stats. So I will keep looking at it. Let me know if you have any other suggestions.
Best,
Bryan