Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 11:03 AM   #1
wtx
Junior Member
wtx began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2026
Device: Boox Go7
calibre 9.6 bug -- unable to restore a library due to access violation of metadata.db

I was currently trying calibre version 9.6 on Windows: First, I got the message that my library was corrupt. Followed, after a library restore attempt, with the message that the library could not have been restored due to an access violation of metadata.db. However, process explorer showed that this file was actually already opened by calibre.exe and was thus unavailable to the external python script. The solution (for a calibre library at "P:\Apps\Calibre\Library"):

(1) Close all "Calibre" processes

(2) Open Windows explorer and select the program root path (e.g. "C:\Program Files\Calibre2")

(3) Open a terminal window within this folder (e.g. via "cmd.exe")

(4) Execute: calibredb restore_database --really-do-it --with-library "P:\Apps\Calibre\Library"
wtx is offline   Reply With Quote
Old Yesterday, 11:05 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,759
Karma: 152504945
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You don't need to open a terminal to do a restore. You can easily do it from the GUI.
JSWolf is offline   Reply With Quote
Advert
Old Yesterday, 11:12 AM   #3
theducks
Well trained by Cats
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: 31,664
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
And where is P:
I suspect it is not a 100% local attached drive.
https://manual.calibre-ebook.com/faq...rked-drive-nas
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not restore corrupted library due to NotADirectoryError hinyarii Library Management 3 06-04-2024 11:39 AM
Unable to restore backup from Google drive in Moonreader pro due to blocked access archz2 Android Devices 0 05-12-2024 11:32 AM
Unable to access purchase history due to a server error Nascarfan1972 Kobo Reader 1 09-01-2015 12:36 PM
[bug] Unable to edit metadata, due to « TypeError: … … unexpected type 'Cover' » zouhzouh Calibre 4 03-04-2015 10:55 PM
Unable to access Sony ebook Library troutqueen Sony Reader 0 08-26-2009 04:32 PM


All times are GMT -4. The time now is 10:57 PM.


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