Back

Mighty Morphin Morphology

#48
vix86 Wrote:See edit.

Traceback (most recent call last):
File "C:\Users\vix\AppData\Roaming\.anki\plugins\morph\util.py", line 63, in
ed.connect( a, SIGNAL('triggered()'), lambda e=ed: doOnSelection( e, overviewMsg, progMsg, preF, perF, postF ) )
File "C:\Users\vix\AppData\Roaming\.anki\plugins\morph\util.py", line 54, in doOnSelection
postF( st )
File "C:\Users\vix\AppData\Roaming\.anki\plugins\morph\exportMorphemes.py", line 24, in post
m.mergeFiles( st['filePath'], util.knownDbPath, util.knownDbPath )
File "C:\Users\vix\AppData\Roaming\.anki\plugins\morph\morphemes.py", line 120, in mergeFiles
a, b = loadDb( aPath ), loadDb( bPath )
File "C:\Users\vix\AppData\Roaming\.anki\plugins\morph\morphemes.py", line 60, in loadDbU
buf = open( path, 'rb' ).read().decode('utf-8')
IOError: [Errno 2] No such file or directory: 'C:\\Users\\vix\\AppData\\Roaming\\.anki\\plugins\\morph\\dbs\\known.db'

Edit: Not Python's fault. There just simply isn't a 'known.db' file there.
Yep, there's a little mishandling in that case.

Workaround is to export morphenes to known.db first.
Reply

Messages In This Thread