|
|
#1 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Kindle
|
Issue Restoring Database from OPF
I am getting this error while trying to run "calibredb restore_database --really-do-it". Calibre v8.12. Restore seems to be creating this folder dynamically. Should I delete the folder right after it's created to see if it can be written again?
I'm having this issue: * Starting restoring preferences and column metadata ... 0% Traceback (most recent call last): File "calibre\db\restore.py", line 176, in load_preferences File "calibre\db\restore.py", line 56, in __init__ File "calibre\db\backend.py", line 509, in __init__ File "calibre\db\backend.py", line 1458, in user_version File "calibre\db\backend.py", line 1162, in conn File "calibre\db\backend.py", line 372, in __init__ apsw.CantOpenError: unable to open database file Restoring preferences and column metadata failed ... 0% Exception ignored in: <function Cache.__del__ at 0x0000026E66B5FBA0> Traceback (most recent call last): File "calibre\db\cache.py", line 2817, in __del__ File "calibre\db\cache.py", line 2836, in close AttributeError: 'Restorer' object has no attribute 'write_lock' Exception ignored in: <function Cache.__del__ at 0x0000026E66B5FBA0> Traceback (most recent call last): File "calibre\db\cache.py", line 2817, in __del__ File "calibre\db\cache.py", line 2836, in close AttributeError: 'Restorer' object has no attribute 'write_lock' Restoring database failed with error: Traceback (most recent call last): File "calibre\db\restore.py", line 152, in run File "calibre\db\restore.py", line 280, in create_cc_metadata File "calibre\db\restore.py", line 56, in __init__ File "calibre\db\backend.py", line 506, in __init__ File "os.py", line 225, in makedirs FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'R:\\_shared\\dspm1yn1_rlib' |
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2025
Device: Kindle
|
I deleted the dynamic folder right after it was created, which allowed it to be recreated at the correct time, and the restore completed successfully. This appears to be a bug.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,198
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Where is your R: drive located? Local hard drive, local USB drive, NAS, cloud storage?
|
|
|
|
![]() |
| Tags |
| calibre 8.12, database restore |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems after restoring database | Serguei | Library Management | 1 | 01-27-2025 11:40 PM |
| Restoring OPF information to a book | ownedbycats | Calibre | 1 | 09-25-2020 12:23 PM |
| Restoring Database Issue | TGPB | Library Management | 3 | 08-16-2017 08:20 AM |
| Restoring custom columns from opf metadata? | moredrowsy | Calibre | 6 | 08-14-2016 05:41 AM |
| Restoring Database | Yusufbodrum | Library Management | 3 | 07-31-2015 08:49 PM |