Got an error with trying to rebuild database.
pi@raspberrypi:~ $ sudo wee_database --rebuild-daily --from 2017-12-25
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database
'archive_sqlite'
Daily summaries from 2017-12-25 through the end 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(2017-12-26 08:55:00 CST
(1514300100)) > lastRecord(2017-12-25 00:00:00 CST (1514181600))
On Monday, December 25, 2017 at 8:53:02 PM UTC-6, Mike Dame wrote:
>
> Last night I rebooted my raspberry running that is running "weewx
> v3.8.0". And the report are dated two days ahead, so today is the 25th of
> Dec, reported that the temps are from 27th of Dec. I have double checked
> the system clock is correct on the raspberry and the time on the "WMR200a"
> is set correct, within minute of the raspberry. notice the date stamp on
> the database check below.
>
> The only error that I can see in the messages log is "wmr200: MainThread:
> W Clock time unsynchronized", I did not really get any hits that would give
> me a hint if this is the error or not.
>
> pi@raspberrypi:~ $ sudo wee_database --check
> Using configuration file /etc/weewx/weewx.conf
> Using database binding 'wx_binding', which is bound to database
> 'archive_sqlite'
> Checking daily summary tables version...
> Daily summary tables are at version 1.0
> Recommend running --update to recalculate interval weightings.
> Daily summary tables version check completed in 0.02 seconds.
> Preparing Null String Check, this may take awhile...
> *Checking record: 739537; Timestamp: 2017-12-27 04:31:37 CST (1514370697)*
> No null strings found.
> Completed Null String Check in 70.77 seconds.
> pi@raspberrypi:~ $ date
> *Mon 25 Dec 20:42:46 CST 2017*
> pi@raspberrypi:~ $
>
> Anybody got some ideas?
>
> Regards,
> Mike
>
--
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.