pi@weather:~ $ sudo wee_database --rebuild-daily
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database
'archive_sqlite'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx.sdb' ...
Traceback (most recent call last):
File "/usr/bin/wee_database", line 793, in <module>
main()
File "/usr/bin/wee_database", line 153, in main
rebuildDaily(config_dict, db_binding, options)
File "/usr/bin/wee_database", line 262, in rebuildDaily
trans_days=20)
File "/usr/share/weewx/weewx/manager.py", line 1428, in
backfill_day_summary
timestamp_to_string(lastRecord)))
weewx.ViolatedPrecondition: lastUpdate(2020-03-06 07:55:00 CST
(1583502900)) > lastRecord(2020-03-05 12:00:00 CST (1583431200))
On Fri, Mar 6, 2020 at 2:52 PM Richard Back <[email protected]> wrote:
> weewx fails on startup with the error in the syslog. I am not getting
> that far.
>
> On Fri, Mar 6, 2020 at 2:47 PM gjr80 <[email protected]> wrote:
>
>> Hi,
>>
>> Your daily summaries believe they were updated after the most recent
>> record in the archive. Try rebuilding the daily summaries using
>> wee_database (http://weewx.com/docs/utilities.htm#Action_--rebuild-daily
>> ).
>>
>> Gary
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/A98fHji1uqU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/aff0d017-d02d-4dc4-a670-d7b23d72fe8f%40googlegroups.com
>> .
>>
>
--
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/CAA-sOCznkLYpADeHBFgqfuJzdjwWDqgc%3D73JzEizX86vi84iKA%40mail.gmail.com.