leech
leech copied to clipboard
Failed: Attempt to write to a readonly database
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.