Quote:
Originally Posted by kovidgoyal
It sounds like there were permission problems on the files. Hard to say since the OP didnt post the actual error message.
|
The error is:
calibre, version 6.19.1
ERRORE: Permesso negato: Non è possibile cambiare la posizione sul disco di questo libro. È aperto da qualche altro programma?
Locked file: C:\Users\samsung\Calibre Library\LibreriaCompletaTotalePerenne\Conrad_ Joseph\La Linea D'Ombra (1366)
Traceback (most recent call last):
File "calibre\utils\copy_files.py", line 213, in copy_tree
File "shutil.py", line 739, in rmtree
File "shutil.py", line 621, in _rmtree_unsafe
File "shutil.py", line 619, in _rmtree_unsafe
PermissionError: [WinError 5] Accesso negato: "C:\\Users\\samsung\\Calibre Library\\LibreriaCompletaTotalePerenne\\Conrad_ Joseph\\La Linea D'Ombra (1366)"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\gui2\metadata\single.py", line 617, in apply_changes
File "calibre\gui2\metadata\basic_widgets.py", line 241, in commit
File "calibre\db\legacy.py", line 934, in func
File "calibre\db\cache.py", line 85, in call_func_with_lock
File "calibre\db\cache.py", line 1508, in set_field
File "calibre\db\cache.py", line 1522, in update_path
File "calibre\db\backend.py", line 1875, in update_path
File "calibre\utils\copy_files.py", line 217, in copy_tree
File "shutil.py", line 739, in rmtree
File "shutil.py", line 621, in _rmtree_unsafe
File "shutil.py", line 619, in _rmtree_unsafe
PermissionError: [WinError 5] Accesso negato: "C:\\Users\\samsung\\Calibre Library\\LibreriaCompletaTotalePerenne\\Conrad_ Joseph\\La Linea D'Ombra (1366)"
"Accesso negato" means access denied.
This book in particular got all the formats deleted except for the metadata and the cover.
For other books where the author or the title are changed, calibre copy the files in a new folder but it doesnt link with the book in the library, that keeps being linked to the old empty folder.
The library was sync with drive till 4 years ago when i read that was dangerous, then i never sync it again directly, also changed my pc since then (but maybe that's why only the old books get the error).
Also thank you very much for your work, calibre is the best program around for libraries and is incredibly smart and well done in every aspect.