View Single Post
Old 10-18-2020, 09:50 AM   #41
eol
Junior Member
eol began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2020
Device: none
Since one of the latest updates (of calibre or lubimyczytac plugin, I'm not certain with which update exactly the problem started) the lubimyczytac plugin breaks the bulk metadata download (and, less so, the regular metadata download functionality) if the book is not found on the lubimyczytac database.

What is happening:

1) among the books that are chosen for bulk metadata download there is at leas one that doesn't exist on Lubimyczytac site (or, for example, a comma is missing from the title)

2) the download process (calibre-parallel.exe) just hangs & doesn't time out in a timely manner; it keeps waiting for web IO operation to finish (in the system resource monitor it is trying to connect to {some address}.eu-central-1.compute.amazonaws.com)

3) this lasts for entire minutes

4) when it's happening during bulk metadata download, this will eventually (after literal waiting for ages) cause the background process to disconnect from the main process, with the error:

Starting job: Pobieranie metadanych dla jednej książki
Job: "Pobieranie metadanych dla jednej książki" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 83, in start_work
File "calibre\gui2\metadata\bulk_download.py", line 249, in download
File "calibre\utils\ipc\simple_worker.py", line 251, in fork_job
File "calibre\utils\ipc\simple_worker.py", line 176, in run_job
File "calibre\utils\ipc\simple_worker.py", line 108, in communicate
calibre.utils.ipc.simple_worker.WorkerError: Worker appears to have hung

Called with args: ([35070], 'C:\\Users\\F.ka\\AppData\\Local\\Temp\\calibre_v2 k0fsko\\s2pdqxhh_metadata_bulk.log', <calibre.db.legacy.LibraryDatabase object at 0x00000214EE1076A0>, True, False, None) {'notifications': <queue.Queue object at 0x000002148AE60E20>, 'abort': <threading.Event object at 0x000002148B13EE20>, 'log': <calibre.utils.logging.GUILog object at 0x000002148B13E490>}

5) there is no way to determine which book caused this among the set other that trying to download metadata one-by-one and just canceling if it takes too long

6) no other metadata download plugin behaves in this manner if the book doesn't exist
eol is offline   Reply With Quote