View Single Post
Old 06-19-2025, 06:11 PM   #860
DBK
Junior Member
DBK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2025
Device: Galaxy Tablet
So I have been using the Generate Cover extension. Very handy,. But all of a sudden I have been getting the following error. calibre, version 8.4.0

ERROR: Unhandled exception: <b>TypeError</b>:QRect(): arguments did not match any overloaded call:

overload 1: too many arguments

overload 2: argument 1 has unexpected type 'float'

overload 3: argument 1 has unexpected type 'float'

overload 4: argument 1 has unexpected type 'float'

overload 5: argument 1 has unexpected type 'float'

calibre 8.4 embedded-python: True

Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')

('Windows', '10', '10.0.26100')

Python 3.11.12

Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')

Interface language: None

EXE path: C:\Program Files\Calibre2\calibre.exe

Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 25, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 25, 0) && EpubMerge (3, 2, 0) && EpubSplit (3, 11, 0) && FanFicFare (4, 46, 0) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 5) && Goodreads (1, 8, 3) && KFX metadata reader (from KFX Input) (2, 25, 0) && From KFX (2, 25, 0) && KFX Input (2, 25, 0) && Set KFX metadata (from KFX Output) (2, 15, 0) && KFX Output (2, 15, 0) && Obok DeDRM (10, 0, 9) && Quality Check (1, 14, 2) && Standard Ebooks (1, 0, 0)

Traceback (most recent call last):

File "calibre_plugins.generate_cover.action", line 65, in _generate_cover

File "calibre_plugins.generate_cover.dialogs", line 1434, in __init__

File "calibre_plugins.generate_cover.dialogs", line 1729, in display_preview

File "calibre_plugins.generate_cover.draw", line 353, in generate_cover_for_book

File "calibre_plugins.generate_cover.draw", line 208, in create_cover_page

File "calibre_plugins.generate_cover.draw", line 126, in draw_sized_text

TypeError: QRect(): arguments did not match any overloaded call:

overload 1: too many arguments

overload 2: argument 1 has unexpected type 'float'

overload 3: argument 1 has unexpected type 'float'

overload 4: argument 1 has unexpected type 'float'

overload 5: argument 1 has unexpected type 'float'

This is on every book I try to use generate cover on. I have tried uninstalling it, restarting calibre, and reinstalling the extension and still have the issue. Any ideas?
DBK is offline   Reply With Quote