ERROR on anki with no add ons

I HAVE NO ADD ONS
and I HAVE HIT CHECK DATABASE
AND THIS ERROR PERSISTS
I HAVE RESTARTED AS WELL AND SHUT DOWN
WHY IS THIS HAPPENING
AND I HAVE THE NEWER VERSION OF ANKI

An error occurred. Please use Tools > Check Database to see if that fixes the problem.

Anki 2.1.53 (96bacf79) Python 3.9.7 Qt 6.3.0 PyQt 6.3.0

Platform: Mac 10.15.7

Flags: frz=True ao=False sv=2

Add-ons, last update check: 2022-06-10 12:06:11

Caught exception:

Traceback (most recent call last):

File “aqt.webview”, line 563, in handler

File “aqt.reviewer”, line 727, in _onTypedAnswer

File “aqt.reviewer”, line 403, in _showAnswer

File “aqt.reviewer”, line 782, in _showEaseButtons

File “aqt.reviewer”, line 869, in _answerButtons

File “aqt.reviewer”, line 855, in but

File “aqt.reviewer”, line 879, in _buttonTime

File “anki.scheduler.v2”, line 1149, in nextIvlStr

File “anki.scheduler.v2”, line 1044, in nextIvl

File “anki.scheduler.v2”, line 916, in _nextRevIvl

TypeError: ‘>’ not supported between instances of ‘NoneType’ and ‘int’

It looks like the hard factor in your config is unset, which is strange (considering that, if it was really unset, a default value should be used instead…). Could you open the deck settings of the deck you were studying when this error occurred and post the value of “Hard Interval”. Also, does changing that value help (for instance, you could set it back to its default value 1.20)?

For reference, this is where Anki is failing.

1 Like

If you’re still having trouble, one way to work around it would be to enable the v3 scheduler in the preferences, as I think it should handle issues like this more robustly.