Ajatt-Tools / Japanese

🍚 Automatically generate furigana and other data on Anki cards.
https://ankiweb.net/shared/info/1344485230
GNU Affero General Public License v3.0
34 stars 7 forks source link

"generate furigana in the field" results with "inconsistent state" for a new note #10

Closed notaz closed 8 months ago

notaz commented 8 months ago

I have the "Furigana button" (振) enabled, and whenever I press it on the "Add" dialog, Anki throws "your database appears to be in a inconsistent state" message box, and the terminal prints "No such note: '0'". The button works fine if I edit an existing note. It seemed to break on some update as it used to work fine some time ago.

Seems to be related to #9. I use Anki 23.12.1 with the latest AJT from ankiweb.

tatsumoto-ren commented 8 months ago

Please read: issue.md

This is caused by the work related to https://github.com/Ajatt-Tools/Japanese/issues/7 and needs fixing.