# Preferences Bug

**URL:** https://forums.ankiweb.net/t/preferences-bug/31262
**Category:** Help
**Created:** [June 15, 2023, 3:13pm UTC](https://forums.ankiweb.net/t/preferences-bug/31262 "2023-06-15T15:13:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SubvrsiVcode](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SubvrsiVcode](https://forums.ankiweb.net/u/SubvrsiVcode)
#### Post date: [June 15, 2023, 3:13pm UTC](https://forums.ankiweb.net/t/preferences-bug/31262/1 "2023-06-15T15:13:09Z")

</div>

Hello!

Today I imported my original collection package from a google drive to Anki on Fedora36 Linux. I received the following error message when I tried to access tools → preferences from the startup screen. The preferences window was a very important part of the interface for me on my original setup of Windows 11! Please address this as soon as possible.

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

Caught exception:  
File “/usr/share/anki/aqt/main.py”, line 881, 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: ![zrk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zrk/32/12696_2.png) [@zrk](https://forums.ankiweb.net/u/zrk)
#### Post date: [June 15, 2023, 4:22pm UTC](https://forums.ankiweb.net/t/preferences-bug/31262/2 "2023-06-15T16:22:18Z")

</div>

Anki 2.1.15 is quite old. Could you try the latest version and see if that works properly?

---

<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: [June 15, 2023, 4:23pm UTC](https://forums.ankiweb.net/t/preferences-bug/31262/3 "2023-06-15T16:23:27Z")

</div>

Please update this _very_ old Anki version using a [download from the Anki website](https://apps.ankiweb.net/). It is a known issue with this outdated version (likely distributed through package managers), that does not occur in recent versions.

---

<div class="post-metadata">

### Author: ![SubvrsiVcode](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SubvrsiVcode](https://forums.ankiweb.net/u/SubvrsiVcode)
#### Post date: [June 16, 2023, 6:17pm UTC](https://forums.ankiweb.net/t/preferences-bug/31262/4 "2023-06-16T18:17:59Z")

</div>

Thank you guys! I uninstalled from the software hub, and installed again from the anki website! After some tweaks to the initial install, all is working well!

---

<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: [July 16, 2023, 6:18pm UTC](https://forums.ankiweb.net/t/preferences-bug/31262/5 "2023-07-16T18:18:28Z")

</div>

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