This error:

ViolatedPrecondition: lastUpdate(2017-03-13 10:05:00 CET (1489395900)) > 
lastRecord(2017-03-13 09:58:01 CET (1489395481))

solved with:

wee_database weewx.conf --drop-daily

from: https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data

and 

wee_database weewx.conf --rebuild-daily

Restart... and work fine.

THanks.


El lunes, 13 de marzo de 2017, 14:22:34 (UTC+1), Juan Antonio Mosquera 
escribió:
>
> LOG:
>
> Mar 13 14:22:09 raspberrypi weewx[20949]: engine: Initializing weewx 
> version 3.7.0
> Mar 13 14:22:09 raspberrypi weewx[20949]: engine: Using Python 2.7.9 
> (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
> Mar 13 14:22:09 raspberrypi weewx[20949]: engine: Platform 
> Linux-4.4.50+-armv6l-with-debian-8.0
> Mar 13 14:22:09 raspberrypi weewx[20949]: engine: Locale is 'es_ES.UTF-8'
> Mar 13 14:22:09 raspberrypi weewx[20949]: engine: pid file is 
> /var/run/weewx.pid
> Mar 13 14:22:10 raspberrypi weewx[20954]: engine: Using configuration file 
> /etc/weewx/weewx.conf
> Mar 13 14:22:10 raspberrypi weewx[20954]: engine: Loading station type 
> FineOffsetUSB (weewx.drivers.fousb)
> Mar 13 14:22:10 raspberrypi weewx[20954]: fousb: driver version is 1.9
> Mar 13 14:22:10 raspberrypi weewx[20954]: fousb: polling mode is PERIODIC
> Mar 13 14:22:10 raspberrypi weewx[20954]: fousb: polling interval is 60
> Mar 13 14:22:10 raspberrypi weewx[20954]: fousb: found station on USB 
> bus=001 device=004
> Mar 13 14:22:10 raspberrypi weewx[20954]: engine: StdConvert target unit 
> is 0x10
> Mar 13 14:22:10 raspberrypi weewx[20954]: wxcalculate: The following 
> values will be calculated: barometer=prefer_hardware, 
> windchill=prefer_hardware, dewpoint=prefer_hardware, 
> appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, 
> heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
> humidex=prefer_hardware, pressure=prefer_hardware, 
> inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
> cloudbase=prefer_hardware
> Mar 13 14:22:10 raspberrypi weewx[20954]: wxcalculate: The following 
> algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
> Mar 13 14:22:10 raspberrypi weewx[20954]: engine: Archive will use data 
> binding wx_binding
> Mar 13 14:22:10 raspberrypi weewx[20954]: engine: Record generation will 
> be attempted in 'hardware'
> Mar 13 14:22:11 raspberrypi weewx[20954]: engine: Using archive interval 
> of 300 seconds (specified by hardware)
> Mar 13 14:22:11 raspberrypi weewx[20954]: engine: Using binding 
> 'wx_binding' to database 'weewx.sdb'
> Mar 13 14:22:11 raspberrypi weewx[20954]: manager: Starting backfill of 
> daily summaries
>
>
> El lunes, 13 de marzo de 2017, 14:15:14 (UTC+1), mwall escribió:
>>
>> juan,
>>
>> please post the log from the time weewx started up.
>>
>> what version were you running before you upgraded?
>>
>> before you do anything else, you should save a copy of the database 
>> /var/lib/weewx/weewx.sdb, and your configuration /etc/weewx/weewx.conf.
>>
>> to downgrade using apt-get:
>>
>> sudo apt-get install weewx-3.6.2
>>
>> but in this case, that will probably hide the problem, not fix it.
>>
>> m
>>
>

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