Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
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
Old 09-28-2024, 12:12 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,493
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...a1d7ec0b979f31
kovidgoyal is offline   Reply With Quote
Advert
Old 09-28-2024, 01:45 AM   #3
erymaxuk
Member
erymaxuk began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Nov 2018
Location: Thailand
Device: jlalik14@gmail.com
sorry but I have not a clue about python. Can't even find the tables.py
erymaxuk is offline   Reply With Quote
Old 09-28-2024, 01:49 AM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,383
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Basically, wait till next Friday if a calibre preview release comes out or the Friday after for the next biweekly calibre release.
DNSB is offline   Reply With Quote
Old 09-28-2024, 01:53 AM   #5
erymaxuk
Member
erymaxuk began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Nov 2018
Location: Thailand
Device: jlalik14@gmail.com
Thanks David, will do
erymaxuk is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre library has its own copy of an added book? Dal Bhat Calibre 10 04-06-2024 04:29 AM
Copy book data to separate library without duplicating the actual book files? dewd Library Management 5 01-12-2022 03:11 PM
Best way to copy original book files and their metadata to a new library halloleo Library Management 8 04-16-2020 05:10 AM
Copy to library, where book already exists MerlinMama Library Management 5 01-08-2017 07:45 PM
any way to prevent calibre from making a copy of the book when added to its library? GoldThreader Calibre 28 04-04-2012 05:41 AM


All times are GMT -4. The time now is 05:44 PM.


MobileRead.com is a privately owned, operated and funded community.