# Anki not loading Preferences. Linux

**URL:** https://forums.ankiweb.net/t/anki-not-loading-preferences-linux/29196
**Category:** Help
**Created:** [April 9, 2023, 10:53am UTC](https://forums.ankiweb.net/t/anki-not-loading-preferences-linux/29196 "2023-04-09T10:53:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pedrogm](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@pedrogm](https://forums.ankiweb.net/u/pedrogm)
#### Post date: [April 9, 2023, 10:53am UTC](https://forums.ankiweb.net/t/anki-not-loading-preferences-linux/29196/1 "2023-04-09T10:53:09Z")

</div>

When I click tools-preferences an error message comes up inmediately:

```auto
Anki 2.1.15 (442df9d6) Python 3.11.2 Qt 5.15.8 PyQt 5.15.9
Platform: Linux
Flags: frz=False ao=False sv=1

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'

```

Computer details:  
Fedora Workstation 37, kernel 6.2.9  
Using GNOME 43.4 on Wayland  
Ryzen 3 3200G with Radeon Vega 8 Graphics

If you need more details or logs, please tell me.  
Is this a known bug?  
Maybe this is my or my system´s fault. If so, please tell me how can I fix this

---

<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: [April 9, 2023, 12:57pm UTC](https://forums.ankiweb.net/t/anki-not-loading-preferences-linux/29196/2 "2023-04-09T12:57:58Z")

</div>

This is a known error. Install a recent version from Anki‘s website, as your version is several years old (and was likely installed using a package manager). This should resolve your problem.

---

<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: [May 9, 2023, 12:58pm UTC](https://forums.ankiweb.net/t/anki-not-loading-preferences-linux/29196/3 "2023-05-09T12:58:19Z")

</div>

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