View Single Post
Old 12-03-2010, 04:38 AM   #1
PassedPawn
Junior Member
PassedPawn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: Sony PRS-300BC
Calibre can't work with prior Calibre library.

Sounds a little confusing, I know.

What happened is that a recent AVG update trashed my Vista installation, so I had to reinstall Windows and all my other stuff during the last couple of days. My ebook library is located on an external hard drive which worked fine with Calibre. After installing Calibre 0.7.31, the Welcome Wizard asked for a folder to use for ebooks and I tried to set it to my original ebook folder that contains books. The error Calibre reported is this:

ERROR: Bad location: You must choose an empty folder for the calibre library. F:\Storage\Downloads\eBooks is not empty.

After finally getting Calibre to run and trying to point it to my original ebook directory, it reported this error:

ERROR: Invalid database: <p>An invalid library already exists at F:\Storage\Downloads\eBooks, 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 196, in run
OperationalError: attempt to write a readonly database

Traceback (most recent call last):
File "site-packages\calibre\gui2\wizard\__init__.py", line 551, in move_library
File "site-packages\calibre\library\database2.py", line 133, in __init__
File "site-packages\calibre\library\database2.py", line 175, in initialize_dynamic
File "site-packages\calibre\library\sqlite.py", line 232, in run
DatabaseException: attempt to write a readonly database
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 196, in run
OperationalError: attempt to write a readonly database


Is there a way to salvage my ebook directory setup or do I have to copy each book from each subdirectory, that Calibre created before the reinstall, somewhere else and then add them to Calibre from anther directory?

Last edited by PassedPawn; 12-03-2010 at 04:40 AM.
PassedPawn is offline   Reply With Quote