leech icon indicating copy to clipboard operation
leech copied to clipboard

Failed: Attempt to write to a readonly database

Open mrothbart opened this issue 4 years ago • 0 comments

When creating an ebook with lots of chapters (Wandering Inn, TGaB, Heretical Edge, etc) there will be intermittant fails with the SQLite DB. Rerunning the script fixes it for a bunch of chapters but it can fail again, needing a rerun. It likely has something to do with the download and write speed, and database locks.

Add in a .1 second delay on DB writes to prevent locking and collision fails?

This is in powershell. WSL worked fine on first try.

mrothbart avatar Sep 09 '20 10:09 mrothbart