View Single Post
Old 09-27-2024, 11:12 PM   #1
erymaxuk
Member
erymaxuk began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Nov 2018
Location: Thailand
Device: jlalik14@gmail.com
Cannot copy book to another library

getting this error:

calibre, version 7.19.0
ERROR: Failed to copy books: Could not copy any books, click "Show details" for more information.

Failed to copy a book, see below for details

Copying: The Ultimate Docker Container Book failed, with error:
Traceback (most recent call last):
File "calibre\db\cache.py", line 84, in call_func_with_lock
File "calibre\db\locking.py", line 232, in acquire
File "calibre\db\locking.py", line 102, in acquire
File "calibre\db\locking.py", line 172, in _acquire_shared
calibre.db.locking.DowngradeLockError: can't downgrade SHLock object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\actions\copy_to_library.py", line 180, in _doit
File "calibre\gui2\actions\copy_to_library.py", line 190, in do_one
File "calibre\db\copy_to_library.py", line 90, in copy_one_book
File "calibre\db\cache.py", line 90, in call_func_with_lock
File "calibre\db\cache.py", line 964, in get_item_ids
File "calibre\db\fields.py", line 548, in item_ids_for_names
File "calibre\db\tables.py", line 289, in item_ids_for_names
UnboundLocalError: cannot access local variable 'iid' where it is not associated with a value

How to resolve this? Thnak you
erymaxuk is offline   Reply With Quote