Preferences Bug


Today I imported my original collection package from a google drive to Anki on Fedora36 Linux. I received the following error message when I tried to access tools → preferences from the startup screen. The preferences window was a very important part of the interface for me on my original setup of Windows 11! Please address this as soon as possible.

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.11 Qt 5.15.8 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’

Anki 2.1.15 is quite old. Could you try the latest version and see if that works properly?


Please update this very old Anki version using a download from the Anki website. It is a known issue with this outdated version (likely distributed through package managers), that does not occur in recent versions.


Thank you guys! I uninstalled from the software hub, and installed again from the anki website! After some tweaks to the initial install, all is working well!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.