# Error when clicking on options item in a deck

**URL:** <https://forums.ankiweb.net/t/error-when-clicking-on-options-item-in-a-deck/30628>\
**Category:** Help\
**Created:** [May 25, 2023, 10:35pm UTC](https://forums.ankiweb.net/t/error-when-clicking-on-options-item-in-a-deck/30628 "2023-05-25T22:35:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagogualberto](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/thiagogualberto/32/14515_2.png) [@thiagogualberto](https://forums.ankiweb.net/u/thiagogualberto)\
**Post date:** [May 25, 2023, 10:35pm UTC](https://forums.ankiweb.net/t/error-when-clicking-on-options-item-in-a-deck/30628/1 "2023-05-25T22:35:04Z")

</div>

I’m trying to open the options item of a deck and it shows the error below. I already tried what is in the error description, but it doesn’t solve it.

Erro  
Ocorreu um erro. Por favor, vá para Ferramentas \> Verificar Banco de Dados para ver se isso corrige o problema.  
Se o problema persistir, por favor relate-o em nossa página de ajuda. Copie e cole a informação abaixo dentro de seu relatório.  
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=2

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:** [May 26, 2023, 4:53am UTC](https://forums.ankiweb.net/t/error-when-clicking-on-options-item-in-a-deck/30628/2 "2023-05-26T04:53:47Z")

</div>

This is a known issue with this very old version that can be resolved by updating to a more recent version from the website.

---

<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 25, 2023, 4:54am UTC](https://forums.ankiweb.net/t/error-when-clicking-on-options-item-in-a-deck/30628/3 "2023-06-25T04:54:47Z")

</div>

Closed on June 25, 2023, 4:54am UTC

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