FooSoft / yomichan

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

Issues when basic dynamic values are used in field #992

Closed kanjieater closed 3 years ago

kanjieater commented 3 years ago

Here is my setup: image

I want to add the word to anki: image

The green buttons are disabled. If I replace {expression} with static text "something static", the green button does work again.

Yomichan v20.9.28.1 Latest AnkiConnect

toasted-nutbread commented 3 years ago

Does this happen for all terms, including any that you are 100% sure does not exist anywhere in your collection?

Also might be helpful to test the templates, just to make sure nothing is breaking there. On the settings page, enable advanced options, then near the bottom of the Anki options, test the {expression} (or other) marker.

image

toasted-nutbread commented 3 years ago

Additionally: can you export your settings file and share that here? Sometimes something else in there causes this problem.

toasted-nutbread commented 3 years ago

And what version of Anki (not AnkiConnect) are you using? While looking into #993, I noticed an issue that could potentially cause this problem.

kanjieater commented 3 years ago

And what version of Anki (not AnkiConnect) are you using? While looking into #993, I noticed an issue that could potentially cause this problem.

I'm on: Version 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1 Windows 10

Does this happen for all terms, including any that you are 100% sure does not exist anywhere in your collection?

Also might be helpful to test the templates, just to make sure nothing is breaking there. On the settings page, enable advanced options, then near the bottom of the Anki options, test the {expression} (or other) marker.

image

image It won't generate for me currently when I press play.

Additionally: can you export your settings file and share that here? Sometimes something else in there causes this problem.

yomichan-settings-2020-11-06-22-50-59.zip

kanjieater commented 3 years ago

It looks like the issue was on my end. My template was blank, so I reset it, and now it generates on play, and the popup shows green buttons.