Code review comment for lp://qastaging/~tkluck/simple-scan/autosaves

Revision history for this message
Robert Ancell (robert-ancell) wrote :

That fixes that error, but still not books being restored.

I am running the following:
1. $ simple-scan test -d
2. Pressing scan
3. Killing simple-scan with ctrl-C (or killall simple-scan)
4. $ simple-scan

No pages are restored.

Can you add some debugging messages that note what the the autosave manager is doing? I would expect to see the following in the log

"Restoring book with 5 pages"
"No book to restore"
"Failed to restore book: Error Sqlite.ERROR when getting pages"
"Autosaving book to ~/.cache/simple-scan/autosaves/autosaves.db"

« Back to merge proposal