IMPORTANT UPDATE
Sorry about this - It looks like a bad day. If you had an earlier install of ACC results Companion (V1.4.0 and earlier), the upgrade scripts were in the wrong order causing errors on the first run. If you have installed V1.5.0, 1.5.1 or 1.5.2, these all have this issue.
V1.5.4 should fix the database and remove the errors
If you have gone straight from V1.4.0 to V1.5.3, this won't have the issue.
Sorry for the inconvenience
Doug
Oh perhaps this startup database error is related to my issue ?
To get the full picture, update from 1.4.0 to 1.5.0 (didn't pay attention to error in logs as it was launching fine) then saw the invalidated lap error.
sent the requested export
then I just update to 1.5.4
I've got this error in logs at first launch :
2020-03-28 16:45:59 INFO ResultsDB.runSqlStatements : Altering table car_def
2020-03-28 16:45:59 INFO ResultsDB.runSqlStatements : ==> ALTER TABLE car_def ADD COLUMN car_class VARCHAR
2020-03-28 16:45:59 ERROR ResultsDB.runSqlStatements : Error running SQL SQL logic error
duplicate column name: car_class
at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at ACCResults.DBModel.LoggingSQLiteCommand.ExecuteNonQuery()
at ACCResults.ResultsDB.runSqlStatements(String logMessage, String[] sqlStatements, String[] parameterNames, Object[] parameters)
session shows the same error (no invalidated lap) but seems normal as it came from the database and I didn't replay the session.
second launch of 1.5.4 shows no error in logs
session still with all valid laps. delete session and replay from backup. still all valid laps.