FooSoft / yomichan

Japanese pop-up dictionary extension for Chrome and Firefox.
https://foosoft.net/projects/yomichan
Other
1.06k stars 213 forks source link

Cloze-suffix not importing to Anki cards #1094

Closed kbrotkowski closed 3 years ago

kbrotkowski commented 3 years ago

I'm having trouble with cloze-suffix failing to import to Anki. Cloze-body and cloze-prefix transfer over fine, but the suffix field always ends up empty in the cards.

I've tried uninstalling Yomichan and Ankiconnect, as well as making a new deck to import cards into without success.

Any other suggestions would be appreciated. Thank you!

toasted-nutbread commented 3 years ago

What version of Yomichan are you using? What browser are you on? Can you export and share your settings file and an example sentence that exhibits the issue?

kbrotkowski commented 3 years ago

I'm using 20.11.1.1 on Firefox 83.0. I see there's a new release but it seems it hasn't been updated for Firefox yet. I've attached the settings file as a .txt because Github doesn't like .json. Hopefully that doesn't break anything... Let me know if you need it uploaded a different way. I can zip it or something.

Here's an example from this page with the term bolded: https://www3.nhk.or.jp/news/easy/k10012756431000/k10012756431000.html

女性は、近所の母親に頼んで、消毒に使うアルコールやゴムの手袋、紙の皿、割り箸、レトルト食品を買ってきてもらいました。

And a screenshot of the resulting card in browser view: image

yomichan-settings-2020-12-12-03-21-37.txt

toasted-nutbread commented 3 years ago

Check your Anki card field config; one of the field names is incorrect ("close-suffix" instead of "cloze-suffix")

kbrotkowski commented 3 years ago

Yep, that was it. I would have never figured that out by myself. I remember realizing I misspelled it in Anki, changed the field name, but never regenerated the card config in Yomichan's settings.

Thanks very much for the help.