correct-apricot
correct-apricot2y ago

Error message when opening anki

Hello. After updating the Migaku Anki add-on today, I get an error message whenever I open Anki. Despite the message, the add-on seems to be operational - I can open the settings etc. I'm guessing this was caused by https://github.com/migaku-official/Migaku-Anki-Addon/pull/83 Anki version: 2.1.66 Error message: 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 '⁨Migaku Anki Add-on⁩': ⁨Traceback (most recent call last): File "aqt.addons", line 246, in loadAddons File "C:\Users\NAME\AppData\Roaming\Anki2\addons21\1846879528__init__.py", line 75, in <module> anki_version.check_anki_version_dialog() File "C:\Users\NAME\AppData\Roaming\Anki2\addons21\1846879528\anki_version.py", line 66, in check_anki_version_dialog state = get_state() File "C:\Users\NAME\AppData\Roaming\Anki2\addons21\1846879528\anki_version.py", line 37, in get_state major, minor = version_tuple ValueError: too many values to unpack (expected 2) ⁩
3 Replies
correct-apricot
correct-apricotOP2y ago
To elaborate, I think your recent "fix" to a similar issue caused this one. You went from "major, minor, patch = version_tuple" breaking on anki versions such as 23.10 to "major, minor = version_tuple" breaking on versions such as 2.1.66. @Migaku Anki Add-On Support (sorry if it is not my place to ping)
fascinating-indigo
fascinating-indigo2y ago
I think this PR should finally fix it: https://github.com/migaku-official/Migaku-Anki-Addon/pull/84. Thanks for reporting.
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
rival-black
rival-black2y ago
Fix has been released!

Did you find this page helpful?