Can't access preferences on Anki desktop

Hi guys,

I downloaded Anki from Fedora’s package manager. When I try and open the preferences I get the following 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.15 (442df9d6) Python 3.10.7 Qt 5.15.6 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=2

Caught exception:
  File "/usr/share/anki/aqt/", line 881, in onPrefs"Preferences", self)
  File "/usr/share/anki/aqt/", line 82, in open
    instance = creator(*args)
  File "/usr/share/anki/aqt/", line 25, in __init__
  File "/usr/share/anki/aqt/", line 80, in setupCollection
<class 'TypeError'>: setValue(self, int): argument 1 has unexpected type 'float'

I checked the database and it said it was good. I looked at it with sqlite3 but didn’t see anything obvious.

Any suggestions? Thanks in advance

Anki versions from package managers are often outdated and so is yours (three year old version). Please download a more recent version from the website ( and see if the error persists.