jeffberhow Wrote:Hello, I'm having an issue with the UnboundError that others have had without a clear solution. The UnboundError is "local variable 'tagNames' referenced before assignment"I recall getting this error when I had no enabled decks.
I am using the deck "Genki 1 & 2 Second Edition" to test this plugin, and have changed the note type to Japanese-65563 and it has an Expression field which is the default morph_field in config.py. So, my config.py is vanilla, except for the override below
model_overrides = {
'subs2srs': { 'enabled':True },
'JtMW': { 'enabled':True },
'Genki 1 & 2 Second Edition':{'enabled':True},
}
I have read the wiki and watched the video to see if there was anything else I could do, but I must have missed something.
I am using Anki Version 2.0.28 and MorphMan v3.3.
Thanks in advance.
edit: I noticed in main.py tagNames should get assigned in this bit:
compTag, vocabTag, notReadyTag, alreadyKnownTag = tagNames = C('tag_comprehension'), C('tag_vocab'), C('tag_notReady'), C('tag_alreadyKnown')
So, I wanted to say, I have tagged cards with alreadyKnown in the Browser and via 'k' while studying.
In 'model_overrides' you have to use the card model name rather than the deck name, e.g.
model_overrides = {
'subs2srs': { 'enabled':True },
'JtMW': { 'enabled':True },
'Japanese-65563':{'enabled':True},
}
