Hi, I am testing the new driver for almost 2 weeks now, and I am still getting frequent crashes, so this is not the solution to this problem.
On Tuesday, September 24, 2019 at 7:58:09 AM UTC+2, Björn Torkelsson wrote: > > Hi Thomas, > > I have the same problem as Patrick. Though I had no luck with the new > driver version you suggested him to try with. I get: > > Sep 24 07:13:57 ripslinger weewx[17315]: engine: Starting up weewx version > 3.9.2 > Sep 24 07:13:59 ripslinger weewx[17315]: wmr200: MainThread: I > genStartup() Delaying archive packet processing until live packet received > Sep 24 07:13:59 ripslinger weewx[17315]: wmr200: MainThread: I Time drift > between host and console in seconds:-361 > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I > genStartup() Still receiving archive packets cnt:0 len:1 > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Using pc > time adjusting archive record time by -361 sec 2019-09-21 13:08:00 CEST > (1569064080) => 2019-09-21 13:01:59 CEST (1569063719) > Sep 24 07:14:00 ripslinger weewx[17315]: engine: Main loop exiting. > Shutting engine down. > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: Thread-2: I USB polling > device thread exiting > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I USB polling > thread expired > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: Thread-1: I Watchdog > received shutdown > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: Thread-1: I Watchdog > thread exiting > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Watchdog > thread expired > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Received > packet count live:1 archive:1 control:1 > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Received > bytes:600 sent bytes:40 > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Packet > archive queue len:0 live queue len:1 > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: W Exiting > with packets still in live queue cnt:1 > Sep 24 07:14:00 ripslinger weewx[17315]: wmr200: MainThread: I Driver > gracefully exiting > Sep 24 07:14:00 ripslinger weewx[17315]: engine: Caught unrecoverable > exception in engine: > Sep 24 07:14:00 ripslinger weewx[17315]: **** 'WMR200' object has no > attribute 'wmr200' > Sep 24 07:14:00 ripslinger weewx[17315]: **** Traceback (most recent > call last): > Sep 24 07:14:00 ripslinger weewx[17315]: **** File > "/usr/share/weewx/weewx/engine.py", line 894, in main > Sep 24 07:14:00 ripslinger weewx[17315]: **** engine.run() > Sep 24 07:14:00 ripslinger weewx[17315]: **** File > "/usr/share/weewx/weewx/engine.py", line 160, in run > Sep 24 07:14:00 ripslinger weewx[17315]: **** > self.dispatchEvent(weewx.Event(weewx.STARTUP)) > Sep 24 07:14:00 ripslinger weewx[17315]: **** File > "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent > Sep 24 07:14:00 ripslinger weewx[17315]: **** callback(event) > Sep 24 07:14:00 ripslinger weewx[17315]: **** File > "/usr/share/weewx/weewx/engine.py", line 520, in startup > Sep 24 07:14:00 ripslinger weewx[17315]: **** > self._catchup(self.engine.console.genStartupRecords) > Sep 24 07:14:00 ripslinger weewx[17315]: **** File > "/usr/share/weewx/weewx/engine.py", line 632, in _catchup > Sep 24 07:14:00 ripslinger weewx[17315]: **** for record in > generator(lastgood_ts): > Sep 24 07:14:00 ripslinger weewx[17315]: **** File > "/usr/share/weewx/weewx/drivers/wmr200.py", line 1940, in genStartupRecords > Sep 24 07:14:00 ripslinger weewx[17315]: **** > timestamp_packet_previous += self.wmr200.time_drift > Sep 24 07:14:00 ripslinger weewx[17315]: **** AttributeError: > 'WMR200' object has no attribute 'wmr200' > Sep 24 07:14:00 ripslinger weewx[17315]: **** Exiting. > > Den torsdag 12 september 2019 kl. 14:40:52 UTC+2 skrev Thomas Keffer: >> >> Hello, Patrick >> >> Can you try this version >> <https://raw.githubusercontent.com/cmanton/weewx/47800a0a622b7931898faf5aa6b254cac943557a/bin/weewx/drivers/wmr200.py> >> >> of the driver? >> >> On Tue, Sep 10, 2019 at 9:43 PM Patrick J <[email protected]> wrote: >> >>> Hi, >>> >>> Last night, weewx crashed again, exactly the same scenario. Any help >>> would be greatly appreciated. >>> >>> -- >>> 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]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/f6b0c669-5b12-48c8-bd7b-f3abc5c6b5b3%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/f6b0c669-5b12-48c8-bd7b-f3abc5c6b5b3%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/869e3c04-5137-4125-8ace-f4a0ce8560d9%40googlegroups.com.
