Error at start properties

Anki 2.1.15 (442df9d6) Python 3.10.6 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=1

Caught exception:
File “/usr/share/anki/aqt/main.py”, line 882, 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’

any idea?

Thank you and kind regards
Andreas

We have seen a lot of issues caused by the customized versions of Anki distributed by Linux distributions:

  • Sometimes the version of Anki they distribute is years old, or is an alpha/beta version not intended for stable release. Distributions will often disable the built-in update check as well, to prevent you from being notified of newer versions.
    Linux Distro Packages - Anki Manual

Compiled builds of Anki are available on https://apps.ankiweb.net. Most of the necessary libraries are included, and Anki has been tested to work with these library versions. If you’re experiencing issues with your distro’s version, the first thing you should try is switching to the latest packaged version we provide.

1 Like

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