I just cant sync my anking deck?

I just cant sync my anking deck???

Hello,

Can you provide more information? Is there an error message that pops up?

Before the error happened, I was…
When I click SYNG FROM ANKIHUB I get this error

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-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/marcoyanes/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/marcoyanes/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/marcoyanes/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 329, in on_done
    future.result()

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

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

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

  File "/Users/marcoyanes/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/marcoyanes/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 just get this when I click Install

I was just setting up the ankingdeck and whenever I click sync with ankihub I get an error.
[Replace this text.]

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-arm64-arm-64bit

Traceback (most recent call last):

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

  File "/Users/marcoyanes/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/marcoyanes/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/marcoyanes/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 329, in on_done
    future.result()

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

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

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

  File "/Users/marcoyanes/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/marcoyanes/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)

Can you click report error and post it on here?

This is an error that is caused by the new Anki update (24.04)

Please downgrade your Anki version by downloading a less recent version here ankiweb

This is an error that is caused by the new Anki update (24.04)

Please downgrade your Anki version by downloading a less recent version here ankiweb

This is the error data. I downgraded and still getting this.

This is the report. Downgraded and still get this.

Some users also reported this happening on older versions like 23.12.1. We implemented a fix for this today and will release it soon.

The addon report still says 24.04. Make sure you click on the correct anki version, if you did not replace it. You can use spotlight search and you will see β€œAnki 2”

1 Like