View Single Post
Old 06-17-2011, 11:36 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,109
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by itsmattxp View Post
I just recently moved my library to a new directory to keep my books more organized. After I moved the library, all the files were in the designated folder but being the neat freak I am I renamed the folder. Afterwards, all my books don't show up in calibre, however, all the files are still in the folder. I tried to restore my database through calibre library options but I get the message:

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

Traceback (most recent call last):
File "site-packages\calibre\library\restore.py", line 102, in run
File "site-packages\calibre\library\restore.py", line 187, in create_cc_metadata
File "site-packages\calibre\library\database2.py", line 189, in __init__
File "site-packages\calibre\library\database2.py", line 138, in connect
ValueError: Path to library too long. Must be less than 75 characters.

You did read the sticky?
https://www.mobileread.com/forums/sho...54&postcount=1
The only folder you can rename is the folder that contains all the 'author' folders and Metadata.db

To recover from that change, you simply use the small arrow on the Library Icon and switch/Create to the new folder.

If you tampered with the other folders and files:
theducks is offline   Reply With Quote