![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 316
Karma: 570
Join Date: Apr 2008
Device: Onyx Note Pro, Kobo H20 and iPad
|
![]()
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 |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
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 | |
|
![]() |
#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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |