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 10-26-2011, 10:12 PM   #1
jjansen
J
jjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 156
Karma: 12590
Join Date: Mar 2009
Location: Canada
Device: SONY PRS 505/300, iRex DR800SG, Nook
Corrupt database

I just upgraded to 8.23 from 8.18 or 8.19 and can no longer open my database. When I start Calibre I get the message The library database at c:\...... appears to be corrupted. When I run the restore I get a message that the Restoring database failed. I have about 4,000 books in my library. I am including the detailed messages and my actual metadata file hoping to save time if anyone has any ideas.

The library database at c:\...... appears to be corrupted.
Spoiler:
calibre, version 0.8.23
Corrupted database: The library database at C:\Users\jjansen\Documents\My eBooks 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 489, in library_moved
File "site-packages\calibre\library\database2.py", line 218, in __init__
File "site-packages\calibre\library\database2.py", line 227, in initialize_dynamic
File "site-packages\calibre\library\prefs.py", line 21, in __init__
File "site-packages\calibre\library\sqlite.py", line 314, in run
DatabaseException: database disk image is malformed
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 271, in run
File "site-packages\calibre\library\sqlite.py", line 172, in get
DatabaseError: database disk image is malformed


Restoring database failed
Spoiler:
calibre, version 0.8.23
ERROR: Failed: Restoring database failed, click Show details to see details

Traceback (most recent call last):
File "site-packages\calibre\library\restore.py", line 108, in run
File "site-packages\calibre\library\restore.py", line 245, in replace_db
WindowsError: [Error 32] The process cannot access the file because it is being used by another process


Any and all help appreciated...................Jackie
Attached Files
File Type: zip metadata.zip (2.59 MB, 52 views)
jjansen is offline   Reply With Quote
Old 10-26-2011, 11:11 PM   #2
jjansen
J
jjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 156
Karma: 12590
Join Date: Mar 2009
Location: Canada
Device: SONY PRS 505/300, iRex DR800SG, Nook
More info on corrupt issue. I tried going back to 8.21 - no difference. The last change I made to my database at 8.18 (8.19?) was to batch reconvert nearly all the PDF files in my library to epub. The pdf conversion tool is much better than it was when I first converted a lot of my book a few years ago. Since I hadn't changed the structure or file names at all (dates would have changed) I tried using the old metadata.db file with the database that had been reconverted. I still got the corrupt error. I then tried to open the original database, prior to my batch conversion and it opened fine. This tells me that it isn't the metadata.db file. What else is examined that might cause the corrupt database issue?
jjansen is offline   Reply With Quote
 
Advertisement
Old 10-26-2011, 11:17 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,292
Karma: 6022733
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
the second error in the first post says some program is accessing the DB.
Exclude the Calibre Library folder from realtime A/V scanning (the contents have already been scanned when adding)

I suggest a reboot.

BTW All files in the Library folder need Read/Write access
A restore from CD may have left them Read only.,
theducks is offline   Reply With Quote
Old 10-27-2011, 12:44 AM   #4
jjansen
J
jjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterjjansen can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 156
Karma: 12590
Join Date: Mar 2009
Location: Canada
Device: SONY PRS 505/300, iRex DR800SG, Nook
I did try to reboot and then start Calibre straight away. I still received the same errors. I just checked and reset my attributes and they look fine. I am using an A/V from my ISP and I didn't see an option to omit any folders but, as far as I can tell, nothing has changed there and I can access a slightly older version of my library.
jjansen is offline   Reply With Quote
Old 10-27-2011, 12:51 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,909
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by jjansen View Post
I just upgraded to 8.23 from 8.18 or 8.19 and can no longer open my database. When I start Calibre I get the message The library database at c:\...... appears to be corrupted. When I run the restore I get a message that the Restoring database failed.
Follow what Kovid outlines in this thread to restore your database.
DoctorOhh 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
Calibre Database cp Kindle Database mitch13 Library Management 1 05-22-2011 08:33 PM
Corrupt database message error: Disk is Full? Debby Calibre 3 03-09-2011 04:23 PM
corrupt database, (powercut), possible solution Perkin Calibre 7 09-20-2010 12:01 AM
Sony PRS 505 Database Corrupt the_callant Calibre 3 04-08-2009 10:41 PM
Unutterably Silly Corrupt-a-Saying radioflyertoo Lounge 10 10-28-2008 04:20 PM


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


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