Quote:
Originally Posted by idiom6
I'm trying to move a library from a PC running Win7, Calibre v4.23, to a PC running Win11. After failing the first attempt I uninstalled Calibre 7.?? and installed the same Calibre 4.23.
Every time I try to create an empty folder in the File system to import the exported library to, Calibre gives me an error saying the file isn't empty. I tried Calibre>Create/Switch Library>[NewFolder], then Calibre>Import/Export>Import, and again if I don't create an additional New Folder in the Calibre>Import/Export>Import dialogs, it says it's not empty. Once I create additional New Folders, the process of importing goes well until the end when it gives me an error message.
I want to preserve my various plugins and preferences, otherwise I'd just use the export as a Library itself, but the idea is to have this portable hard drive be able to go between my new PC and my old, still functioning PC. Please advise?
Code:
calibre, version 4.23.0
ERROR: Failed: Failed to import data. Click "Show Details" for more information.
Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\exim.py", line 140, in run_action
File "site-packages\calibre\utils\exim.py", line 362, in import_data
File "shutil.py", line 270, in rmtree
File "shutil.py", line 275, in rmtree
File "shutil.py", line 273, in rmtree
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u'C:\\Users\\[redacted]\\AppData\\Roaming\\calibre\\plugins\\annotations.db'
|
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u'
C:\\Users\\[redacted]\\AppData\\Roaming\\calibre\\plugins\\annotations. db'
Looks like the file in question is that one, I don't know why creating a new library would need to access that file. Maybe it looks for it when creating the annotations related tables in the library metadata.db… except you're running calibre 4 which didn't have those tables…
BR