Game2Text-Lightning icon indicating copy to clipboard operation
Game2Text-Lightning copied to clipboard

List index out of range when selecting a deck or model for Anki, decks and models listed multiple times

Open mattp12 opened this issue 2 years ago • 0 comments

When selecting a deck or model to use with AnkiConnect, the console output gives error Traceback (most recent call last): File "main.py", line 63, in <module> File "main.py", line 59, in main File "C:\Users\user\Documents\Game2Text-Lightning\src\main\python\control_panel.py", line 85, in select_model IndexError: list index out of range

I have also noticed that the listed decks and models are listed multiple times: https://i.imgur.com/9IgPhmt.png I can only assume that an Anki update has broken this in some way.

There also is an error when adding to a deck, but this is probably due to the error mentioned above. ERROR:root:Anki field value map not configured created None

I am on Windows 11.

mattp12 avatar Mar 26 '23 01:03 mattp12