Closed syntheticgio closed 1 year ago
How can I package this to try in Anki?
@peter-moran @syntheticgio I tried installing this by downloading the zip file from here and installing the add-on manually, following these instructions. However, it didn't work. It threw this error:
Error
An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.
When loading 'anki_ipa':
Traceback (most recent call last):
File "aqt.addons", line 246, in loadAddons
File "C:\Users\g\AppData\Roaming\Anki2\addons21\anki_ipa\__init__.py", line 60
ipa = parse_ipa_transcription.transcript(words=words, language=lang_alias, CONFIG["STRIP_SYLLABLE_SEPARATOR"])
^
SyntaxError: positional argument follows keyword argument
I updated the add-on on Anki web with the changes you made. I removed the languages you added again though since they were not working properly. Feel free to add them again in another PR with proper unit-testing :)
Made a few changes that might be desirable to merge into the master branch: