Options button doesn't work

I just downloaded Anki on Linux Mint, and the Options buttons don’t work. Here’s the error message:
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.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/webview.py”, line 27, in cmd
return json.dumps(self.onCmd(str))
File “/usr/share/anki/aqt/webview.py”, line 87, in _onCmd
return self._onBridgeCmd(str)
File “/usr/share/anki/aqt/webview.py”, line 386, in _onBridgeCmd
return self.onBridgeCmd(cmd)
File “/usr/share/anki/aqt/overview.py”, line 43, in _linkHandler
self.mw.onDeckConf()
File “/usr/share/anki/aqt/main.py”, line 869, in onDeckConf
aqt.deckconf.DeckConf(self, deck)
File “/usr/share/anki/aqt/deckconf.py”, line 25, in init
self.setupConfs()
File “/usr/share/anki/aqt/deckconf.py”, line 49, in setupConfs
self.loadConfs()
File “/usr/share/anki/aqt/deckconf.py”, line 66, in loadConfs
self.onConfChange(startOn)
File “/usr/share/anki/aqt/deckconf.py”, line 89, in onConfChange
self.loadConf()
File “/usr/share/anki/aqt/deckconf.py”, line 175, in loadConf
f.lrnFactor.setValue(c[‘initialFactor’]/10.0)
<class ‘TypeError’>: setValue(self, int): argument 1 has unexpected type ‘float’

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.

2 Likes

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