View Single Post
Old 07-01-2012, 10:19 PM   #3
tanstaafl1963
Junior Member
tanstaafl1963 doesn't littertanstaafl1963 doesn't littertanstaafl1963 doesn't litter
 
Posts: 8
Karma: 246
Join Date: Apr 2011
Device: Color Nook
Peter,
Thanks for the quick reply.

I have my library on Z:\SharedFiles\eBooks

If I create a new metadata.db on c:\mybooks

I would set my CALIBRE_OVERRIDE_DATABASE_PATH to be "c:\mybooks", right?

I'm not clear on how to have the books reside on a folder different than the metadata.db. How do I add them?

I made the change to the environment variable, opened Calibre and was told the library database appears to be corrupted. There were/are not books in it. What did I miss?
And now I can't get into Calibre at all. When I select 'Yes' to the rebuild, this is what I get.

calibre, version 0.8.58
ERROR: Failed: Restoring database failed, click Show details to see details

Traceback (most recent call last):
File "site-packages\calibre\library\restore.py", line 112, in run
File "site-packages\calibre\library\restore.py", line 229, in create_cc_metadata
File "site-packages\calibre\library\database2.py", line 197, in __init__
File "site-packages\calibre\library\database2.py", line 145, in connect
File "site-packages\calibre\library\sqlite.py", line 366, in connect
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 248, in run
File "site-packages\calibre\library\sqlite.py", line 225, in connect
OperationalError: unable to open database file
tanstaafl1963 is offline   Reply With Quote