Errors after re-installation on Linux

Good morning,

I re-installed my computer and Anki and the program seems to work fine but after downloading my DB from the web and while trying to access preferences, I get an error message (see here below), it suggest me to verify the DB which I do but the problem remains…
Could you help me please?

Thanks a lot !

error message (trying to open preferences)

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.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’

1 Like

Great ! thanks a lot, I’ll try that.

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