Anki not loading Preferences. Linux

When I click tools-preferences an error message comes up inmediately:

Anki 2.1.15 (442df9d6) Python 3.11.2 Qt 5.15.8 PyQt 5.15.9
Platform: Linux
Flags: frz=False ao=False sv=1

Caught exception:
  File "/usr/share/anki/aqt/main.py", line 881, in onPrefs
    aqt.dialogs.open("Preferences", self)
  File "/usr/share/anki/aqt/__init__.py", line 82, in open
    instance = creator(*args)
               ^^^^^^^^^^^^^^
  File "/usr/share/anki/aqt/preferences.py", line 25, in __init__
    self.setupCollection()
  File "/usr/share/anki/aqt/preferences.py", line 80, in setupCollection
    f.lrnCutoff.setValue(qc['collapseTime']/60.0)
<class 'TypeError'>: setValue(self, int): argument 1 has unexpected type 'float'

Computer details:
Fedora Workstation 37, kernel 6.2.9
Using GNOME 43.4 on Wayland
Ryzen 3 3200G with Radeon Vega 8 Graphics

If you need more details or logs, please tell me.
Is this a known bug?
Maybe this is my or my system´s fault. If so, please tell me how can I fix this

This is a known error. Install a recent version from Anki‘s website, as your version is several years old (and was likely installed using a package manager). This should resolve your problem.

2 Likes

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