Error when I try and make cards

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.38 (355e4cd5) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-12-30 09:10:37

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 35, in cmd
File “aqt\webview.py”, line 124, in _onCmd
File “aqt\webview.py”, line 569, in _onBridgeCmd
File “aqt\toolbar.py”, line 170, in _linkHandler
File “aqt\toolbar.py”, line 185, in addLinkHandler
File “aqt\main.py”, line 1042, in onAddCard
File "aqt_init
.py", line 100, in open
File “aqt\addcards.py”, line 42, in init
File “aqt\addcards.py”, line 59, in setupChoosers
File “aqt\modelchooser.py”, line 33, in init
File “aqt\modelchooser.py”, line 51, in setupModels
File “aqt\modelchooser.py”, line 103, in updateModels
File “anki\models.py”, line 149, in current
AttributeError: ‘NoneType’ object has no attribute ‘get’

Did you try the suggested Tools > Check Database menu item?

Also see When problems occur - Frequently Asked Questions

1 Like