View Single Post
Old 08-27-2012, 03:54 PM   #1
wladdy
Enthusiast
wladdy began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
Unable to open database file

Whenever I try to update any piece of metadata in any of my books, I get the following error message:

Quote:
calibre, version 0.8.66
ERROR: Failed to set data: Could not set data, click Show Details to see why.

Traceback (most recent call last):
File "site-packages/calibre/gui2/library/models.py", line 872, in setData
File "site-packages/calibre/gui2/library/models.py", line 940, in _set_data
File "site-packages/calibre/library/database2.py", line 2124, in set
File "site-packages/calibre/library/database2.py", line 2392, in set_authors
File "site-packages/calibre/library/database2.py", line 2335, in _set_authors
File "site-packages/calibre/library/sqlite.py", line 314, in run
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 271, in run
OperationalError: unable to open database file
Furthermore, whenever I click on 'Click to open' button next to 'Path:", nothing happens. However, if I double-click on a given book in the main lister, it does open.

Finally, when I do Library Maintenance/Check library, I simply get no response, as if I had pressed on nothing.

It seems like I got a serious database issue, but I have not idea how to fix it. Any help would be greatly appreciated. Thanks in advance. W.

PS - I am running version 0.8.66 on Mac OS X Mountain Lion.
wladdy is offline   Reply With Quote