View Single Post
Old 09-20-2013, 07:57 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh.

Let me spell it out for you:

The error you are getting is database disk image is malformed

That error means that sqlite thinks the database is corrupted

That cannot happen if a query fails because of a property of sqlite known as ACID, which means that no matter what failure occurs during a query, the database on disk cannot be corrupted, unless a filesystem operation fails.

Therefore, the only way that you can get that error is through one of the two following scenarios:

1) A bug in sqlite
2) A bug in the filesystem layer that accesses the db on your device

Neither of those are bugs in the t1 driver.

And just by the by, I did not write the t1 driver, nor do I maintain it. I am just trying to help you avoid wasting time looking for problems in the wrong place. But I'm done helping you, all the best in your endeavors.
kovidgoyal is offline   Reply With Quote