htadashi / anki-kanji-wallpaper-generator

An Anki addon for automatically generating wallpapers containing the kanji tagged as learning (or a custom tag) in Anki notes.
GNU General Public License v3.0
6 stars 0 forks source link

Error generating wallpapers #2

Open ghost opened 6 years ago

ghost commented 6 years ago

I got this error when trying to generate a deck:

An error occurred in an add-on. Please post on the add-on forum: https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last): File "C:\Users\my username\AppData\Roaming\Anki2\addons\kanjiwallpapers.py", line 302, in createSettingsDialog start_generation() File "C:\Users\my username\AppData\Roaming\Anki2\addons\kanjiwallpapers.py", line 418, in start_generation generate_wallpaper(note[_pattern]) File "anki\notes.py", line 98, in getitem File "anki\notes.py", line 95, in _fieldOrd KeyError: u'Kanji'

htadashi commented 5 years ago

Couldn't reproduce the error. Could you send me your deck? I suspect that the problem is an incorrect value in the text field 'Kanji field' (note that this field is case sensitive).