If you have questions/suggestions/bug reports regarding this add-on, feel free to post them here.
not working with anki 23.10.1
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When youâve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 6.6.0 PyQt 6.6.0
Platform: Windows-10-10.0.22631
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-12-02 21:19:48
Add-ons possibly involved: â¨Tag StatisticsâŠ
Caught exception:
Traceback (most recent call last):
File âaqt.webviewâ, line 50, in cmd
File âaqt.webviewâ, line 157, in _onCmd
File âaqt.webviewâ, line 686, in _onBridgeCmd
File âaqt.toolbarâ, line 411, in linkHandler
File "C:\Users\Salman\AppData\Roaming\Anki2\addons21\1909213926_init.py", line 31, in open_main_window
dialog = MainDialog(aqt.mw.app.activeWindow())
File âC:\Users\Salman\AppData\Roaming\Anki2\addons21\1909213926\window.pyâ, line 25, in init
QDialog.init(self, parent, Qt.WindowMaximizeButtonHint|Qt.WindowMinimizeButtonHint|Qt.WindowCloseButtonHint)
AttributeError: type object âQtâ has no attribute âWindowMaximizeButtonHintâ
I think this is now QtConst.WindowMaximizeButtonHint in more recent versions of PyQt, no?
I think the approved way of handling this for Anki add-ons would be simply
from aqt.qt import WindowMaximizeButtonHint
but Iâm not the author of this add-on and I havenât actually tried the above.
The author might find this link useful: