kaegi / MorphMan

Anki plugin that reorders language cards based on the words you know
Other
262 stars 66 forks source link

Recalc error #150

Open ghost opened 4 years ago

ghost commented 4 years ago

Caught exception: Traceback (most recent call last): File "/home/yaoberh/.local/share/Anki2/addons21/900801631/init.py", line 14, in onMorphManRecalc main.main() File "/home/yaoberh/.local/share/Anki2/addons21/900801631/morph/main.py", line 443, in main knownDb = updateNotes(allDb) File "/home/yaoberh/.local/share/Anki2/addons21/900801631/morph/main.py", line 395, in updateNotes mw.col.db.executemany( File "anki/dbproxy.py", line 93, in executemany File "anki/rsbackend.py", line 224, in db_execute_many File "anki/rsbackend.py", line 242, in _db_command anki.rsbackend.StringError: JSONError { info: "invalid type: map, expected a sequence" }

MichalMichalak commented 4 years ago

This solves it: https://github.com/kaegi/MorphMan/issues/133#issuecomment-636299262

landonepps commented 4 years ago

I just updated the version on AnkiWeb, so it should include the change.

Edit: I just realized I don't have write access so I can't merge #125 But I updated the AnkiWeb version to include it.