Hi Doug!
thanks for your great work!
I tgink i have the same problem as mentioned some question above..
couldnt write new sessions to db.
dont know why your Db savefolder is mentioned...:
[00000008-00,2|19,6] 2022-04-22 23:58:53 ERROR LoggingSQLiteCommand.ExecuteNonQuery : INSERT INTO session_drivers (session_id, car_id, driver_id, driver_first_name, driver_last_name, driver_short_name, driver_player_id, player_name, category, nationality, steam_id, moniker) VALUES (@session_id, @car_id, @driver_id, @driver_first_name, @driver_last_name, @driver_short_name, @driver_player_id, @player_name, @category, @nationality, @steam_id, @moniker)
@session_id=14d1e8ec-dd14-465c-a04a-2ec423e1df3f
@car_id=0
@driver_id=0
@driver_first_name=Carsten
@driver_last_name=steve
@driver_short_name=PLY
@driver_player_id=1
@player_name=$PLAYER_NAME$
@category=Platinum
@nationality=Germany
@steam_id=
@moniker=
[0000000F-00,2|19,6] 2022-04-22 23:58:53 DEBUG ARCSharedMemoryMonitor.buildSeason : *** SHM Santity check - Season Updated 2022-04-19 22:27:46, Track monza
[00000008-00,2|19,6] 2022-04-22 23:58:53 ERROR ResultsDBWriter.storeSessionLeaderBoard : Error saving leaderboard for session 14d1e8ec-dd14-465c-a04a-2ec423e1df3f - unable to open database file
unable to open database file
bei ACCResults.DBModel.LoggingSQLiteCommand.ExecuteNonQuery() in
E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\LoggingSQLiteCommand.cs:Zeile 63.
bei ACCResults.DBModel.ResultsDBWriter.storeSessionLeaderBoard(SQLiteTransaction myTrans, ACCResultsFile session, ACCLeaderBoardLine leaderBoard, Int32 currentPosition) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 513.
Caused by :
bei ACCResults.DBModel.ResultsDBWriter.storeSessionLeaderBoard(SQLiteTransaction myTrans, ACCResultsFile session, ACCLeaderBoardLine leaderBoard, Int32 currentPosition) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 513.
bei ACCResults.DBModel.ResultsDBWriter.processIndividualSessionDB(SQLiteTransaction myTrans, ACCResultsFile session, ACCSeason season, Boolean storeInDb, Boolean serialiseSessionToFile, Boolean serverFile, Int32 playerCarId, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 343.
bei ACCResults.DBModel.ResultsDBWriter.processSessionDB(ACCResultsFile session, ACCSeason season, Boolean storeInDb, Boolean serialiseSessionToFile, Boolean serverFile, Int32 playerCarId, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 138.
bei ACCResults.DBModel.DBWriterTask.DequeueAndProcessRequest() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 417.
bei ACCResults.DBModel.DBWriterTask.ProcessDbRequest() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 383.
bei ACCResults.DBModel.DBWriterTask.ProcessDbRequests() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 333.
bei ACCResults.DBModel.DBWriterTask.WriterTask() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 304.
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
[0000000F-00,2|19,6] 2022-04-22 23:58:53 BROADCAST** ACCBroadcastInterface.ResetSession : Clearing all maps for new session
[00000008-00,2|19,6] 2022-04-22 23:58:53 DEBUG ResultsDBWriter.processIndividualSessionDB : Setting player race # as 0 with car Id 0
[0000000F-00,2|19,6] 2022-04-22 23:58:53 BROADCAST BroadcastingViewModel.ClearCars : [Conn 1 : 8f68d1bd-5b68-4a9e-bf80-3cc87654c833]: Clearing 1 cars from the BroadcastVM
[00000008-00,2|19,6] 2022-04-22 23:58:53 ERROR LoggingSQLiteCommand.ExecuteNonQuery : INSERT INTO session_def (session_id, track_id, session_date_time, season_id, date_hour, date_minute, race_day, time_multiplier, session_duration, round, session_type, round, session_type, is_wet_session, type_id, manually_added, event_online_reference, total_time, lap_count, session_position, ideal_line_grip, outside_line_grip, marbles_level, puddles_level, wet_dry_line_level, wet_level, ambient_temperature, road_temperature, wind_speed, wind_direction, cloud_level, rain_level, is_dynamic, ambient_temperature_mean, player_race_number, is_online, player_ecu_mode, recorded_by, peak_acceleration, max_speed, fuel_per_lap, position_start_session, dry_tyre_name, wet_tyre_name, replay_start_time, pre_session_time ) VALUES(@session_id, @track_id, @session_date_time, @season_id, @date_hour, @date_minute, @race_day, @time_multiplier, @session_duration, @round, @session_type, @round, @session_type, @is_wet_session, @type_id, @manually_added, @event_online_reference, @total_time, @lap_count, @session_position, @ideal_line_grip, @outside_line_grip, @marbles_level, @puddles_level, @wet_dry_line_level, @wet_level, @ambient_temperature, @road_temperature, @wind_speed, @wind_direction, @cloud_level, @rain_level, @is_dynamic, @ambient_temperature_mean, @player_race_number, @is_online, @ecu_mode, @recorded_by, @peak_acceleration,
@max_speed, @fuel_per_lap, @position_start_session, @dry_tyre_name, @wet_tyre_name, @replay_start_time, @pre_session_time )
@session_id=14d1e8ec-dd14-465c-a04a-2ec423e1df3f
@track_id=paul_ricard_2021
@session_date_time=2022-04-22 23:56:43
@season_id=14d1e8ec-dd14-465c-a04a-2ec423e1df3f
@date_hour=16
@date_minute=41
@race_day=0
@time_multiplier=0
@session_duration=0
@round=0
@session_type=11
@is_wet_session=0
@type_id=0
@manually_added=2
@event_online_reference=-1
@total_time=-1
@lap_count=1
@session_position=1
@ideal_line_grip=0
@outside_line_grip=0
@marbles_level=0
@puddles_level=0
@wet_dry_line_level=0
@wet_level=0
@ambient_temperature=18,0
@road_temperature=30,0
@wind_speed=1,6739612478920741989881956155
@wind_direction=0,0
@cloud_level=0,30000001192092898
@rain_level=0,0
@is_dynamic=0
@ambient_temperature_mean=24,0
@is_online=0
@ecu_mode=0
@recorded_by=UDP
@peak_acceleration=0
@max_speed=0
@fuel_per_lap=0
@position_start_session=0
@dry_tyre_name=DHE
@wet_tyre_name=WH
@replay_start_time=2022-04-22 23:14:18
@pre_session_time=2022-04-22 23:18:50
@player_race_number=75
[0000000F-00,2|19,6] 2022-04-22 23:58:53 DEBUG ARCSharedMemoryMonitor.isAccLive : ACC Status changed. Was ACC_PAUSE, now ACC_OFF
[00000008-00,2|19,6] 2022-04-22 23:58:53 ERROR ResultsDBWriter.storeSessionDetails : Error storing session 14d1e8ec-dd14-465c-a04a-2ec423e1df3f - unable to open database file
unable to open database file
bei ACCResults.DBModel.LoggingSQLiteCommand.ExecuteNonQuery() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\LoggingSQLiteCommand.cs:Zeile 63.
bei ACCResults.DBModel.ResultsDBWriter.storeSessionDetails(SQLiteTransaction myTrans, ACCResultsFile session, ACCSeason season, ACCLeaderBoardLine currentLeaderBoard, Dictionary`2 carIdModels, Int32 playerRaceNumber, Int32 sessionPosition, Boolean serverFile, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 780.
Caused by :
bei ACCResults.DBModel.ResultsDBWriter.storeSessionDetails(SQLiteTransaction myTrans, ACCResultsFile session, ACCSeason season, ACCLeaderBoardLine currentLeaderBoard, Dictionary`2 carIdModels, Int32 playerRaceNumber, Int32 sessionPosition, Boolean serverFile, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 780.
bei ACCResults.DBModel.ResultsDBWriter.processIndividualSessionDB(SQLiteTransaction myTrans, ACCResultsFile session, ACCSeason season, Boolean storeInDb, Boolean serialiseSessionToFile, Boolean serverFile, Int32 playerCarId, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 381.
bei ACCResults.DBModel.ResultsDBWriter.processSessionDB(ACCResultsFile session, ACCSeason season, Boolean storeInDb, Boolean serialiseSessionToFile, Boolean serverFile, Int32 playerCarId, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 138.
bei ACCResults.DBModel.DBWriterTask.DequeueAndProcessRequest() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 417.
bei ACCResults.DBModel.DBWriterTask.ProcessDbRequest() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 383.
bei ACCResults.DBModel.DBWriterTask.ProcessDbRequests() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 333.
bei ACCResults.DBModel.DBWriterTask.WriterTask() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 304.
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
[0000000F-00,2|19,6] 2022-04-22 23:58:53 DEBUG ARCSharedMemoryMonitor.isAccLive : No ACC session active
[00000008-00,2|19,6] 2022-04-22 23:58:53 ERROR FileUtils.serialiseSessionToFile : Error writing out backup files for Hotlap with car BMW M4 GT3 at track paul_ricard_2021 : Die Datei "C:\Users\carsc\Documents\ACCResults\Backup\Config\seasonEntity.BMW M4 GT3_paul_ricard_2021_Hotlap_14d1e8ec-dd14-465c-a04a-2ec423e1df3f.json" konnte nicht gefunden werden.
bei ACCResults.FileUtils.serialiseSessionToFile(ACCResultsFile session, ACCSeason season, String carName) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\Utilities\FileUtils.cs:Zeile 1313.
bei ACCResults.DBModel.ResultsDBWriter.processIndividualSessionDB(SQLiteTransaction myTrans, ACCResultsFile session, ACCSeason season, Boolean storeInDb, Boolean serialiseSessionToFile, Boolean serverFile, Int32 playerCarId, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 412.
bei ACCResults.DBModel.ResultsDBWriter.processSessionDB(ACCResultsFile session, ACCSeason season, Boolean storeInDb, Boolean serialiseSessionToFile, Boolean serverFile, Int32 playerCarId, Boolean enrichPlayerLaps) in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\ResultsDBWriter.cs:Zeile 138.
bei ACCResults.DBModel.DBWriterTask.DequeueAndProcessRequest() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 417.
bei ACCResults.DBModel.DBWriterTask.ProcessDbRequest() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 383.
bei ACCResults.DBModel.DBWriterTask.ProcessDbRequests() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 333.
bei ACCResults.DBModel.DBWriterTask.WriterTask() in E:\Users\Doug\OneDrive\Documents\Doug's Documents\VS Projects\TestApp\TestApp\DBModel\DBWriterTask.cs:Zeile 304.
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()