Error anki (ubuntu)

hello I’m getting this error when i try and go into my options for a specific deck.
not quite sure what to do or how to fix it. I’ve also been having issues with add-ons. i had to delete them all for anki to work properly.

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.4 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=2

Caught exception:
  File "/usr/share/anki/aqt/", line 27, in cmd
    return json.dumps(self.onCmd(str))
  File "/usr/share/anki/aqt/", line 87, in _onCmd
    return self._onBridgeCmd(str)
  File "/usr/share/anki/aqt/", line 386, in _onBridgeCmd
    return self.onBridgeCmd(cmd)
  File "/usr/share/anki/aqt/", line 43, in _linkHandler
  File "/usr/share/anki/aqt/", line 869, in onDeckConf
    aqt.deckconf.DeckConf(self, deck)
  File "/usr/share/anki/aqt/", line 25, in __init__
  File "/usr/share/anki/aqt/", line 49, in setupConfs
  File "/usr/share/anki/aqt/", line 66, in loadConfs
  File "/usr/share/anki/aqt/", line 89, in onConfChange
  File "/usr/share/anki/aqt/", line 175, in loadConf
<class 'TypeError'>: setValue(self, int): argument 1 has unexpected type 'float'

after looking up some stuff, it looks like the anki repo is out of date.
i had to install the 2.1.51-qt6 version of anki on the website. the qt5 version gave me a blank screen. due to incompatible libraries.

anyway i think everything is fixed now.

1 Like