|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Junior Member
![]() 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" |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
![]() |
|
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 |