Hey I am completely new to Anki Add-Ons and started to follow this Getting Started Guide: https://addon-docs.ankiweb.net/#/getting-started?id=add-on-folders
But after starting Anki via the Command Line in PyCharm, I am not able to click in Add-On -> “View Files” Button. I am not sure why. Did somebody have the same problem and knows a solution?
I am using:
- Ubuntu 20.04
- PyCharm Community 2020.3
- Python 3.8.5 (64Bit)
The Getting Started Guide was not really clear and I didn’t understand the interrelationships. For everybody who are also confused by the Getting Started Guide.
anki -b ~/PyChramProjects/YourAddOnPath in the PyCharm Terminal in the lower left corner.
Anki creates the “addons21” Folder when defining the Anki base path. Move your Add-On into the “addons21” Folder and restart Anki. In Anki go to Tools>Add-ons and you should see your own Add-On.s
Please feel free to correct me when I did the wrong workflow!
An alternative is to just symlink your add-on folder into the correct location.
The “open add-ons folder” not working may be because Qt doesn’t know how to open a file browser on your machine.