Happened again, this time a slighty different error, using latest version of calibre (.836)
The way it happened was I deleted a book from device using calibre. Disconnected. Made sure reader was updated afer disconnecting (saw the deleted book disappear from homescreen) then reconnected and error happened again. I will see it if it "fixes itself" again but really strange.
Here is the exact error:
Code:
The SONY database is corrupted. Delete the file /Volumes/READER/Sony_Reader/database/books.db on your reader and then disconnect reconnect it. If you are using an SD card, you should delete the file on the card as well. Note that deleting this file will cause your reader to forget any notes/highlights, etc. Underlying error:
Traceback (most recent call last):
File "site-packages/calibre/devices/prst1/driver.py", line 287, in update_device_books
DatabaseError: database disk image is malformed
Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 81, in run
File "site-packages/calibre/gui2/device.py", line 332, in _books
File "site-packages/calibre/devices/prst1/driver.py", line 162, in books
File "site-packages/calibre/devices/usbms/driver.py", line 242, in books
File "site-packages/calibre/devices/prst1/driver.py", line 241, in sync_booklists
File "site-packages/calibre/devices/prst1/driver.py", line 270, in update_device_database
File "site-packages/calibre/devices/prst1/driver.py", line 297, in update_device_books
DeviceError: The SONY database is corrupted. Delete the file /Volumes/READER/Sony_Reader/database/books.db on your reader and then disconnect reconnect it. If you are using an SD card, you should delete the file on the card as well. Note that deleting this file will cause your reader to forget any notes/highlights, etc. Underlying error:
Traceback (most recent call last):
File "site-packages/calibre/devices/prst1/driver.py", line 287, in update_device_books
DatabaseError: database disk image is malformed