Anki Forums

Error Message when clicking the "Cards..." button in browser

Does anyone know how to fix the following error message? The first time this message popped up, it told me to disable all of my addons and try again. After doing this, this message now pops up with the “check database” suggestion. I’ve clicked that, but that still doesn’t fix the issue. I’m trying to edit the card design on some of my cards, but anki isn’t letting me press the “cards” button in the browser for some reason. Does anyone have any suggestions on what to do? The error message is below:

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.25 (898801eb) Python 3.8.1 Qt 5.9.7 PyQt 5.13.2
Platform: Mac 10.11.6
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-09-24 23:17:16

Caught exception:
Traceback (most recent call last):
File “aqt/webview.py”, line 464, in handler
File “aqt/editor.py”, line 475, in
File “aqt/editor.py”, line 356, in _onCardLayout
File “aqt/clayout.py”, line 69, in init
File “aqt/clayout.py”, line 90, in redraw
File “aqt/clayout.py”, line 298, in onCardSelected
File “aqt/clayout.py”, line 311, in readCard
AttributeError: ‘QTextEdit’ object has no attribute ‘setTabStopDistance’

Try installing the latest version from the download site: https://apps.ankiweb.net/

1 Like