I have NWS data. Dec 9 21:20:21 weewxpi weewx[2701]: forecast: NWSThread: NWS: got 40 forecast records for WORCESTER-WORCESTER MA 42.29N 71.89W ELEV. 1009 FT Dec 9 21:20:22 weewxpi weewx[2701]: forecast: NWSThread: NWS: saved 40 forecast records Dec 9 21:20:22 weewxpi weewx[2701]: forecast: NWSThread: NWS: deleted forecasts prior to 1480731622 Dec 9 21:20:42 weewxpi weewx[2701]: cheetahgenerator: Generated 15 files for report StandardReport in 21.12 seconds Dec 9 21:20:45 weewxpi weewx[2701]: genimages: Generated 12 images for StandardReport in 2.78 seconds Dec 9 21:20:45 weewxpi weewx[2701]: reportengine: copied 22 files to /home/weewx/public_html Dec 9 21:21:03 weewxpi weewx[2701]: cheetahgenerator: Generate failed with exception '<type 'exceptions.TypeError'>' Dec 9 21:21:03 weewxpi weewx[2701]: cheetahgenerator: **** Ignoring template /home/weewx/skins/forecast/iconic.html.tmpl Dec 9 21:21:03 weewxpi weewx[2701]: cheetahgenerator: **** Reason: unsupported operand type(s) for -: 'NoneType' and 'NoneType' Dec 9 21:21:03 weewxpi weewx[2701]: **** Traceback (most recent call last): Dec 9 21:21:03 weewxpi weewx[2701]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 315, in generate Dec 9 21:21:03 weewxpi weewx[2701]: **** print >> _file, text Dec 9 21:21:03 weewxpi weewx[2701]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__ Dec 9 21:21:03 weewxpi weewx[2701]: **** rc = getattr(self, mainMethName)() Dec 9 21:21:03 weewxpi weewx[2701]: **** File "_home_weewx_skins_forecast_iconic_html_tmpl.py", line 101, in respond Dec 9 21:21:03 weewxpi weewx[2701]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1615, in _handleCheetahInclude Dec 9 21:21:03 weewxpi weewx[2701]: **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans) Dec 9 21:21:03 weewxpi weewx[2701]: **** File "_home_weewx_skins_forecast_forecast_iconic_inc.py", line 173, in respond Dec 9 21:21:03 weewxpi weewx[2701]: **** TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType' Dec 9 21:21:14 weewxpi weewx[2701]: cheetahgenerator: Generated 8 files for report forecast in 28.81 seconds
Dave-KB1PVH On Fri, Dec 9, 2016 at 9:52 PM, mwall <mw...@users.sourceforge.net> wrote: > On Friday, December 9, 2016 at 9:36:55 PM UTC-5, Dave Webb wrote: >> >> Just did a new 3.6.2 install along with the new forecast extension to >> mess around with and get the following errors. I haven't done anything >> other than install and put the correct NWS info in. >> > > sorry about that - you'll see that if you try to generate the report when > there is no forecast data yet. it should be ok once you have some forecast > data to work with. > > or download 3.2.1, which skips the report if there are no forecast data. > > m > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.