Bugzilla – Bug 1216543
lector 0.5.1 in opensuse tumbleweed not starting with a qtCore.QSize error
Last modified: 2023-11-13 06:09:10 UTC
$ sudo zypper in lector The following 2 recommended packages were automatically selected: python311-poppler-qt5 python311-PyMuPDF The following 4 NEW packages are going to be installed: lector python311-poppler-qt5 python311-PyMuPDF python311-xmltodict 4 new packages to install. Overall download size: 11.7 MiB. Already cached: 0 B. After the operation, additional 27.3 MiB will be used. Continue? [y/n/v/...? shows all options] (y): Retrieving: python311-PyMuPDF-1.21.1-2.6.x86_64 (Main Repository (OSS)) (1/4), 10.8 MiB Retrieving: python311-PyMuPDF-1.21.1-2.6.x86_64.rpm ........................................................[done (6.8 MiB/s)] Retrieving: python311-poppler-qt5-21.3.0-1.14.x86_64 (Main Repository (OSS)) (2/4), 107.9 KiB Retrieving: python311-poppler-qt5-21.3.0-1.14.x86_64.rpm ...............................................................[done] Retrieving: python311-xmltodict-0.13.0-2.3.noarch (Main Repository (OSS)) (3/4), 28.8 KiB Retrieving: python311-xmltodict-0.13.0-2.3.noarch.rpm ......................................................[done (1.1 KiB/s)] Retrieving: lector-0.5.1-2.18.noarch (Main Repository (OSS)) (4/4), 707.4 KiB Retrieving: lector-0.5.1-2.18.noarch.rpm ...................................................................[done (2.5 MiB/s)] Checking for file conflicts: ...........................................................................................[done] (1/4) Installing: python311-PyMuPDF-1.21.1-2.6.x86_64 ..................................................................[done] (2/4) Installing: python311-poppler-qt5-21.3.0-1.14.x86_64 .............................................................[done] (3/4) Installing: python311-xmltodict-0.13.0-2.3.noarch ................................................................[done] (4/4) Installing: lector-0.5.1-2.18.noarch .............................................................................[done] Running post-transaction scripts .......................................................................................[done] $ lector Locale: en_US (No translations found) Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/lector/toolbars.py", line 514, in sizeHint return QtCore.QSize(self.adjusted_size, 22) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(w: int, h: int): argument 1 has unexpected type 'float' QSize(a0: QSize): argument 1 has unexpected type 'float' [1] 10111 IOT instruction (core dumped) lector