# Getting error when trying to change Anki Options

**URL:** <https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127>\
**Category:** Help\
**Created:** [July 15, 2023, 10:01am UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127 "2023-07-15T10:01:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![magunto](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@magunto](https://forums.ankiweb.net/u/magunto)\
**Post date:** [July 15, 2023, 10:01am UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127/1 "2023-07-15T10:01:19Z")

</div>

When trying to access Anki options (or dech options) getting following error. It suggest to do “check database” - done this several times, database is good. The problem still persists.  
Please help!

"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 (Ubuntu 22.04.2)  
Flags: frz=False ao=False sv=1

Caught exception:  
File “/usr/share/anki/aqt/deckbrowser.py”, line 213, in   
a.triggered.connect(lambda b, did=did: self.\_options(did))  
File “/usr/share/anki/aqt/deckbrowser.py”, line 242, in \_options  
self.mw.onDeckConf()  
File “/usr/share/anki/aqt/main.py”, line 869, in onDeckConf  
aqt.deckconf.DeckConf(self, deck)  
File “/usr/share/anki/aqt/deckconf.py”, line 25, in **init**  
self.setupConfs()  
File “/usr/share/anki/aqt/deckconf.py”, line 49, in setupConfs  
self.loadConfs()  
File “/usr/share/anki/aqt/deckconf.py”, line 66, in loadConfs  
self.onConfChange(startOn)  
File “/usr/share/anki/aqt/deckconf.py”, line 89, in onConfChange  
self.loadConf()  
File “/usr/share/anki/aqt/deckconf.py”, line 175, in loadConf  
f.lrnFactor.setValue(c[‘initialFactor’]/10.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:** [July 15, 2023, 10:09am UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127/2 "2023-07-15T10:09:03Z")

</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:** ![magunto](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@magunto](https://forums.ankiweb.net/u/magunto)\
**Post date:** [July 15, 2023, 10:46am UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127/3 "2023-07-15T10:46:59Z")

</div>

Ok, downloaded the new version from the website (has to be Qt5 as QT6 doesn’t seem to work). Installed the new anki and now able to edit features. But now I don’t see any decks - it’s empty. Imported the database from previous anki (no errors), but still app doesn’t show any decks to study … :(((

 ![Screenshot 2023-07-15](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/6/6a9cda127a3afe9ba55b559f60f38bd97a1b348c.jpeg)

---

<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:** [July 15, 2023, 1:05pm UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127/4 "2023-07-15T13:05:00Z")

</div>

[https://faqs.ankiweb.net/when-problems-occur.html](https://faqs.ankiweb.net/when-problems-occur.html)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [July 17, 2023, 2:35am UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127/5 "2023-07-17T02:35:39Z")

</div>

Please also see [Blank Main Window - Anki Manual](https://docs.ankiweb.net/platform/linux/blank-window.html)

---

<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:** [August 16, 2023, 2:36am UTC](https://forums.ankiweb.net/t/getting-error-when-trying-to-change-anki-options/32127/6 "2023-08-16T02:36:38Z")

</div>

Closed on August 16, 2023, 2:36am UTC

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