For some reason after updating to 2.1.65 for macOS ARM I keep getting this error

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4.1-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-07-04 23:33:47

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "aqt.sync", line 117, in on_future_done

  File "aqt.main", line 1028, in on_collection_sync_finished

  File "aqt.main", line 822, in reset

  File "aqt.main", line 774, in _synthesize_op_did_execute_from_reset

  File "_aqt.hooks", line 3620, in __call__

  File "aqt.main", line 794, in on_operation_did_execute

  File "aqt.toolbar", line 404, in update_sync_status

  File "aqt.sync", line 58, in get_sync_status

  File "aqt.taskman", line 62, in run_in_background

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "/Users/rohitduda/Library/Application Support/Anki2/addons21/1322529746/taskman.py", line 31, in _only_run_in_main_thread
    _old(*args, **kwargs)

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "/Users/rohitduda/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 131, in _on_download_finished
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "/Users/rohitduda/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 107, in _download_missing_media
    missing_image_names = self._missing_images_for_ah_deck(

  File "/Users/rohitduda/Library/Application Support/Anki2/addons21/1322529746/media_sync.py", line 117, in _missing_images_for_ah_deck
    img_names = ankihub_db.media_names_for_ankihub_deck(

  File "/Users/rohitduda/Library/Application Support/Anki2/addons21/1322529746/db/db.py", line 492, in media_names_for_ankihub_deck
    self._media_names_on_notes_of_note_type(mid, disabled_field_names)

  File "/Users/rohitduda/Library/Application Support/Anki2/addons21/1322529746/db/db.py", line 525, in _media_names_on_notes_of_note_type
    field_name = field_names_for_mid[field_idx]

IndexError: list index out of range

Sentry link (for developers)

We are currently recommending 2.1.64 as this is the most stable we have tested so far

Downgraded to Intel 2.1.64 and that seems to have resolved the issue. Thank you.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.