Anki process does not finish

(Newest Anki Version ⁨24.04.1 (ccd9ca1a)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 on Linux with HyperTTS addon)

After clicking on the close window button, the Anki window vanishes, but the application still runs:

Window should have been closed: <aqt.progress.ProgressDialog object at 0x7f48f81da280>
2024-05-31 09:22:39,287:WARNING:waitress: unhandled close event
Error in sys.excepthook:
TypeError: ‘NoneType’ object is not callable

Original exception was:
Traceback (most recent call last):
File “aqt.taskman”, line 142, in _on_closures_pending
File “aqt.taskman”, line 86, in
File “aqt.progress”, line 239, in do_window_cleanup
RuntimeError: wrapped C/C++ object of type QTimer has been deleted

The application must be killed in a task manager. If not, the application runs endlessly and a new start of Anki does not work:

Already running; reusing existing instance.

This happens also with all addons deactivated.

You can easily create this situation: start Anki, open a deck, answer a card, rate the answer, and close the window. Very often - but not always - the above described situation occurs.

What can I do to avoid this behavior?

Related: Anki 24.04.1 Doesn't Close Properly

3 Likes

No answers? Am I the only one who experiences this?

I made a post about it before explaining how it happens:

It’s been fixed in the beta version, download 24.06rc1 from github

2 Likes

Thank you, the beta version does work properly as far as I can see it now.