That's an odd time for an archive record.

What archive interval are you using?

Please print out the time of the last few archive records in your database.
You can do that using the tool sqlite3.

To install sqlite3:

*sudo apt-get install sqlite3*


To use:

*sqlite3 /home/weewx/archive/weewx.sdb*
sqlite> *select dateTime, datetime(dateTime, 'unixepoch', 'localtime'),
interval from archive order by dateTime desc limit 10;*


-tk

On Sun, May 7, 2017 at 7:20 AM, aldofer <[email protected]> wrote:

> Today I upgraded my weewx V3.2.1 to last version 3.7.1.
> The installation process apparently was OK, but starting the program I
> found the following:
>
>
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****
>  self.service_obj.append(weeutil.weeutil._get_object(svc)(self,
> config_dict))*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****    File
> "/home/weewx/bin/weewx/engine.py", line 491, in __init__*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****
>  self.setup_database(config_dict)*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****    File
> "/home/weewx/bin/weewx/engine.py", line 604, in setup_database*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****      _nrecs, _ndays =
> dbmanager.backfill_day_summary() # @UnusedVariable*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****    File
> "/home/weewx/bin/weewx/manager.py", line 1411, in backfill_day_summary*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****
>  timestamp_to_string(lastRecord)))*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****  ViolatedPrecondition:
> lastUpdate(2017-05-07 16:00:00 CEST (1494165600)) > lastRecord(2017-05-07
> 15:54:08 CEST (1494165248))*
> *May  7 16:16:58 raspberrypi weewx[17415]:     ****  Exiting.*
> *May  7 16:17:01 raspberrypi /USR/SBIN/CRON[17435]: (root) CMD (   cd / &&
> run-parts --report /etc/cron.hourly)*
>
> What happens ?
>
> Ciao
> Aldo
>
> --
> 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.
>

-- 
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.

Reply via email to