View Single Post
Old 09-15-2010, 09:57 PM   #1
junkyardwillie
Addict
junkyardwillie will become famous soon enoughjunkyardwillie will become famous soon enoughjunkyardwillie will become famous soon enoughjunkyardwillie will become famous soon enoughjunkyardwillie will become famous soon enoughjunkyardwillie will become famous soon enough
 
junkyardwillie's Avatar
 
Posts: 316
Karma: 570
Join Date: Apr 2008
Device: Onyx Note Pro, Kobo H20 and iPad
Exclamation 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
junkyardwillie is offline   Reply With Quote