jdlorimer / chinese-support-redux

Anki add-on providing support for Chinese study
https://ankiweb.net/shared/info/1128979221
GNU General Public License v3.0
101 stars 50 forks source link

Bulk Fill Error #177

Open dynnamic opened 3 years ago

dynnamic commented 3 years ago

Can't seem to get Bulk Fill to work.

Bulk Fill>> All gives me the follow error

Traceback (most recent call last): File "/Users/xxxx/Library/Application Support/Anki2/addons21/1128979221/fill.py", line 96, in bulk_fill_all 'hanzi': get_hanzi(dict(note)), File "/Users/xxxx/Library/Application Support/Anki2/addons21/1128979221/hanzi.py", line 52, in get_hanzi return cleanup(get_first(config['fields']['hanzi'], note)) File "/Users/xxxx/Library/Application Support/Anki2/addons21/1128979221/util.py", line 69, in cleanup raise ValueError(text) ValueError: None

Could this be related to the fact that many of the cards have formatting from the previous rendition of the Chinese Support Addon?

Thanks

jdlorimer commented 3 years ago

I'm fairly confident I have this fixed in the current version, which will go up on AnkiWeb later today.

I'll leave this open in case you still have issues.

joeminicucci commented 3 years ago

@dynnamic Can you confirm if you are still experiencing issues?

spolcyn commented 2 years ago

@joeminicucci I can confirm that I'm still experiencing this issue with Anki 2.1.44 and CSR v0142

spolcyn commented 2 years ago

@joeminicucci Added a PR that should fix this for usage (see #196)