On Wednesday, March 29, 2017 at 6:03:39 AM UTC-4, Andrew Potter wrote: > > Mar 29 20:04:01 raspberrypi weewx[6167]: **** File > "/usr/share/weewx/user/swb.py", line 52, in <module> > Mar 29 20:04:01 raspberrypi weewx[6167]: **** > weewx.accum.extract_dict['grid_energy'] = weewx.accum.Accum.sum_extract > Mar 29 20:04:01 raspberrypi weewx[6167]: **** AttributeError: type > object 'Accum' has no attribute 'sum_extract' > Mar 29 20:04:01 raspberrypi weewx[6167]: **** Exiting. > > What have I missed? >
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.