Unlucky-Life / ankimon

Ankimon is a Anki Addon to Gamify your learning experience
Other
38 stars 4 forks source link

Error that always happens when I update or click to see the answer #51

Closed ankiman1 closed 3 months ago

ankiman1 commented 3 months ago

Hi. In the last days i warned an unusual error. All the times that I click "y" to sync anki appear a window that say:

"An error occured in reviewer: unsupported operand type(s) for -=: 'int' and 'NoneType' "

everything seems to be ok, Is it probably an add-on conflict ?

the window also appear when i see the retro of a card ( when i try to answer the card)

Unlucky-Life commented 3 months ago

Ok, this seems to be a move error maybe - could please send your mypokemon.json file here and your mainpokemon.json file. That would help alot recreating this error! @ankiman1

ankiman1 commented 3 months ago

mainpokemon.json mypokemon.json

Unlucky-Life commented 3 months ago

@ankiman1 i found the issue - the issue the move "bide",from your Meditite=> some moves dont have a working effect yet and therefore cause issues. You could simplay replace the move bide with a different one through "remember attacks" and this issue should be solved.