AnkiHub won't let me suggest

AnkiHub won’t let me suggest, keeps closing the suggestion dialog with the error message popping up

I’ve tried closing and reopening Anki
Installed no new add-ons since yesterday, although I did install an update for the AnkiHub add-on that popped up when I opened Anki

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

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 "E:\Anki\ankidata\addons21\1322529746\gui\suggestion_dialog.py", line 258, in <lambda>
    on_done=lambda future: _on_suggest_notes_in_bulk_done(future, parent),

  File "E:\Anki\ankidata\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 "E:\Anki\ankidata\addons21\1322529746\gui\suggestion_dialog.py", line 250, in <lambda>
    task=lambda: suggest_notes_in_bulk(

  File "E:\Anki\ankidata\addons21\1322529746\main\suggestions.py", line 174, in suggest_notes_in_bulk
    _rename_and_upload_media_for_suggestions(

  File "E:\Anki\ankidata\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 "E:\Anki\ankidata\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)

2 Likes

This pops up

image

2 Likes

Seems to be happening only for bulk suggestions

2 Likes

Seems to be happening to others too

2 Likes

Exactly!

1 Like

I have also been getting an error message when I make bulk suggestions since before this last update, but it didn’t stop the suggestions from going through like it is doing now.

1 Like

Seems to be for only two of my decks within a deck. I could go back and individually bulk submit most decks but two of them still give me the error.

@abdo.nh

@jakub.f

Any update on this? :pensive:

1 Like

same happening to me since 28th of may., whenever I try to bulk suggest notes. single note suggestions work

Here’s a copy of the debug information:

Debug-Info

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22631

File “threading”, line 937, in _bootstrap
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on [‘0amboss_addon’, 2023-10-17T23:29, ‘None’, ‘’]
Add Table [‘1237621971’, 2023-06-18T13:37, ‘None’, mod]
AnkiHub [‘1322529746’, 2024-05-28T15:09, ‘None’, ‘’]
AnkiWebView Inspector [‘31746032’, 2023-06-27T21:26, ‘None’, ‘’]
Auto Ease Factor [‘1672712021’, 2021-03-21T19:11, ‘None’, mod]
Batch Editing [‘291119185’, 2023-10-26T02:38, ‘None’, ‘’]
Colorful Tags Hierarchical Tags [‘594329229’, 2022-09-15T17:06, ‘None’, ‘’]
Export Single Tag For Sharing [‘960563361’, 2022-04-10T23:30, ‘None’, ‘’]
Fastbar- with nightmode support [‘46611790’, 2023-06-27T13:47, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T09:15, ‘None’, ‘’]
Projekt Anki Notetypes - Ankizin und Co [‘2058530482’, 2024-05-25T14:34, ‘None’, mod]
Refocus Card when Reviewing 21 [‘1642550423’, 2018-09-19T16:14, ‘None’, ‘’]
Remaining time for Anki 21 [‘1508357010’, 2024-04-16T04:15, ‘24.4.16i24’, ‘’]
Reset Ease [‘947935257’, 2023-11-12T02:22, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-30T03:43, ‘None’, ‘’]
Special Fields [‘1102281552’, 2024-03-20T00:34, ‘None’, mod]
Symbols As You Type [‘2040501954’, 2024-01-20T06:42, ‘None’, ‘’]
True Retention [‘613684242’, 2017-11-19T21:43, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1102281552 1237621971 1322529746 1374772155 1508357010 1642550423 1672712021 1771074083 2040501954 2058530482 291119185 31746032 46611790 594329229 613684242 947935257 960563361

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
‘’ [‘reviewer_progress_bar’, 0, ‘None’, ‘’]
Edit Field During Review [‘1020366288’, 2022-08-29T21:38, ‘None’, ‘’]

We’ll get this investigated ASAP

1 Like

It’s working again, thanks :saluting_face:

1 Like

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