Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2014, 02:47 AM   #1
karimnaguib
Junior Member
karimnaguib began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2013
Device: N/A
Unhappy Database Corrupted

I was recently working on a Calibre Portable Version on my external hard disk, the hard disk cable was disconnected while working on Calibre.

The next time I opened Calibre, this error shows up on startup:

calibre, version 1.34.0
تلف قاعدة البيانات: The library database at G:\Calibre Portable extra\Calibre Library extra appears to be corrupted. Do you want calibre to try and rebuild it automatically? The rebuild may not be completely successful. If you say No, a new empty calibre library will be created.

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 249, in initialize_db
File "site-packages\calibre\db\legacy.py", line 70, in __init__
File "site-packages\calibre\db\legacy.py", line 44, in create_backend
File "site-packages\calibre\db\backend.py", line 375, in __init__
File "site-packages\calibre\db\backend.py", line 382, in initialize_prefs
File "site-packages\calibre\db\backend.py", line 74, in __init__
File "site-packages\calibre\db\backend.py", line 78, in load_from_db
File "site-packages\calibre\db\backend.py", line 278, in get
File "c:\cygwin\home\kovid\sw\build\apsw-3.7.17-r1\src\cursor.c", line 231, in resetcursor
CorruptError: CorruptError: database disk image is malformed



I tried restoring but I get this error after 2 hours:

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

Any help with this ?
I have been working on this library for 2 years now and a lot of books, around 6000+
I really cannot afford to re-enter all this data.
karimnaguib is offline   Reply With Quote
Old 05-12-2014, 03:16 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,022
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
shutdown your antivirus and make sure no other program is accessing the calibre library. move the library onto an internal disk. Repair it, and move it back.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-12-2014, 09:19 AM   #3
karimnaguib
Junior Member
karimnaguib began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2013
Device: N/A
Thank you a million, worked only by closing my antivirus and restoring !

Last edited by karimnaguib; 05-12-2014 at 09:21 AM. Reason: misspelling
karimnaguib is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted database Qylie Calibre 8 08-28-2014 02:02 AM
Corrupted Database chilady1 Library Management 20 11-12-2013 08:13 PM
Help! Corrupted database problem Marok Library Management 12 06-24-2013 09:01 AM
Corrupted database garyft Calibre 3 05-13-2011 02:10 PM
Grrr... Corrupted Database PeterT Kobo Reader 4 01-09-2011 10:36 PM


All times are GMT -4. The time now is 05:53 AM.


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