View Single Post
Old 09-07-2010, 06:54 PM   #1
ciscoswitch
Enthusiast
ciscoswitch began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Sep 2009
Device: Kindle
Calibre Mac & Windows (Corrupted Database)

Hi,

I have Calibre 0.7.17 installed on my Windows 7 (64-bit machine) and on my Mac (OS X Snow Leopard). I used the Mac to add books into the library (it's a shared library on one of my servers). Everything worked fine, then I closed out of Calibre on the Mac, and loaded Calibre on my PC. It opened and ran just fine, however if I add a book, or edit or convert a book, on the PC, then close calibre and go back to my Mac, it says The Database is corrupted and won't start up. Even if I tell it to fix the problem, it says failed. However I can start calibre on the PC or any other PC on my network and it works just fine.

Here's the Details when it tries to open:

Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 205, in initialize_db
File "site-packages/calibre/library/database2.py", line 140, in __init__
File "site-packages/calibre/library/database2.py", line 108, in connect
File "site-packages/calibre/library/sqlite.py", line 263, in connect
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 152, in run
File "site-packages/calibre/library/sqlite.py", line 133, in connect
OperationalError: unable to open database file


Here's the details when I select Yes to repair:

Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 127, in run
File "site-packages/calibre/debug.py", line 49, in reinit_db
File "site-packages/calibre/library/sqlite.py", line 263, in connect
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 152, in run
File "site-packages/calibre/library/sqlite.py", line 133, in connect
OperationalError: unable to open database file

I checked the permissions, and everything looks fine as far as permissions. Any ideas?
ciscoswitch is offline   Reply With Quote