I suspect a problem in the skin so have logged an issue with Pat 

On Tuesday, 1 January 2019 11:00:43 UTC+13, Colin Larsen wrote:
>
> Happy New Year all
>
> I awoke this morning (2019 here in NZ) to find this;
>
> Jan  1 10:55:29 raspberrypi weewx[9736]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****  'NoneType' object 
> has no attribute '__getitem__'
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****  Traceback (most 
> recent call last):
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      obj.start()
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      self.run()
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      
> default_binding)
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      searchList += 
> obj.get_extension_list(timespan, db_lookup)
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****    File 
> "/usr/share/weewx/user/belchertown.py", line 297, in get_extension_list
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****      
> year_rainiest_month_tuple 
> = (year_rainiest_month_query[1], rain_unit, 'group_rain')
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****  TypeError: 
> 'NoneType' object has no attribute '__getitem__'
>
> Jan  1 10:55:29 raspberrypi weewx[9736]:         ****  Generator 
> terminated
>
>
>
> None of the year/month/day records appear to have rolled over and the 2019 
> NOAA reports haven't generated. 
>
>
> Not quite sure where the hiccup lays, Weewx or skin?
>
>
> Cheers
>
> Colin
>

-- 
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.

Reply via email to