09-15-2010, 09:57 PM | #1 |
Addict
Posts: 316
Karma: 570
Join Date: Apr 2008
Device: Onyx Note Pro, Kobo H20 and iPad
|
Calibre - Invalid Library Error
I just upgraded my OS and I was trying to reimport my library into Calibre but I'm getting this error whenever I try to direct Calibre to my old folder structure. It was on an external drive so nothing changed in that folder when I updated the system. I'm not sure how to get my library to reimport without having to copy my books all over again which will be a major hassle with 1,000+ books.
Here is the error: ERROR: Invalid database: <p>An invalid library already exists at H:/Ebook/Calibre Library, delete it before trying to move the existing library.<br>Error: attempt to write a readonly database RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 175, in run OperationalError: attempt to write a readonly database Traceback (most recent call last): File "site-packages\calibre\gui2\wizard\__init__.py", line 521, in move_library File "site-packages\calibre\library\database2.py", line 144, in __init__ File "site-packages\calibre\library\database2.py", line 181, in initialize_dynamic File "site-packages\calibre\library\sqlite.py", line 211, in run DatabaseException: attempt to write a readonly database RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 175, in run OperationalError: attempt to write a readonly database Any help would be much appreciated. Thanks |
09-15-2010, 11:04 PM | #2 |
creator of calibre
Posts: 43,905
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the metadata.db file in your calibre library folder is set to readonly. Change its permissions back to read/write
|
Advert | |
|
09-18-2010, 12:02 AM | #3 |
Addict
Posts: 316
Karma: 570
Join Date: Apr 2008
Device: Onyx Note Pro, Kobo H20 and iPad
|
Hey, I was away for a few days so I wasn't able to test it out. Thanks for the quick reply. It seems like I was running into that Windows 7 folder permission error where I couldn't remove the read only permission but I moved it to another folder and got my library imported back thank god! I just wanted to say thanks again, Calibre has been an awesome program, keep up the good work.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac | NewDay | ePub | 3 | 10-07-2010 01:47 PM |
Invalid Library Error | Debby | Calibre | 0 | 02-26-2010 11:32 PM |
PRS-900 Help! Invalid Page Error | cbnash | Sony Reader | 5 | 01-26-2010 09:50 AM |
Invalid error type on mac | flhden | Sony Reader | 3 | 01-01-2010 06:42 PM |
Invalid Syntax Error | msprang | Sony Reader | 7 | 11-07-2009 01:11 PM |