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

Type error in core/garbage_collector.py #702

Open
sidneycadot opened this issue Aug 5, 2022 · 0 comments
Open

Type error in core/garbage_collector.py #702

sidneycadot opened this issue Aug 5, 2022 · 0 comments

Comments

@sidneycadot
Copy link

sidneycadot commented Aug 5, 2022

In core/garbage_collector.py, a QTimer's start method is called with a float argument which should be an int argument. Probably in earlier versions of Python/PyQt5 this was implicitly handled, but at least in Python 3.10.6 this halts with a TypeError exception.

To fix, change core/garbage_collector.py line 46 from

self.timer.start(interval * 1000)

To

self.timer.start(round(interval * 1000))
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

1 participant