I see an error when I select Tools > Preferences.
The message says to check the database. No errors are reported & it does not fix the problem.
The database is an SQLite3 db in /home//.local/share/anki2.
I have read/write permission on this folder & on the database. Don’t know what permissions the database itself may have on its tables etc.
Exited Anki, renamed the databsse & restarted Anki. As expected, it created a new database with default settings. The error on Tools > Preferences continued.
Running Ubuntu 22.04. Installed Anki from Ubuntu’s Discover package manager.
The message follows.
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
Flags: frz=False ao=False sv=1
File “/usr/share/anki/aqt/main.py”, line 882, in onPrefs
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
File “/usr/share/anki/aqt/preferences.py”, line 80, in setupCollection
<class ‘TypeError’>: setValue(self, int): argument 1 has unexpected type ‘float’