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
#2
This is in reference to: https://www.ventdev.com/forums/showthrea...0#pid11720
"great writers are indecent people, they live unfairly, saving the best part for paper.
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)