Bibliophagist
Posts: 47,324
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I was modifying some of the conversion options and managed to get an error message when I tried to open the output options.
calibre, version 5.99.2
ERROR: Unhandled exception: <b>AttributeError</b>:'QPrinter' object has no attribute 'pageSize'
Spoiler:
Code:
calibre 5.99.2 Portable embedded-python: True
Windows-10-10.0.22000 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22000')
Python 3.10.1
Windows: ('10', '10.0.22000', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 2) && Annotations (1, 16, 0) && Calibre Power Search Plugin (2, 1, 1) && Count Pages (1, 11, 1) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 4) && EpubMerge (2, 11, 0) && EpubSplit (3, 1, 0) && FanFicFare (4, 8, 0) && Fantastic Fiction (1, 5, 1) && Find Duplicates (1, 8, 10) && Goodreads (1, 5, 3) && Goodreads Sync (1, 15, 1) && Hyphenate This! (0, 1, 3) && Job Spy (1, 0, 190) && KePub Output (3, 5, 3) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 83, 0) && Kobo Books (1, 8, 3) && Kobo Utilities (2, 15, 0) && KoboTouchExtended (3, 5, 4) && Modify ePub (1, 6, 3) && Obok DeDRM (10, 0, 0) && Open With (1, 5, 13) && Quality Check (1, 11, 4) && Resize Cover (1, 1, 0) && ScrambleEbook (0, 4, 5) && SmartEject (2, 3, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
File "calibre\gui2\preferences\main.py", line 319, in show_plugin
File "calibre\gui2\preferences\conversion.py", line 99, in genesis
File "calibre\gui2\preferences\conversion.py", line 96, in widget_factory
File "calibre\gui2\convert\pdf_output.py", line 36, in __init__
File "calibre\gui2\widgets.py", line 1271, in initialize
AttributeError: 'QPrinter' object has no attribute 'pageSize'
This happened after I set the Conversion => Common options => Page setup => Output Profile => tablet and all 4 margins to 0.0pt.
After this, if I clicked on any of the 3 Conversion options, I got a rather messy popup. See attached image for that.
Last edited by DNSB; 01-05-2022 at 12:01 PM.
|