View Single Post
Old 09-20-2013, 03:44 AM   #3
tetanos
Junior Member
tetanos began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2013
Device: PTS-T2
Quote:
Originally Posted by kovidgoyal View Post
Try hard resetting your SONY or reformatting the memory,
Again the procedure to avoid the problem:
  1. delete books.db
  2. disconnect the device
  3. wait until the books.db get regenerated
  4. reconnect the device

Actually I need to do this each time I want to use calibre. With the drawback that all notes and settings are lost. This is not reliable.

Quote:
Originally Posted by kovidgoyal View Post
there's no way the code in the driver can cause a corrupted database on a properly functioning device.
This is not true: the database of the SONY device is not corrupt because I can view it with an sqlite viewing tool and the SONY Reader software has no problem to handle the books.db. So they are no reasons why calibre should not be able to handle it.

The only problem is that the database cleanup fails and here the question is why is this cleanup necessary?
Can we skip it? If this is the case then it make sense not to generate an exception on a cleanup failure.

I will do next week try to generate calibre from the sources and investigate more this issue. I will then put my remarks or patch in this forum.
tetanos is offline   Reply With Quote