# Anki Preferences won't open

**URL:** <https://forums.ankiweb.net/t/anki-preferences-wont-open/30423>\
**Category:** Help\
**Created:** [May 19, 2023, 1:34pm UTC](https://forums.ankiweb.net/t/anki-preferences-wont-open/30423 "2023-05-19T13:34:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EriiM](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@EriiM](https://forums.ankiweb.net/u/EriiM)\
**Post date:** [May 19, 2023, 1:34pm UTC](https://forums.ankiweb.net/t/anki-preferences-wont-open/30423/1 "2023-05-19T13:34:54Z")

</div>

Error information below, already checked in " tools - check database " and the issue still remains

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’

---

<div class="post-metadata">

**Author:** ![ferophila](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/ferophila/32/10566_2.png) [@ferophila](https://forums.ankiweb.net/u/ferophila)\
**Post date:** [May 19, 2023, 1:43pm UTC](https://forums.ankiweb.net/t/anki-preferences-wont-open/30423/2 "2023-05-19T13:43:17Z")

</div>

It is a known issue that can be resolved by upgrading to a recent version from the [website](https://apps.ankiweb.net/). Your Anki version is several years old.

---

<div class="post-metadata">

**Author:** ![EriiM](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@EriiM](https://forums.ankiweb.net/u/EriiM)\
**Post date:** [May 19, 2023, 2:05pm UTC](https://forums.ankiweb.net/t/anki-preferences-wont-open/30423/3 "2023-05-19T14:05:00Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 18, 2023, 2:05pm UTC](https://forums.ankiweb.net/t/anki-preferences-wont-open/30423/4 "2023-06-18T14:05:48Z")

</div>

Closed on June 18, 2023, 2:05pm UTC

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