[Anki 23.10 Beta 1] ANKI_MINOR = int(ANKI_VERSION.split(“.”)[-1])

Error
Un complemento que has instalado ha fallado al cargarse. Si los problemas persisten, por favor ve a Herramientas> Menú de complementos o deshabilita este complemento.

Mientras cargando '<U+2068>AnkiHub<U+2069>':
<U+2068>Traceback (most recent call last):
  File "aqt.addons", line 239, in loadAddons
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\__init__.py", line 28, in <module>
    from . import entry_point
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\entry_point.py", line 10, in <module>
    from .db import ankihub_db
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\db\__init__.py", line 1, in <module>
    from .db import (  # noqa: F401
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 29, in <module>
    from ..feature_flags import feature_flags
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\feature_flags.py", line 5, in <module>
    from .addon_ankihub_client import AddonAnkiHubClient as AnkiHubClient
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\addon_ankihub_client.py", line 16, in <module>
    from .settings import config
  File "C:\Users\Khonkhortisan\AppData\Roaming\Anki2\addons21\1322529746\settings.py", line 547, in <module>
    ANKI_MINOR = int(ANKI_VERSION.split(".")[2])
IndexError: list index out of range

ANKI_VERSION = “231000”
#ANKI_VERSION = “2.1.66”
ANKI_MINOR = int(ANKI_VERSION.split(“.”)[-1])

Same here

Can you try deleting the ankihub addon and reinstalling it?

This is a bug. Thank you for the report.

@ProductTeam See report: https://github.com/ankipalace/ankihub_addon/issues/753

1 Like

Will the addon be updated soon to fix the issue?

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 ‘⁨AnkiHub⁩’:
⁨Traceback (most recent call last):
File “aqt.addons”, line 239, in loadAddons
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746_init_.py”, line 28, in
from . import entry_point
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746\entry_point.py”, line 10, in
from .db import ankihub_db
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746\db_init_.py”, line 1, in
from .db import ( # noqa: F401
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746\db\db.py”, line 29, in
from …feature_flags import feature_flags
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746\feature_flags.py”, line 5, in
from .addon_ankihub_client import AddonAnkiHubClient as AnkiHubClient
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746\addon_ankihub_client.py”, line 16, in
from .settings import config
File “C:\Users\spart\AppData\Roaming\Anki2\addons21\1322529746\settings.py”, line 547, in
ANKI_MINOR = int(ANKI_VERSION.split(“.”)[2])
IndexError: list index out of range

Not before a stable release at least I think. Anki 23.10 is still in beta and there other issues that need to be investigated and fixed too: A progress dialog is shown for background operations such as media syncing in Anki 23.10 Beta