Back

Mighty Morphin Morphology

Whenever I try to do something with morphman, I get this error message:

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\Jenny\Documents\Anki\addons\morphman.py", line 6, in onMorphManRecalc
morph.main.main()
File "C:\Users\Jenny\Documents\Anki\addons\morph\main.py", line 199, in main
allDb = mkAllDb( cur )
File "C:\Users\Jenny\Documents\Anki\addons\morph\main.py", line 57, in mkAllDb
ms = getMorphemes( fieldValue )
File "C:\Users\Jenny\Documents\Anki\addons\morph\util.py", line 119, in __call__
value = self.func(*args)
File "C:\Users\Jenny\Documents\Anki\addons\morph\morphemes.py", line 82, in getMorphemes
ms = [ tuple( m.split('\t') ) for m in interact( e ).split('\r') ] # morphemes
File "C:\Users\Jenny\Documents\Anki\addons\morph\util.py", line 119, in __call__
value = self.func(*args)
File "C:\Users\Jenny\Documents\Anki\addons\morph\morphemes.py", line 66, in interact
p = mecab()
File "C:\Users\Jenny\Documents\Anki\addons\morph\util.py", line 119, in __call__
value = self.func(*args)
File "C:\Users\Jenny\Documents\Anki\addons\morph\morphemes.py", line 59, in mecab
if not MECAB_ENCODING: MECAB_ENCODING = getMecabEncoding()
File "C:\Users\Jenny\Documents\Anki\addons\morph\morphemes.py", line 54, in getMecabEncoding
return runMecabCmd( [ '-D' ] ).stdout.readlines()[2].lstrip( 'charset:' ).lstrip()
File "C:\Users\Jenny\Documents\Anki\addons\morph\morphemes.py", line 50, in runMecabCmd
s = subprocess.Popen( cmd + args, bufsize=-1, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, startupinfo=si )
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/subprocess", line 679, in __init__
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/subprocess", line 896, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified

and it confuses the heck out of me. This happens when I recalc morphman, extract morphenes, or view morphenes.

what should I do to fix it?

Thanks
Reply

Messages In This Thread