Can't fetch metadata
Hi
I'm getting this error hvem trying to import books by ISBN number
2024-06-22T13:11:42.480Z ERROR 1 --- [io-11111-exec-6] i.g.b.j.s.m.p.CalibreMetadataProvider : fetch ebookmetadata process exited abnormally with code 1
I have tryde to recreate the container but that did nothing.
What container version ate you using ? Is fetch-ebook-metadata available ?
Getting the same error.
Using Container v3.3.
jelu | 2024-10-12T17:32:23.402Z ERROR 1 --- [io-11111-exec-9] i.g.b.j.s.m.p.CalibreMetadataProvider : fetch ebookmetadata process exited abnormally with code 1
I'm also experiencing this issue. I'm running Jelu as a docker on Unraid.
I entered the docker and checked if fetch-ebook-metadata worked, and it does.
# fetch-ebook-metadata -i 9780316069045
Title : The Drowning City
Author(s) : Amanda Downum
Publisher : Orbit
Tags : Fantasy, Paranormal, Adult
Series : The Necromancer Chronicles #1
Languages : eng
Rating : 1.5
Published : 2009-09-01T07:00:00+00:00
Identifiers : goodreads:6296885, amazon:0316069043, isbn:9780316069045, google:D6YzlwEACAAJ
Comments : <p>Symir -- the Drowning City. home to exiles and expatriates, pirates and smugglers. And violent revolutionaries who will stop at nothing to overthrow the corrupt Imperial government. </p>
<p>For Isyllt Iskaldur, necromancer and spy, the brewing revolution is a chance to prove herself to her crown. All she has to do is find and finance the revolutionaries, and help topple the palaces of Symir. But she is torn between her new friends and her duties, and the longer she stays in this monsoon-drenched city, the more intrigue she uncovers -- even the dead are plotting. </p>
<p>As the waters rise and the dams crack, Isyllt must choose between her mission and the city she came to save.</p>
#
Log details below.
Log details
025-09-13T12:30:07.904092588Z
2025-09-13T12:30:07.904121211Z ,--. ,------. ,--. ,--. ,--.
2025-09-13T12:30:07.904128269Z | | | .---' | | | | | |
2025-09-13T12:30:07.904133609Z ,--. | | | `--, | | | | | |
2025-09-13T12:30:07.904148080Z | '-' / | `---. | '--. ' '-' '
2025-09-13T12:30:07.904152474Z `-----' `------' `-----' `-----'
2025-09-13T12:30:07.904166318Z
2025-09-13T12:30:07.904170635Z version : 0.72.5
2025-09-13T12:30:07.904175360Z
2025-09-13T12:30:07.977914762Z 2025-09-13T14:30:07.976+02:00 INFO 1 --- [ main] i.github.bayang.jelu.JeluApplicationKt : Starting JeluApplicationKt v0.72.5 using Java 17.0.16 with PID 1 (/app/BOOT-INF/classes started by root in /app)
2025-09-13T12:30:07.978732267Z 2025-09-13T14:30:07.978+02:00 DEBUG 1 --- [ main] i.github.bayang.jelu.JeluApplicationKt : Running with Spring Boot v3.3.3, Spring v6.1.12
2025-09-13T12:30:07.979853090Z 2025-09-13T14:30:07.979+02:00 INFO 1 --- [ main] i.github.bayang.jelu.JeluApplicationKt : No active profile set, falling back to 1 default profile: "default"
2025-09-13T12:30:10.253236862Z 2025-09-13T14:30:10.252+02:00 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JDBC repositories in DEFAULT mode.
2025-09-13T12:30:10.325650002Z 2025-09-13T14:30:10.325+02:00 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 66 ms. Found 0 JDBC repository interfaces.
2025-09-13T12:30:11.304750824Z 2025-09-13T14:30:11.304+02:00 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 11111 (http)
2025-09-13T12:30:11.319417741Z 2025-09-13T14:30:11.319+02:00 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-09-13T12:30:11.319977295Z 2025-09-13T14:30:11.319+02:00 INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.28]
2025-09-13T12:30:11.368650382Z 2025-09-13T14:30:11.368+02:00 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-09-13T12:30:11.369216161Z 2025-09-13T14:30:11.369+02:00 INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3300 ms
2025-09-13T12:30:11.760517530Z 2025-09-13T14:30:11.757+02:00 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2025-09-13T12:30:11.905639903Z 2025-09-13T14:30:11.905+02:00 INFO 1 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.sqlite.jdbc4.JDBC4Connection@36c783ca
2025-09-13T12:30:11.907831666Z 2025-09-13T14:30:11.907+02:00 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2025-09-13T12:30:12.560813682Z 2025-09-13T14:30:12.560+02:00 INFO 1 --- [ main] liquibase.changelog : Reading from DATABASECHANGELOG
2025-09-13T12:30:12.687990753Z 2025-09-13T14:30:12.687+02:00 INFO 1 --- [ main] liquibase.ui : Database is up to date, no changesets to execute
2025-09-13T12:30:12.690127775Z 2025-09-13T14:30:12.689+02:00 INFO 1 --- [ main] liquibase.changelog : Reading from DATABASECHANGELOG
2025-09-13T12:30:12.704689891Z 2025-09-13T14:30:12.704+02:00 INFO 1 --- [ main] liquibase.util : UPDATE SUMMARY
2025-09-13T12:30:12.704935180Z 2025-09-13T14:30:12.704+02:00 INFO 1 --- [ main] liquibase.util : Run: 0
2025-09-13T12:30:12.705141488Z 2025-09-13T14:30:12.705+02:00 INFO 1 --- [ main] liquibase.util : Previously run: 26
2025-09-13T12:30:12.705420000Z 2025-09-13T14:30:12.705+02:00 INFO 1 --- [ main] liquibase.util : Filtered out: 0
2025-09-13T12:30:12.705609421Z 2025-09-13T14:30:12.705+02:00 INFO 1 --- [ main] liquibase.util : -------------------------------
2025-09-13T12:30:12.705839694Z 2025-09-13T14:30:12.705+02:00 INFO 1 --- [ main] liquibase.util : Total change sets: 26
2025-09-13T12:30:12.706654329Z 2025-09-13T14:30:12.706+02:00 INFO 1 --- [ main] liquibase.util : Update summary generated
2025-09-13T12:30:12.722348401Z 2025-09-13T14:30:12.722+02:00 INFO 1 --- [ main] liquibase.lockservice : Successfully released change log lock
2025-09-13T12:30:12.724261908Z 2025-09-13T14:30:12.724+02:00 INFO 1 --- [ main] liquibase.command : Command execution complete
2025-09-13T12:30:14.068295564Z 2025-09-13T14:30:14.067+02:00 INFO 1 --- [ main] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with UserDetailsService bean with name userService
2025-09-13T12:30:14.132385054Z 2025-09-13T14:30:14.132+02:00 INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [public/index.html]
2025-09-13T12:30:14.717462087Z 2025-09-13T14:30:14.717+02:00 INFO 1 --- [ main] o.s.l.c.support.AbstractContextSource : Property 'userDn' not set - anonymous context will be used for read-only operations
2025-09-13T12:30:14.803449292Z 2025-09-13T14:30:14.803+02:00 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 11111 (http) with context path '/'
2025-09-13T12:30:15.096769298Z 2025-09-13T14:30:15.096+02:00 INFO 1 --- [ main] i.g.b.jelu.service.AppLifecycleAware : Lucene index version: 5
2025-09-13T12:30:15.184421982Z 2025-09-13T14:30:15.184+02:00 INFO 1 --- [ main] i.github.bayang.jelu.JeluApplicationKt : Started JeluApplicationKt in 7.744 seconds (process running for 8.549)
2025-09-13T12:30:23.528346461Z 2025-09-13T14:30:23.528+02:00 INFO 1 --- [io-11111-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-09-13T12:30:23.528660918Z 2025-09-13T14:30:23.528+02:00 INFO 1 --- [io-11111-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2025-09-13T12:30:23.530703288Z 2025-09-13T14:30:23.530+02:00 INFO 1 --- [io-11111-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2025-09-13T12:30:24.287880408Z 2025-09-13T14:30:24.287+02:00 WARN 1 --- [io-11111-exec-1] ration$PageModule$WarningLoggingModifier : Serializing PageImpl instances as-is is not supported, meaning that there is no guarantee about the stability of the resulting JSON structure!
2025-09-13T12:30:24.287927115Z For a stable JSON structure, please use Spring Data's PagedModel (globally via @EnableSpringDataWebSupport(pageSerializationMode = VIA_DTO))
2025-09-13T12:30:24.287938083Z or Spring HATEOAS and Spring Data's PagedResourcesAssembler as documented in https://docs.spring.io/spring-data/commons/reference/repositories/core-extensions.html#core.web.pageables.
2025-09-13T12:30:24.287944905Z
2025-09-13T12:30:59.348195029Z 2025-09-13T14:30:59.347+02:00 ERROR 1 --- [io-11111-exec-2] i.g.b.j.s.m.p.CalibreMetadataProvider : fetch ebookmetadata process exited abnormally
2025-09-13T12:36:01.043117224Z 2025-09-13T14:36:01.042+02:00 ERROR 1 --- [io-11111-exec-2] i.g.b.j.s.m.p.CalibreMetadataProvider : output from fetch-ebook-metadata process : <?xml version='1.0' encoding='utf-8'?>
2025-09-13T12:36:01.043149578Z <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0">
2025-09-13T12:36:01.043160671Z <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
2025-09-13T12:36:01.043169363Z <dc:identifier opf:scheme="calibre" id="calibre_id">ad10b4d0-d5ad-4b42-b71f-2e1c1e0dd96a</dc:identifier>
2025-09-13T12:36:01.043178159Z <dc:identifier opf:scheme="uuid" id="uuid_id">7e67442b-d62a-4e5a-b0f3-eadbccaf239d</dc:identifier>
2025-09-13T12:36:01.043186720Z <dc:title>The Drowning City</dc:title>
2025-09-13T12:36:01.043193946Z <dc:creator opf:file-as="Unknown" opf:role="aut">Amanda Downum</dc:creator>
2025-09-13T12:36:01.043201630Z <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (8.4.0) [https://calibre-ebook.com]</dc:contributor>
2025-09-13T12:36:01.043249581Z <dc:date>2009-09-01T07:00:00+00:00</dc:date>
2025-09-13T12:36:01.043261995Z <dc:description><p>Symir -- the Drowning City. home to exiles and expatriates, pirates and smugglers. And violent revolutionaries who will stop at nothing to overthrow the corrupt Imperial government. </p>
2025-09-13T12:36:01.043271234Z <p>For Isyllt Iskaldur, necromancer and spy, the brewing revolution is a chance to prove herself to her crown. All she has to do is find and finance the revolutionaries, and help topple the palaces of Symir. But she is torn between her new friends and her duties, and the longer she stays in this monsoon-drenched city, the more intrigue she uncovers -- even the dead are plotting. </p>
2025-09-13T12:36:01.043279567Z <p>As the waters rise and the dams crack, Isyllt must choose between her mission and the city she came to save.</p></dc:description>
2025-09-13T12:36:01.043287405Z <dc:publisher>Orbit</dc:publisher>
2025-09-13T12:36:01.043294536Z <dc:identifier opf:scheme="GOODREADS">6296885</dc:identifier>
2025-09-13T12:36:01.043302652Z <dc:identifier opf:scheme="AMAZON">0316069043</dc:identifier>
2025-09-13T12:36:01.043310224Z <dc:identifier opf:scheme="ISBN">9780316069045</dc:identifier>
2025-09-13T12:36:01.043317872Z <dc:identifier opf:scheme="GOOGLE">D6YzlwEACAAJ</dc:identifier>
2025-09-13T12:36:01.043325690Z <dc:language>eng</dc:language>
2025-09-13T12:36:01.043334861Z <dc:subject>Fantasy</dc:subject>
2025-09-13T12:36:01.043342664Z <dc:subject>Paranormal</dc:subject>
2025-09-13T12:36:01.043350193Z <dc:subject>Adult</dc:subject>
2025-09-13T12:36:01.043357641Z <meta name="calibre:series" content="The Necromancer Chronicles"/>
2025-09-13T12:36:01.043365384Z <meta name="calibre:series_index" content="1"/>
2025-09-13T12:36:01.043373093Z <meta name="calibre:rating" content="3"/>
2025-09-13T12:36:01.043380337Z </metadata>
2025-09-13T12:36:01.043387937Z <guide>
2025-09-13T12:36:01.043394736Z <reference type="cover" title="Cover" href="/files/images/meta-import-9780316069045-1757766629342.jpg"/>
2025-09-13T12:36:01.043402933Z </guide>
2025-09-13T12:36:01.043410250Z </package>
2025-09-13T12:36:01.043417726Z
2025-09-13T12:36:01.043424826Z Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libXfixes.so.3: cannot open shared object file: No such file or directory
2025-09-13T12:36:01.043432602Z Traceback (most recent call last):
2025-09-13T12:36:01.043458123Z File "runpy.py", line 198, in _run_module_as_main
2025-09-13T12:36:01.043468026Z File "runpy.py", line 88, in _run_code
2025-09-13T12:36:01.043476076Z File "site.py", line 47, in <module>
2025-09-13T12:36:01.043483848Z File "site.py", line 43, in main
2025-09-13T12:36:01.043491414Z File "calibre/utils/ipc/worker.py", line 194, in main
2025-09-13T12:36:01.043499082Z File "<string>", line 1, in <module>
2025-09-13T12:36:01.043507126Z File "calibre/scraper/qt.py", line 292, in webengine_worker
2025-09-13T12:36:01.043580418Z File "bypy-importer.py", line 279, in exec_module
2025-09-13T12:36:01.043595120Z File "calibre/scraper/webengine_backend.py", line 16, in <module>
2025-09-13T12:36:01.043603722Z ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
2025-09-13T12:36:01.043611874Z Traceback (most recent call last):
2025-09-13T12:36:01.043619454Z File "calibre/scraper/qt.py", line 234, in _dispatch
2025-09-13T12:36:01.043632093Z File "json/__init__.py", line 346, in loads
2025-09-13T12:36:01.043640492Z File "json/decoder.py", line 337, in decode
2025-09-13T12:36:01.043648176Z File "json/decoder.py", line 355, in raw_decode
2025-09-13T12:36:01.043655917Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-13T12:36:01.043664093Z
Edit: I tried the the command again manually, and now I'm getting errors.
# fetch-ebook-metadata -i 9780786021499
Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libXfixes.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 47, in <module>
File "site.py", line 43, in main
File "calibre/utils/ipc/worker.py", line 194, in main
File "<string>", line 1, in <module>
File "calibre/scraper/qt.py", line 292, in webengine_worker
File "bypy-importer.py", line 279, in exec_module
File "calibre/scraper/webengine_backend.py", line 16, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
Traceback (most recent call last):
File "calibre/scraper/qt.py", line 234, in _dispatch
File "json/__init__.py", line 346, in loads
File "json/decoder.py", line 337, in decode
File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Title : Silent Victim
Author(s) : C. E. Lawrence
Publisher : Pinnacle
Tags : Thriller, Mystery
Series : Lee Campbell Mystery #2
Languages : eng
Rating : 2
Published : 2010-01-01T08:00:00+00:00
Identifiers : goodreads:7974208, amazon:0786021497, isbn:9780786021499, google:vW0XmAEACAAJ
Comments : <p>To Catch A Twisted Killer At first, they look like suicides. Two bodies within a week--one found floating in New York's East River, another electrocuted in the bathtub. But forensics show that the victims were drugged, then killed. As the death toll grows, so does the brutality of the murders--and the killer dubbed the Flesh Collector continues to prey. Put Yourself In His Path NYPD profiler Lee Campbell joins the frantic pursuit of a murderous madman who delights in taunting police with gruesome messages. Somewhere in the killer's terrifying handiwork lie the clues to his twisted psyche. But the case is growing disturbingly personal. Getting close enough to stop the monster means getting close enough--to die. . . Praise for C. E. Lawrence and Silent Screams "Pulse-racing, first-rate. . .a wild ride down a dark road.</p>
<p>"--John Lutz "Lawrence delivers finely honed suspense with unique twists.</p>
<p>"--Katherine Ramsland "A dark, intriguing thriller.</p>
<p>"--Publishers Weekly</p>
#
I'm also experiencing this issue. I'm running Jelu as a docker on Unraid.
I entered the docker and checked if
fetch-ebook-metadataworked, and it does.# fetch-ebook-metadata -i 9780316069045 Title : The Drowning City Author(s) : Amanda Downum Publisher : Orbit Tags : Fantasy, Paranormal, Adult Series : The Necromancer Chronicles #1 Languages : eng Rating : 1.5 Published : 2009-09-01T07:00:00+00:00 Identifiers : goodreads:6296885, amazon:0316069043, isbn:9780316069045, google:D6YzlwEACAAJ Comments : <p>Symir -- the Drowning City. home to exiles and expatriates, pirates and smugglers. And violent revolutionaries who will stop at nothing to overthrow the corrupt Imperial government. </p> <p>For Isyllt Iskaldur, necromancer and spy, the brewing revolution is a chance to prove herself to her crown. All she has to do is find and finance the revolutionaries, and help topple the palaces of Symir. But she is torn between her new friends and her duties, and the longer she stays in this monsoon-drenched city, the more intrigue she uncovers -- even the dead are plotting. </p> <p>As the waters rise and the dams crack, Isyllt must choose between her mission and the city she came to save.</p> #Log details below.
Log details Edit: I tried the the command again manually, and now I'm getting errors.
# fetch-ebook-metadata -i 9780786021499 Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libXfixes.so.3: cannot open shared object file: No such file or directory Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 47, in <module> File "site.py", line 43, in main File "calibre/utils/ipc/worker.py", line 194, in main File "<string>", line 1, in <module> File "calibre/scraper/qt.py", line 292, in webengine_worker File "bypy-importer.py", line 279, in exec_module File "calibre/scraper/webengine_backend.py", line 16, in <module> ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc) Traceback (most recent call last): File "calibre/scraper/qt.py", line 234, in _dispatch File "json/__init__.py", line 346, in loads File "json/decoder.py", line 337, in decode File "json/decoder.py", line 355, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Title : Silent Victim Author(s) : C. E. Lawrence Publisher : Pinnacle Tags : Thriller, Mystery Series : Lee Campbell Mystery #2 Languages : eng Rating : 2 Published : 2010-01-01T08:00:00+00:00 Identifiers : goodreads:7974208, amazon:0786021497, isbn:9780786021499, google:vW0XmAEACAAJ Comments : <p>To Catch A Twisted Killer At first, they look like suicides. Two bodies within a week--one found floating in New York's East River, another electrocuted in the bathtub. But forensics show that the victims were drugged, then killed. As the death toll grows, so does the brutality of the murders--and the killer dubbed the Flesh Collector continues to prey. Put Yourself In His Path NYPD profiler Lee Campbell joins the frantic pursuit of a murderous madman who delights in taunting police with gruesome messages. Somewhere in the killer's terrifying handiwork lie the clues to his twisted psyche. But the case is growing disturbingly personal. Getting close enough to stop the monster means getting close enough--to die. . . Praise for C. E. Lawrence and Silent Screams "Pulse-racing, first-rate. . .a wild ride down a dark road.</p> <p>"--John Lutz "Lawrence delivers finely honed suspense with unique twists.</p> <p>"--Katherine Ramsland "A dark, intriguing thriller.</p> <p>"--Publishers Weekly</p> #
This one looks like a new issue. It seems that there calibre complains about a missing library but still manages to fetch metadata. What are the exact symptoms ? Are you using the 0.72.5 version ?
This one looks like a new issue. It seems that there calibre complains about a missing library but still manages to fetch metadata. What are the exact symptoms ? Are you using the 0.72.5 version ?
Same issue here, using Docker. Was on 0.72.2, wasn't working, so I updated to 0.72.5, still not working. Running fetch-ebook-metadata -i 9780786021499 inside the container gives me the same output as above.
As a workaround, inside the container, I can run apt install libxfixes3 and then it works.
This one looks like a new issue. It seems that there calibre complains about a missing library but still manages to fetch metadata. What are the exact symptoms ? Are you using the 0.72.5 version ?
The error shows when I click "Add Book", then "Auto fill" and enter an ISBN, then clicking "Fetch book".. There is a long wait, and in the end an error appears. I checked the logs, and they show the issue as I described previously. It also happens when running fetch-ebook-metadata. I am using 0.72.5, yes.
After about five minutes, the import dialog errors out.
I tested the workaround from @unlair and that worked perfectly for me too.
Ok, thanks , I'll have a look.
@wazabees 0.72.5 now has a timeout on the process builder that launches calibre, the default is 30 seconds. Did you overload metadata.calibre.timeout in the config ? Because you mention having to wait 5 minutes to see the error happen on the UI.
Did you overload
metadata.calibre.timeoutin the config ? Because you mention having to wait 5 minutes to see the error happen on the UI.
I haven't changed any config options in Jelu at all, I use the Unraid docker "as is". I have tested 0.72.6 as well, and it's working without any errors. Thank you!