animebook / animebook.github.io

In-browser video player for learning Japanese with subtitles
https://animebook.github.io
MIT License
268 stars 30 forks source link

Search error each time I use the extension #23

Closed kappitanKappa closed 3 years ago

kappitanKappa commented 3 years ago

First of all, great job, the workflow is fairly easy to set-up and it's stupid fast. However, each time I use the extension, Anki throws an error saying the search isn't valid (though oddly enough, it seems to search correctly anyway, it just throws the error on top of it). It would be great to add an option not to search at all, too.

soamsy commented 3 years ago

Is the error coming from the animebook page or anki? If it's anki, what version of anki are you using? Got a screenshot?

I'm going to add an option not to search at all in #20 by the way.

kappitanKappa commented 3 years ago

The error was coming from Anki, I was on ver. 2.1.22, updated to 2.1.40 and the error no longer appears, so I guess this thread is a bit useless now... I still attached a screenshot of the error just in case. Thanks! anki_err

soamsy commented 3 years ago

Oh, thanks! I did happen to notice a typing mistake in one of the queries I was sending to Anki, and it may have been coincidentally working in the later versions of Anki, but not in 2.1.22. I fixed it, so once I get a new release out, hopefully other people won't have to run into this.