A lot of thank's to you. It has started but i think we have a loop: Jan 22 16:30:03 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:03 CET (1516635003) (last_index=21390 latest_index=21391) Jan 22 16:30:03 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:03 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:03 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:03 CET (1516635003) (last_index=21390 latest_index=21391) Jan 22 16:30:04 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:04 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:04 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:04 CET (1516635004) (last_index=21390 latest_index=21391) Jan 22 16:30:05 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:05 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:05 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:05 CET (1516635005) (last_index=21390 latest_index=21391) Jan 22 16:30:05 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:06 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:06 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:06 CET (1516635006) (last_index=21390 latest_index=21391) Jan 22 16:30:06 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:07 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:07 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:07 CET (1516635007) (last_index=21390 latest_index=21391) Jan 22 16:30:07 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:08 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:08 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:08 CET (1516635008) (last_index=21390 latest_index=21391) Jan 22 16:30:08 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:08 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:08 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:08 CET (1516635008) (last_index=21390 latest_index=21391) Jan 22 16:30:09 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:09 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:09 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:09 CET (1516635009) (last_index=21390 latest_index=21391) Jan 22 16:30:09 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:10 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:10 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:10 CET (1516635010) (last_index=21390 latest_index=21391) Jan 22 16:30:10 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:11 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:11 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:11 CET (1516635011) (last_index=21390 latest_index=21391) Jan 22 16:30:11 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: possible missed rain event: new=195.58 old=None Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: rain=None rain_total=195.58 last_rain=None Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:12 CET (1516635012) (last_index=21390 latest_index=21391) Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:12 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:12 CET (1516635012) (last_index=21390 latest_index=21391) Jan 22 16:30:13 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:13 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:13 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:13 CET (1516635013) (last_index=21390 latest_index=21391) Jan 22 16:30:13 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391 Jan 22 16:30:14 MeteoElche weewx[15491]: wmr300: dump history Jan 22 16:30:14 MeteoElche weewx[15491]: wmr300: reading records since 2018-01-22 16:30:14 CET (1516635014) (last_index=21390 latest_index=21391) Jan 22 16:30:14 MeteoElche weewx[15491]: wmr300: catchup complete: count=0 last_index=21390 latest_index=21391
El lunes, 22 de enero de 2018, 13:34:11 (UTC+1), mwall escribió: > > > > On Monday, January 22, 2018 at 6:48:27 AM UTC-5, Ruben Navarro Huedo wrote: >> >> Hello: >> >> Testing last WMR300 driver: >> >> Jan 22 12:45:42 MeteoElche weewx[1500]: wmr300: dump history >> Jan 22 12:45:42 MeteoElche weewx[1500]: wmr300: reading records since >> 2018-01-22 12:45:42 CET (1516621542) (last_index=21345 latest_index=21346) >> Jan 22 12:45:47 MeteoElche weewx[1500]: engine: Caught unrecoverable >> exception in engine: >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** list index out of range >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** Traceback (most recent >> call last): >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** File >> "/usr/share/weewx/weewx/engine.py", line 871, in main >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** engine.run() >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** File >> "/usr/share/weewx/weewx/engine.py", line 187, in run >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** for packet in >> self.console.genLoopPackets(): >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** File >> "/usr/share/weewx/weewx/drivers/wmr300.py", line 1263, in genLoopPackets >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** self.dump_history() >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** File >> "/usr/share/weewx/weewx/drivers/wmr300.py", line 1147, in dump_history >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** for rec in >> self.get_history(time.time(), clear_logger=True): >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** File >> "/usr/share/weewx/weewx/drivers/wmr300.py", line 1160, in get_history >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** >> self.init_history(clear_logger) >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** File >> "/usr/share/weewx/weewx/drivers/wmr300.py", line 1089, in init_history >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** if buf is None or >> buf[0] != 0x41: >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** IndexError: list index >> out of range >> Jan 22 12:45:47 MeteoElche weewx[1500]: **** Exiting. >> > > ruben, > > thank you for continuing to help with the wmr300 driver! please install > version 0.19rc4: > > > https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/wmr300.py > > this version fixes the corner case you discovered, as well as two similar > conditions when waiting for ACK from the hardware. > > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
