wee_database --check runs OK (I assume), but --rebuild-daily return an error

root@weewx:~# wee_database --check
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_mysql'
Checking daily summary tables version...
Daily summary tables are at version 2.0
Interval Weighting Fix is not required.
Daily summary tables version check completed in 0.02 seconds.
Preparing Null String Fix, this may take a while...
 Checking record: 135849; Timestamp: 2020-05-21 19:00:00 NZST (1590044400)
No null strings found.
Completed Null String Check in 12.25 seconds.
root@weewx:~# ^C
root@weewx:~# wee_database --rebuild-daily
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_mysql'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx' ...
Traceback (most recent call last):
  File "/usr/share/weewx/wee_database", line 974, in <module>
    main()
  File "/usr/share/weewx/wee_database", line 169, in main
    rebuildDaily(config_dict, db_binding, options)
  File "/usr/share/weewx/wee_database", line 275, in rebuildDaily
    trans_days=20)
  File "/usr/share/weewx/weewx/manager.py", line 1012, in 
backfill_day_summary
    timestamp_to_string(lastRecord)))
weewx.ViolatedPrecondition: lastUpdate(2020-05-22 06:00:00 NZST 
(1590084000)) > lastRecord(2020-05-21 19:00:00 NZST (1590044400))

-- 
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/a65c193b-9b19-4253-b5a7-625002268ac1%40googlegroups.com.

Reply via email to