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

Enki crashes after install. #474

Closed
agoodfellow123 opened this issue Jan 26, 2022 · 5 comments
Closed

Enki crashes after install. #474

agoodfellow123 opened this issue Jan 26, 2022 · 5 comments

Comments

@agoodfellow123
Copy link

Hello there, I installed enki-editor-git to my arch system via AUR and tried to run it. It gave me this message repeatedly for at least fifteen times:

Traceback (most recent call last):

File "/usr/lib/python3.10/site-packages/qutepart/margins.py", line 78, in __updateRequest

self.update(0, rect.y(), self.width(), rect.height() + blockHeight)

TypeError: arguments did not match any overloaded call:

update(self): too many arguments

update(self, QRect): argument 1 has unexpected type 'int'

update(self, QRegion): argument 1 has unexpected type 'int'

update(self, int, int, int, int): argument 4 has unexpected type 'float'

I checked all the messages and they were all same. So far I tried to install enki on two computers, one arch one manjaro sadly both gave the same error. I also tried the non git version of the enki-editor on AUR. That gave a different error but crashed like the git version as well.

@dglent
Copy link
Contributor

dglent commented Jan 27, 2022

There is this fix in qutepart for python 3.10:
andreikop/qutepart@3dc01dc

@agoodfellow123
Copy link
Author

Thank you, I changed that file and that problem is solved however now when I try to open settings it gives me this error:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/enki/core/uisettings.py", line 417, in _onEditSettings
    dialog = UISettings(core.mainWindow())
  File "/usr/lib/python3.10/site-packages/enki/core/uisettings.py", line 315, in __init__
    self.resize(max(hint.width(), hint.height() * 1.61), hint.height())
TypeError: arguments did not match any overloaded call:
  resize(self, QSize): argument 1 has unexpected type 'float'
  resize(self, int, int): argument 1 has unexpected type 'float'

I checked out line 417 and 315 at uisettings however the lines seem to be identical with the git version. Also I informed AUR maintainers about the outdated qutepart version.

@andreikop
Copy link
Owner

@agoodfellow123 , thanks for the report and for AUR update. I'll try to fix the bug tomorrow morning.

@agoodfellow123
Copy link
Author

You are wellcome! And thank you for maintaining.

@andreikop
Copy link
Owner

@agoodfellow123, fixed this. But I will not be surprised if there are some similar mistakes in other places.

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