﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4	Exception updating rrd database with invalid time	joachim	joachim	"Probably this error is caused by resetting the system time by chrony, during a running log session. In this situation it is possible, that gnuboat tries to add a rrd entry to an already existing time slot (which was added before the time reset).

The produced log is

{{{
Aug 25 09:17:26 gnu.boat gnuboat[620]: Failed to connect to n2kd server at 127.0.0.1:2597: [Errno 111] Connection refused
Aug 25 09:17:26 gnu.boat gnuboat[620]: Traceback (most recent call last):
Aug 25 09:17:26 gnu.boat gnuboat[620]: File ""/usr/bin/gnuboat"", line 223, in <module>
Aug 25 09:17:26 gnu.boat gnuboat[620]: main(sys.argv[1:])
Aug 25 09:17:26 gnu.boat gnuboat[620]: File ""/usr/bin/gnuboat"", line 194, in main
Aug 25 09:17:26 gnu.boat gnuboat[620]: latitude, longitude, speedThroughWater, speedOverGround, courseOverGround, waterDepth, waterTemperature, gpsFix))
Aug 25 09:17:27 gnu.boat gnuboat[620]: File ""/usr/lib/python2.7/dist-packages/gnuboat/daemon/rrdhandler.py"", line 54, in rrd_update
Aug 25 09:17:27 gnu.boat gnuboat[620]: rrdtool.update(rrdfile, value_string)
Aug 25 09:17:27 gnu.boat gnuboat[620]: rrdtool.error: /var/lib/gnuboat/gnuboat.rrd: illegal attempt to update using time 1503652646 when last update time is 1503654343 (minimum one second step)
}}}"	defect	closed	blocker	0.5.0 (Feature Freeze)	Device Daemon	Unstable	fixed		
