View Single Post
Old 07-25-2011, 11:36 AM   #1
RSaunders
Groupie
RSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it isRSaunders knows what time it is
 
Posts: 162
Karma: 2054
Join Date: Jan 2007
Device: Sony PRS-500
Kobo error: database disk image is malformed

I have a new Kobo. I hooked it up with calibre 0.8.5 and had a problem with an ePub book rendering badly. Today I upgraded to 0.8.11, to make sure it wasn't a bug that had been fixed.

Now I can't even connect to it. I get the following log from calibre in debug mode:

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/kobo/driver.py", line 249, in books
DatabaseError: database disk image is malformed

calibre Debug log
calibre 0.8.11
Darwin-10.8.0-i386-64bit
Darwin
('Darwin', '10.8.0', 'Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386')
Python 2.7.1
OSX: ('10.6.8', ('', '', ''), 'i386')
Starting up...
Started up in 14.3435781002
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 Version of firmware: 1.9 Has kepubs: True
DEBUG: 0.0 Database Version: 14
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 1 Get device information finished
No details available.
Job: 2 Get list of books on device finished
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/kobo/driver.py", line 249, in books
DatabaseError: database disk image is malformed

========== end of log =========

It's a new device, I don't have a lot of data invested in it, so I can reformat it if that's the next step. I just don't know what went wrong. I've always quit calibre before unmounting the device and I've always unmounted it before unpluging it. I've even rebooted my computer, in case it was some I/O glitch. No change. The Borders app does work, though it does so little that it's not saying much.

What's this error message telling me? What's the next step?? Should I just be using an SD card, so that calibre doesn't have to manage the device's file system? Calibre's always worked so well on my Sony ...
RSaunders is offline   Reply With Quote