Thanks Matt... I made the suggested change but still get essentially the same error:
Mar 30 21:57:59 raspberrypi weewx[7145]: **** File "/usr/share/weewx/user/swb.py", line 52, in <module> Mar 30 21:57:59 raspberrypi weewx[7145]: **** weewx.accum.extract_dict['grid_energy'] = weewx.accum.Accum.extract_sum Mar 30 21:57:59 raspberrypi weewx[7145]: **** TypeError: 'NoneType' object does not support item assignment Mar 30 21:57:59 raspberrypi weewx[7145]: **** Exiting. ...any other ideas? Is there a way to drop this out of swb.py and add to the config file as Tom suggests? Cheers Andrew On Wednesday, March 29, 2017 at 11:33:30 PM UTC+10:30, mwall wrote: > > andrew, > > i think this is due to a change in the Accum object in weewx 3.7.0 > > in the weewx-swb driver file swb.py, please change line 52 from this: > > weewx.accum.extract_dict['grid_energy'] = weewx.accum.Accum.sum_extract > > to this: > > weewx.accum.extract_dict['grid_energy'] = weewx.accum.Accum.extract_sum > > maybe tom could chime in about providing some backward compatibility in > accum.py... > > 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.