ryuudou Wrote:Yes. Is the first step not to create a database?
The first step is to edit config.py so it looks at the right fields for your cards. Then ctrl-m to have it calculate.
ryuudou Wrote:Also am I correct in that the add-on hasn't been updated since October 2012 according to the Anki add-on respiratory? I may be using the wrong version.
Correct. I believe it's version 3.1
Quote:An error occurred in an add-on. Please contact the add-on author.
Traceback (most recent call last):
File "C:\Users\Reason\Documents\Anki\addons\morphman.py", line 6, in onMorphManRecalc
morph.main.main()
File "C:\Users\Reason\Documents\Anki\addons\morph\main.py", line 188, in main
allDb = mkAllDb( cur )
File "C:\Users\Reason\Documents\Anki\addons\morph\main.py", line 49, in mkAllDb
fieldValue = getMecabField( fieldName, flds, mid )
File "C:\Users\Reason\Documents\Anki\addons\morph\main.py", line 23, in getMecabField
return stripHTML( splitFields( flds )[ idx ] )
TypeError: list indices must be integers, not NoneType
Thanks, from this I can tell the issue is that it's looking for a field that doesn't exist on some card. Since others have had this issue as well, I'll update the error message for the next version so this is more clear.
ryuudou Wrote:Apparently there's no log file in either the "addons" folder or the in "morph" folder within the "addons" folder. If you need config.py let me know.
Not sure why you can't find the log file (maybe it's not created until you get further along?), but no matter since the error message makes it clear to me what the problem is.
The issue should be with your config.py not being correct for your anki collection. If it hasn't changed from the default, this most likely means you have cards that don't have an 'Expression' field, so either disable morphman for those cards, change the fields morphman looks at, or rename the fields, whichever is applicable.
If you can't figure it out, please provide your config.py and describe the models in your collection and their fields.