I am using anki 2.1.56 QT6, whenever I open browser I get the below error, but if I close it and click on the browser again I can open it, so why am I getting this error?
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 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0
Platform: Windows-10-10.0.19044
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-02-05 21:42:41
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 “decorator”, line 232, in fun
File “anki.hooks”, line 89, in decorator_wrapper
File “anki.hooks”, line 86, in repl
File "C:\Users\YashBhai\AppData\Roaming\Anki2\addons21\907028815_init.py", line 623, in myLinkHandler
return _old(self, url)
File “aqt.toolbar”, line 168, in _linkHandler
File “aqt.toolbar”, line 186, in _browseLinkHandler
File “aqt.main”, line 1167, in onBrowse
File “aqt”, line 132, in open
File “decorator”, line 232, in fun
File “anki.hooks”, line 89, in decorator_wrapper
File “anki.hooks”, line 80, in repl
File “aqt.browser.browser”, line 137, in init
File “aqt.browser.browser”, line 336, in setupMenus
File “_aqt.hooks”, line 935, in call
File “anki.hooks”, line 34, in runHook
File “C:\Users\YashBhai\AppData\Roaming\Anki2\addons21\Fastbar\fastbar.py”, line 70, in addToolBar
tb.setToolButtonStyle(3)
TypeError: setToolButtonStyle(self, Qt.ToolButtonStyle): argument 1 has unexpected type ‘int’