Anki buggy on Linux Mint

New Installation of Linux Mint 21.2 and Anki and somehow I’m suddenly not able to use Anki properly. On export media data gets lost. And I cannot even click on preferences or add a new card style without getting an error. What to do?

Anki 2.1.15 (442df9d6) Python 3.10.12 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’

and

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

Caught exception:
File “/usr/share/anki/aqt/models.py”, line 83, in onAdd
m = AddModel(self.mw, self).get()
File “/usr/share/anki/aqt/models.py”, line 173, in init
if isinstance(name, collections.Callable):
<class ‘AttributeError’>: module ‘collections’ has no attribute ‘Callable’

https://faqs.ankiweb.net/when-problems-occur.html

The version you are trying to run is 4 years old. May I ask why you want to run such an old version? I generally notice a lot of users not updating Anki.

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