Bug 1216543 - lector 0.5.1 in opensuse tumbleweed not starting with a qtCore.QSize error
Summary: lector 0.5.1 in opensuse tumbleweed not starting with a qtCore.QSize error
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Yunhe Guo
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-24 14:19 UTC by Andrea Manzini
Modified: 2023-11-13 06:09 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Manzini 2023-10-24 14:19:19 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