Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in sizeHint, bad arguments #154

Open
J053Fabi0 opened this issue Oct 31, 2022 · 5 comments
Open

Error in sizeHint, bad arguments #154

J053Fabi0 opened this issue Oct 31, 2022 · 5 comments

Comments

@J053Fabi0
Copy link
Contributor

J053Fabi0 commented Oct 31, 2022

def sizeHint(self):

Traceback (most recent call last):
  File "/usr/lib/python3.10/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(int, int): argument 1 has unexpected type 'float'
  QSize(QSize): argument 1 has unexpected type 'float'
fish: Job 1, 'lector' terminated by signal SIGABRT (Abort)

I'm using lector-0.5.1-1 with Arch Linux.

@J053Fabi0
Copy link
Contributor Author

I see now the problem isn't with the actual code, but with the version that is published in the AUR.

@DragonMeido
Copy link

how do you resolve it though?

@ARiosProjekt
Copy link

I am facing the same issue on Fedora... How did you solved it?

@J053Fabi0
Copy link
Contributor Author

I installed it manually from source: https://github.com/BasioMeusPuga/Lector#installation

@ARiosProjekt
Copy link

I installed it manually from source: https://github.com/BasioMeusPuga/Lector#installation

Thank you, Looks like Aur and copr builds had the same issue, now it is working. I appreciate the prompt response, Fabio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants