11-22-2023, 01:42 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2023
Device: nexus 7
|
Database Restore not working
Hello all,
in the newest version 7.0 I can't seem to restore any database from backup. I get this error. calibre, version 7.0.0 ERROR: Failed: Restoring database failed, click "Show details" to see details Traceback (most recent call last): File "calibre\db\restore.py", line 157, in run File "calibre\db\restore.py", line 296, in restore_books File "shutil.py", line 561, in copytree File "shutil.py", line 459, in _copytree File "os.py", line 225, in makedirs FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\iondream\\vv02dv4s_rlib\\.calnotes' Has anyone else seen this? worth noting is that when I run from the latest source from github instead it all works fine. I could not find an issue for this however, so I wanted to make sure it was known. Thanks, iondream |
11-22-2023, 02:35 PM | #2 |
the rook, bossing Never.
Posts: 12,249
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Open Import etc. Before last step open the Calibre library destination in a File manager/ Explore/finder and make sure hidden files are shown.
Delete everything. Now click on Calibre GUI. The restore folder must be empty, but it has .calnotes in it. Note: You don't say which OS, but maybe Windows? Mac & Linux by default don't show any file or folder starting with a period/dot, .<anyname> |
Advert | |
|
11-22-2023, 04:15 PM | #3 | |
null operator (he/him)
Posts: 20,920
Karma: 27620686
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Code:
calibre, version 7.0.0 ERROR: Failed: Restoring database failed, click "Show details" to see details Traceback (most recent call last): File "calibre\db\restore.py", line 157, in run File "calibre\db\restore.py", line 296, in restore_books File "shutil.py", line 561, in copytree File "shutil.py", line 459, in _copytree File "os.py", line 225, in makedirs FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'D:\\Calibre\\Libraries\\fwatryp3_rlib\\.calnotes' BR Last edited by BetterRed; 11-22-2023 at 04:19 PM. |
|
11-22-2023, 05:10 PM | #4 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2023
Device: nexus 7
|
Quote:
C:\Users\iondream\vv02dv4s_rlib\.calnotes I assume this is dynamically generated. There is a .calnotes file, but moving it out of the dir has no effect. |
|
11-22-2023, 05:13 PM | #5 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2023
Device: nexus 7
|
Quote:
does anyone know how the database backup and restore process works? is there a copy of it kept somewhere automatically? Thanks, iondream |
|
Advert | |
|
11-22-2023, 05:25 PM | #6 | |
null operator (he/him)
Posts: 20,920
Karma: 27620686
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
11-22-2023, 09:19 PM | #7 |
creator of calibre
Posts: 44,319
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's a bug fixed in the next release.
|
11-23-2023, 04:54 AM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2023
Device: Kindle Oasis
|
I also have the same problem. Looking forward to the update.
|
11-23-2023, 11:45 PM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2023
Device: Kindle Oasis
|
The new update, 7.1 fixed the problem. Yay kovidgoyal!!!
|
11-24-2023, 12:08 AM | #10 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2023
Device: nexus 7
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
restore database | franklekens | Kobo Reader | 32 | 06-02-2024 06:28 PM |
Aura Restore the database | Ksquared | Kobo Reader | 2 | 09-17-2016 08:04 AM |
Restore Database? | BookJunkieLI | Library Management | 6 | 08-15-2014 06:10 PM |
Restore Database? | BeeTee-Ess | Calibre | 2 | 10-12-2012 07:40 AM |
restore database help | mabee | Calibre | 13 | 01-11-2011 02:16 PM |