Hi Doug, Just update to 1.9.2
Yesterday I reverted ARC so starting database is 1.9.0. After changing track year from one session (Misano from 2019 to 2020), logs gives me errors.
After restart, logs still shows errors.
Result statistics tab is now empty.
edit : looking at backups tab shows some result tagged as unknown for "track/current event"
seems only related to hotstint session from ACC 1.6,
edit2: these hotstint sessions are correctly displayed in sessions tab.
Yesterday I reverted ARC so starting database is 1.9.0. After changing track year from one session (Misano from 2019 to 2020), logs gives me errors.
After restart, logs still shows errors.
Result statistics tab is now empty.
edit : looking at backups tab shows some result tagged as unknown for "track/current event"
seems only related to hotstint session from ACC 1.6,
edit2: these hotstint sessions are correctly displayed in sessions tab.
Code:
[00000001] 2020-11-22 09:44:17 DEBUG OLVControlResultStats.UpdateResultStats : Updating result stats for Track , car , isOnline
[00000001] 2020-11-22 09:44:17 ERROR ResultsDB.getResultStats : Error getting raw result statistics Specified cast is not valid.
at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
at System.Data.SQLite.SQLiteDataReader.GetString(Int32 i)
at ACCResults.ResultsDB.getResultStats(String trackId, Int32 carModelId, Int32 isOnline, Boolean aggregateByTrack, Boolean aggregateByCar, Boolean aggregateByOnline) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDB.cs:line 5074
Caused by :
at ACCResults.ResultsDB.getResultStats(String trackId, Int32 carModelId, Int32 isOnline, Boolean aggregateByTrack, Boolean aggregateByCar, Boolean aggregateByOnline) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDB.cs:line 5122
at ACCResults.OLVHelpers.OLVControlResultStats.UpdateResultStats() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\OLVHelpers\OLVControlResultStats.cs:line 96
at ACCResults.TabControls.TabControlResultStats.UpdateResultStats() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\TabControls\TabControlResultStats.cs:line 84
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at ACCResults.Program.Main() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\Program.cs:line 19
Last edited: