It looks like I messed up something. I've deleted the two rows from the "future", but now weewx wont start. root@weewx:~# service weewx restart root@weewx:~# tail -f /var/log/syslog May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 158, in run May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** self.dispatchEvent(weewx.Event(weewx.STARTUP)) May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** callback(event) May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 522, in startup May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** _nrecs, _ndays = dbmanager.backfill_day_summary() May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** File "/usr/share/weewx/weewx/manager.py", line 1012, in backfill_day_summary May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** timestamp_to_string(lastRecord))) May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** ViolatedPrecondition: lastUpdate(2020-05-22 06:00:00 NZST (1590084000)) > lastRecord(2020-05-21 19:00:00 NZST (1590044400)) May 21 20:30:32 weewx weewx[8599] CRITICAL __main__: **** Exiting.
On Thursday, May 21, 2020 at 8:22:31 PM UTC+12, gjr80 wrote: > > Brain fade on my part, I should have tweaked earlier. I would go in and > delete the future records from the archive then rebuild the daily > summaries. You could just let it be and it will (seemingly) fix itself come > 6am tomorrow (albeit with a couple of duplicate index errors in the log) > but those bogus records will remain. > > Gary > -- 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/f7ffb497-286f-47da-bb8d-37215eebdfa6%40googlegroups.com.
