AttributeError: 'AnkiQt' object has no attribute 'flags'

I turned on Anki today and I got an error:

Error

An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.56 (bc697597) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0
Platform: Windows-10-10.0.19044
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2023-01-05 17:38:15
Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 43, in cmd
File “aqt.webview”, line 150, in _onCmd
File “aqt.webview”, line 620, in _onBridgeCmd
File “aqt.overview”, line 92, in _linkHandler
File “aqt.main”, line 688, in moveToState
File “aqt.main”, line 709, in _reviewState
File “aqt.reviewer”, line 153, in show
File “aqt.reviewer”, line 482, in _shortcutKeys
AttributeError: ‘AnkiQt’ object has no attribute ‘flags’

I’ve tried using Tools > Check Database but the text above appear again.

If you can reproduce it after restarting Anki, it would be great if you could attach a video showing how you start Anki and trigger it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.