Hi I'm running weewx installed from the .deb, and since upgrading from 3.6.2 (initially to 3.7.0 and now 3.7.1) I've had problems getting weewx-swb to run. I'm running 2 instances of weewx (one for my OWFS-based weather station, and the second running SWB v0.4), with separate config files. My weewx-swb config file has been upgraded. This setup has performed well through previous upgrades, but when I upgraded to 3.7.0 I began seeing errors. These have persisted now that I've upgraded to 3.7.1. My log shows the following errors:
Mar 29 20:04:00 raspberrypi weewx[6163]: engine: Initializing weewx version 3.7.1 Mar 29 20:04:00 raspberrypi weewx[6163]: engine: Using Python 2.7.3 (default, Jun 22 2016, 03:14:32) #012[GCC 4.6.3] Mar 29 20:04:00 raspberrypi weewx[6163]: engine: Platform Linux-4.4.38+-armv6l-with-debian-7.11 Mar 29 20:04:00 raspberrypi weewx[6163]: engine: Locale is 'en_AU.UTF-8' Mar 29 20:04:00 raspberrypi weewx[6163]: engine: pid file is /var/run/weewx-swb.pid Mar 29 20:04:01 raspberrypi weewx[6167]: engine: Using configuration file /etc/weewx/weewx-swb.conf Mar 29 20:04:01 raspberrypi weewx[6167]: engine: Loading station type SunnyWebBox (user.swb) Mar 29 20:04:01 raspberrypi weewx[6167]: engine: Caught unrecoverable exception in engine: Mar 29 20:04:01 raspberrypi weewx[6167]: **** type object 'Accum' has no attribute 'sum_extract' Mar 29 20:04:01 raspberrypi weewx[6167]: **** Traceback (most recent call last): Mar 29 20:04:01 raspberrypi weewx[6167]: **** File "/usr/share/weewx/weewx/engine.py", line 865, in main Mar 29 20:04:01 raspberrypi weewx[6167]: **** engine = engine_class(config_dict) Mar 29 20:04:01 raspberrypi weewx[6167]: **** File "/usr/share/weewx/weewx/engine.py", line 71, in __init__ Mar 29 20:04:01 raspberrypi weewx[6167]: **** self.setupStation(config_dict) Mar 29 20:04:01 raspberrypi weewx[6167]: **** File "/usr/share/weewx/weewx/engine.py", line 95, in setupStation Mar 29 20:04:01 raspberrypi weewx[6167]: **** __import__(driver) 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? Thanks in advance Andrew -- 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.