Unable to bulk suggest notes

Hello, my friend and I just starting using AnkiHub as a way to keep our deck updated. Today I made around ~30 new cards and tried to bulk suggest new note using AnkiHub however was unable to do so getting the error message below. I am able to suggest cards as new notes individually though which is confusing me. Thank you.

Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):

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

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

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

  File "C:\Users\benja\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 258, in <lambda>
    on_done=lambda future: _on_suggest_notes_in_bulk_done(future, parent),

  File "C:\Users\benja\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 332, in _on_suggest_notes_in_bulk_done
    suggestions_result: BulkNoteSuggestionsResult = 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 "C:\Users\benja\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 250, in <lambda>
    task=lambda: suggest_notes_in_bulk(

  File "C:\Users\benja\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py", line 166, in suggest_notes_in_bulk
    _rename_and_upload_media_for_suggestions(

  File "C:\Users\benja\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py", line 463, in _rename_and_upload_media_for_suggestions
    media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)

  File "C:\Users\benja\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 80, in start_media_upload
    AddonQueryOp(

  File "aqt.operations", line 262, in run_in_background

  File "aqt.operations", line 282, in _run

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

  File "traceback", line 190, in print_stack

  File "traceback", line 25, in print_list

  File "colorama.ansitowin32", line 47, in write

  File "colorama.ansitowin32", line 177, in write

  File "colorama.ansitowin32", line 205, in write_and_convert

  File "colorama.ansitowin32", line 210, in write_plain_text

  File "colorama.ansitowin32", line 47, in write

  File "colorama.ansitowin32", line 177, in write

  File "colorama.ansitowin32", line 205, in write_and_convert

  File "colorama.ansitowin32", line 211, in write_plain_text

AttributeError: 'ErrorHandler' object has no attribute 'flush'

Sentry link (for developers)

This will be fixed in the next add-on release (probably in a couple of days).

Thanks for the rapid reply! I can now sleep easy tonight. I will hold of adding cards in bulk until then. Thank you.

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