Hey, I created an addon for my own work and it is not published on anki’s website. The objective of the addon is to populate a field at the time of the answer with text from a different card.
When I run Anki, the addon doesn’t work but when I run Anki from the command line then the addon works.
This is how I am running Anki. If I run it this way, the addon works.
$ /Applications/Anki.app/Contents/MacOS/anki
Anki starting...
Initial setup...
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run...
DevTools listening on ws://127.0.0.1:8080/devtools/browser/6e007704-4706-4515-bff7-93ec8b5eb399
Does anyone know why this might be happening?
PS: Please feel free to give me feedback on the addon; it is the first time I have built something for Anki and I sure there are gaps in my implementation. Thank you!
You don’t need to use the reviewer_did_answer_card hook here. The text was not showing up in the first card because of it, and I suspect it can cause other issues.