Unable to download free Ankar Decks - Error Received

Before the error happened, I was…
Trying to download the 3 free Ankar decks; these would be the very first decks that I have ever used. I get this error when trying to download multiple, or just one deck. For example, I got the following when trying to download Dermki:

Anki 24.04 (429bc9e1) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.4.1-x86_64-i386-64bit

Traceback (most recent call last):

File “aqt.taskman”, line 142, in _on_closures_pending

File “/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py”, line 64, in
on_done=lambda future: on_new_deck_subscriptions_done(

File “/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py”, line 27, in on_new_deck_subscriptions_done
on_done(future_with_exception(future.exception()))

File “/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/decks_dialog.py”, line 264, in on_done
future.result()

File “concurrent.futures._base”, line 439, in result

File “concurrent.futures._base”, line 391, in __get_result

File “/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py”, line 39, in wrapper
return func(*args, **kwargs)

File “/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py”, line 62, in _on_deck_infos_fetched
dialog.deck_id_to_behavior_on_remote_note_deleted_dict()

File “/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/configure_deleted_notes_dialog.py”, line 52, in deck_id_to_behavior_on_remote_note_deleted_dict
checkbox_layout = self.grid_layout.itemAtPosition(i, 1).layout()

RuntimeError: wrapped C/C++ object of type QGridLayout has been deleted

Error message (don't change this)
Anki 24.04 (429bc9e1)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.4.1-x86_64-i386-64bit

Traceback (most recent call last):

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

  File "/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 64, in <lambda>
    on_done=lambda future: on_new_deck_subscriptions_done(

  File "/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 27, in on_new_deck_subscriptions_done
    on_done(future_with_exception(future.exception()))

  File "/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/decks_dialog.py", line 264, in on_done
    future.result()

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

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

  File "/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 62, in _on_deck_infos_fetched
    dialog.deck_id_to_behavior_on_remote_note_deleted_dict()

  File "/Users/lindsaylevinson/Library/Application Support/Anki2/addons21/1322529746/gui/configure_deleted_notes_dialog.py", line 52, in deck_id_to_behavior_on_remote_note_deleted_dict
    checkbox_layout = self.grid_layout.itemAtPosition(i, 1).layout()

RuntimeError: wrapped C/C++ object of type QGridLayout has been deleted

Sentry link (for developers)


I have a time-sensitive project that I need to view these decks for, which is due in less than 2 weeks. Any way this can be fixed asap? Or is there some other way to view these decks, in the meantime? Thanks!

Please downgrade your Anki version, this is probably an issue that has to do with the new Anki version that just came out (Anki version 24.04)

This is fixed on the latest version of the AnkiHub add-on!

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