Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2012, 01:22 PM   #1
smarties86
Junior Member
smarties86 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2010
Device: Calibre
[Old Thread] Corrupted library database

Hello, I've been pulling my hair out trying to figure this out but I'm clearly stuck. I use calibre, with the books stored on a SD card so I can move between computers if need to be. For a while, I've been only using it on my desktop perfectly fine; couple of days ago, I tried to use it on my netbook and every time I try to load the library from the SD card, it keeps telling me that the library is corrupted and need to rebuild. When I try to say yes, it takes forever and at the end it says it was unsuccessful.

So I thought oh no, I didn't make any backup of the library, and I opened it up in my desktop, and my desktop had no problem opening it...

The message I got on my netbook is this:

calibre, version 0.8.66
Corrupted database: The library database at E:\SDHC appears to be corrupted. Do you want calibre to try and rebuild it automatically? The rebuild may not be completely successful.

Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 538, in library_moved
File "site-packages\calibre\library\database2.py", line 229, in __init__
File "site-packages\calibre\library\database2.py", line 358, in initialize_dynamic
File "site-packages\calibre\library\sqlite.py", line 314, in run
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 271, in run
OperationalError: unable to open database file


any advice how to go about this issue???

Thanks so much for the help!!!!
S
smarties86 is offline   Reply With Quote
Old 09-02-2012, 03:45 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,722
Karma: 40387231
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Two questions:

1. Why don't you have a backup of your Calibre library? Isn't it worth anything to you? SD cards aren't exactly the most reliable storage medium.

2. Are you sure that the netbook is trying to open the library in the right location? Try using the "Switch Library" menu item to open it manually.
HarryT is online now   Reply With Quote
 
Enthusiast
Old 09-02-2012, 06:30 AM   #3
banjomike
Addict
banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.
 
banjomike's Avatar
 
Posts: 300
Karma: 392216
Join Date: Aug 2009
Location: UK
Device: PRS-505 Red,DSlibris,nook Glow,nook Simple rooted,nook HD+,Moon+,Zinio
I would first try to drag/drop the entire library folder from the SD card onto a proper hard disk.

Twice.

Use one of the copies for your rebuilding and the other might be a partial backup of individual books.
banjomike is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The SONY database is corrupted tetanos Devices 10 09-22-2013 04:39 AM
Help! Corrupted database problem Marok Library Management 12 06-24-2013 09:01 AM
[Old Thread] Calibre database keeps getting corrupted on Win 7 - help!?! jer989 Calibre 17 01-01-2013 03:36 PM
Corrupted database Qylie Calibre 5 08-29-2011 05:49 PM
Corrupted database garyft Calibre 3 05-13-2011 02:10 PM


All times are GMT -4. The time now is 01:12 AM.


MobileRead.com is a privately owned, operated and funded community.