Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2026, 02:49 PM   #421
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: 55,292
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Once again, updating the calibre source has broken calibre. (Calibre 9.16, source downloaded about 20 minutes ago). Hopefully either a point release or a new release will again fix this. Until then, open calibre without source.

Spoiler:
Code:
Traceback (most recent call last):
  File "runpy.py", line 203, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "d:\calibre\calibre-master\src\calibre\debug.py", line 394, in main
  File "d:\calibre\calibre-master\src\calibre\gui_launch.py", line 78, in calibre
  File "d:\calibre\calibre-master\src\calibre\gui_launch.py", line 53, in register_with_default_programs
  File "d:\calibre\calibre-master\src\calibre\gui2\__init__.py", line 91, in <module>
  File "d:\calibre\calibre-master\src\calibre\utils\img.py", line 24, in <module>
ImportError: cannot import name 'jxl' from 'calibre_extensions' (unknown location)
DNSB is offline   Reply With Quote
Old 10-15-2026, 09:38 PM   #422
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: 46,563
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...dd323e73146c7c
kovidgoyal is offline   Reply With Quote
Old 10-15-2026, 10:01 PM   #423
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: 55,292
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
Sorry but that fix didn't work for me.
Code:
Traceback (most recent call last):
  File "runpy.py", line 203, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "d:\calibre\calibre-master\src\calibre\debug.py", line 394, in main
  File "d:\calibre\calibre-master\src\calibre\gui_launch.py", line 78, in calibre
  File "d:\calibre\calibre-master\src\calibre\gui_launch.py", line 53, in register_with_default_programs
  File "d:\calibre\calibre-master\src\calibre\gui2\__init__.py", line 97, in <module>
ImportError: cannot import name 'jxl' from 'calibre_extensions' (unknown location)
I looked at d:\calibre\calibre-master\src\calibre\gui2\__init__.py and replaced the code from line 96 with:
Code:
from calibre_extensions import avif as _avif_plugin  # noqa: F401  registers the AVIF image format with Qt
try:
    from calibre_extensions import jxl as _jxl_plugin  # noqa: F401  registers the JPEG-XL image format with Qt
except ImportError:
    pass  # for people running from source

from calibre_extensions.progress_indicator import icon_from_name, icon_from_paths, set_icon_theme
Which I borrowed shamelessly from your change in img.py and it seems to be working now.

Last edited by DNSB; 10-15-2026 at 10:08 PM.
DNSB is offline   Reply With Quote
Old 10-15-2026, 10:12 PM   #424
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: 46,563
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Right, I forgot that one. Now fixed.
kovidgoyal is offline   Reply With Quote
Old 10-16-2026, 04:50 AM   #425
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: 46,563
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Released 9.16.100 the main new feature is that the amazon and google images metadata plugins now work again by using camoufox.
kovidgoyal is offline   Reply With Quote
Old 10-16-2026, 03:22 PM   #426
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: 55,292
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Sadly while 9.16.0 from source worked with Amazon to download metadata, the 9.16.100 from source gives me an errno 22 on metadata downloads from Amazon regardless of whether using Amazon servers or a search engine.
Code:
****************************** Amazon.com (1, 4, 0) ****************************** 
Found 0 results 
Downloading from Amazon.com took 0.20817065238952637 
Server: amazon
Downloading details from: https://www.amazon.ca/dp/B0HGKRT6KH
Failed to use a browser to download from Amazon: The camoufox metadata worker failed: [Errno 22] Invalid argument
Traceback (most recent call last):
  File "d:\calibre\calibre-master\src\calibre\web\automate\worker.py", line 95, in _process_and_respond
  File "d:\calibre\calibre-master\src\calibre\web\automate\worker.py", line 205, in handler_with_setup
  File "d:\calibre\calibre-master\src\calibre\web\automate\metadata.py", line 860, in setup_browser
  File "d:\calibre\calibre-master\src\calibre\web\automate\metadata.py", line 806, in impl_setup_browser
  File "d:\calibre\calibre-master\src\calibre\web\automate\download_deps.py", line 95, in debug
OSError: [Errno 22] Invalid argument
I also noted that regardless of which country I set for the Amazon servers, Amazon.ca was used and if I fed the URL into Firefox, it returned the correct result.

The Google cover download also failed with an errno 22 while the Amazon cover downloaded failed with an errno 22. Trying search engine and the search for the cover also failed.

Last edited by DNSB; 10-16-2026 at 03:27 PM.
DNSB is offline   Reply With Quote
Old 10-16-2026, 05:41 PM   #427
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,388
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Using the Windows version of 9.16.0 on Windows 11, the viewer was unable to display a JXL image. I just got a blank window.
JSWolf is offline   Reply With Quote
Old 10-16-2026, 07:58 PM   #428
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: 55,292
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I get the same results as JSWolf. In my test file, none of the .jxl images open and large .avif images are slow to open. The first 4 images are the large versions, the last 4 are shrunk to a more normal size.
Attached Files
File Type: epub avif-jxl_test.epub (17.53 MB, 18 views)
DNSB is offline   Reply With Quote
Old 10-17-2026, 12:18 AM   #429
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: 46,563
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The windows metadata download bug when running from source is now fixed. As for JXL support that will come when Qt WebEngine is updated to a version of chrome that supports it. In calibre it is only supported for conversions not viewing/editing, there arent any EPUB books with JXL images anyway, so it's not urgent. I just decided to add support for it now since I was in the area. As for performance, that comes from Qt WebEngine when viewing/editing, not calibre.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dockerise multiple Calibre releases for plugin development wolf123 Related Tools 1 02-06-2021 03:12 AM
[Q] How can I check for new releases in a series in calibre or goodreads? lambstone Kobo Reader 1 09-09-2016 12:04 AM
CC B4.0.X beta (all releases) chaley Calibre Companion 41 07-21-2015 06:53 AM
CC beta releases 3.4.4j, 3.4.4k, 3.4.4l chaley Calibre Companion 33 10-21-2014 06:19 AM
dotReader releases first public beta Alexander Turcic Reading and Management 4 11-23-2006 01:40 AM


All times are GMT -4. The time now is 03:41 AM.


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