Hi,

You are correct, the issue has come up a couple of times before. The code 
on bitbucket has been fixed for sometime but I have not packaged up the 
patched file. My bad, will make a point of doing that today. The easiest 
fix for you is to follow the instructions here 
<https://groups.google.com/d/msg/weewx-user/j5qfHK3P_ME/shRRmJDzAQAJ>.

Gary

On Monday, 26 September 2016 00:56:28 UTC+10, Rune Lægreid wrote:
>
> I know similar errors have been reported before, but I am not able to sort 
> out the issue causing this error message:
>
> Sep 24 12:41:44 WeatherPi weewx[12234]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** unsupported operand type(s) 
> for +=: 'float' and 'NoneType'
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** Traceback (most recent call 
> last):
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/reportengine.py", line 140, in run
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** obj.start()
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/reportengine.py", line 170, in start
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** self.run()
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 143, in run
> Sep 24 12:41:44 WeatherPi weewx[12234]: **** ngen = 
> self.generate(gen_dict[option_section_name], self.gen_ts)
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 206, in generate
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** ngen += 
> self.generate(section[subsection], gen_ts)
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 206, in generate
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** ngen += 
> self.generate(section[subsection], gen_ts)
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 290, in generate
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** default_binding)
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in _getSearchList
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/user/wdSearchX3.py", line 456, in get_extension_list
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** monthRainAvg_vh, 
> monthRainAvgNow_vh, monthTempAvg_vh, monthTempAvgNow_vh, monthRainMax_vh, 
> monthTempMax_vh, monthTempMin_vh, yearmaxmonthrain_vh, ymaxrainmonth, 
> ymaxrainyear, monthRainMax_ts = self.getMonthAveragesHighs(timespan, 
> db_lookup)
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/user/wdSearchX3.py", line 339, in getMonthAveragesHighs
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** monthRainBin[_month_bin][0] 
> += monthRain_tuple[0]
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** TypeError: unsupported 
> operand type(s) for +=: 'float' and 'NoneType'
> Sep 24 12:41:45 WeatherPi weewx[12234]: **** Generator terminated...
> Sep 24 12:41:47 WeatherPi weewx[12234]: cheetahgenerator: Generated 1 
> files for report wdPWS in 1.84 seconds
> Sep 24 12:41:48 WeatherPi weewx[12234]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** unsupported operand type(s) 
> for +=: 'float' and 'NoneType'
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** Traceback (most recent call 
> last):
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/reportengine.py", line 140, in run
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** obj.start()
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/reportengine.py", line 170, in start
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** self.run()
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 143, in run
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** ngen = 
> self.generate(gen_dict[option_section_name], self.gen_ts)
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 206, in generate
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** ngen += 
> self.generate(section[subsection], gen_ts)
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 206, in generate
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** ngen += 
> self.generate(section[subsection], gen_ts)
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 290, in generate
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** default_binding)
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in _getSearchList
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/user/wdSearchX3.py", line 456, in get_extension_list
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** monthRainAvg_vh, 
> monthRainAvgNow_vh, monthTempAvg_vh, monthTempAvgNow_vh, monthRainMax_vh, 
> monthTempMax_vh, monthTempMin_vh, yearmaxmonthrain_vh, ymaxrainmonth, 
> ymaxrainyear, monthRainMax_ts = self.getMonthAveragesHighs(timespan, 
> db_lookup)
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** File 
> "/home/weewx/bin/user/wdSearchX3.py", line 339, in getMonthAveragesHighs
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** monthRainBin[_month_bin][0] 
> += monthRain_tuple[0]
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** TypeError: unsupported 
> operand type(s) for +=: 'float' and 'NoneType'
> Sep 24 12:41:48 WeatherPi weewx[12234]: **** Generator terminated...
> Sep 24 12:41:49 WeatherPi weewx[12234]: imageStackedWindRose: Generated 1 
> images for wdStackedWindRose in 1.16 seconds
> Sep 24 12:41:53 WeatherPi weewx[12234]: cheetahgenerator: Generated 1 
> files for report wdSteelGauges in 3.48 seconds
> Sep 24 12:41:53 WeatherPi weewx[12234]: reportengine: copied 6 files to 
> /home/weewx/public_html/ss
> Sep 24 12:42:00 WeatherPi weewx[12234]: cheetahgenerator: Generated 2 
> files for report SteelSeries in 6.23 seconds
>
> Rune.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to