I have an application inserting data into a sqlite database. Every so often I get these errors and I don't know why.
DBD::SQLite::st execute failed: database is locked at ...
or
DBD::SQLite::st execute failed: file is encrypted or is not a database
It's doing a bunch of inserts but sometimes it fails like this.