Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Game fails to save if database is locked, but doesn't notify user
#1
See for example lines 30904 to 30912:

14:57:48:
Attempting to save database
14:57:48: Pending:

14:57:48:
Exception Occured saving db.
file: C:\Users\gc\programming\Kompex-SQLite-Wrapper\src\KompexSQLiteDatabase.cpp
line number: 423
error: database is locked

In this case the database was locked because another program had a connection to the database open.  Probably not a problem for an average user, just for modders.

More concerning is that the UI didn't provide any notice of the failure to save, including for a manual save.  It should succeed in 99.99% of cases, but since this is a game that can be played for long sessions, I'd rather know if there's an issue saving than find out the hard way that my progress was lost in that 0.01%.


Attached Files
.log   Logfile - Error Saving DB.log (Size: 4.44 MB / Downloads: 0)
Reply


Messages In This Thread
Game fails to save if database is locked, but doesn't notify user - by JC_Denton - 04-26-2026, 02:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)