Syncing error after subscribing to AnkiHub AnKing deck and hitting sync

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.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-07-21 21:15:28

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 "C:\Users\moham\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 39, in on_install_done
    on_done(future_with_exception(e))

  File "C:\Users\moham\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 17, in on_new_deck_subscriptions_done
    on_done(future_with_exception(future.exception()))

  File "C:\Users\moham\AppData\Roaming\Anki2\addons21\1322529746\gui\menu.py", line 417, in on_done
    future.result()

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

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

  File "C:\Users\moham\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 37, in on_install_done
    import_results: List[AnkiHubImportResult] = 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\moham\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 85, in <lambda>
    task=lambda: _download_and_install_decks_inner(ankihub_dids),

  File "C:\Users\moham\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 114, in _download_and_install_decks_inner
    raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck e77aedfe-a636-40e2-8169-2fce2673187e: Card template <U+2068>2<U+2069> in notetype '<U+2068>AnKingOverhaul (AnKing / AnKingMed)<U+2069>' has a problem.<br>The front side is identical to card template <U+2068>1<U+2069>.

Sentry link (for developers)

Can you try deleting the addon and reinstalling it and see if it persists?

I did. Gives the same error
image

I reinstalled anki
Deleted all my decks
Like a completely fresh install
Deleted the ankihub addon and reinstalled it. Still the same error.

Any other solution you can advise please?

Sorry for the late response.

@abdo.nh do you know what might be causing this issue?

1 Like

@mohammadzakriya Did you have the the AnKing deck in your collection before trying to sync with AnkiHub? My guess is that this is an update issue.

Please use the AnkiHub > Help > Upload logs and data menu item and let us know the filename that gets reported. Also sharing a sample note from your old deck (if you already have a copy of it) will be helpful.

ankihub_addon_debug_info_ac861_1690998522.zip

I didnt get what you meant by sharing a sample note
I am using v11 right now

So about your first question
I had v11 and then I tried installing v12
when that didnt work I basically deleted all my decks as if it were a fresh anki installation and then tried installing v12. Didnt work both ways
1 thing to note is that I was able to successfully install v12 once. I was frustrated by the new card type so I reverted back to v11 by deleting v12 and installing v11 from a backup I had made earlier. After that I have been wanting to upgrade to v12 again because I think I learnt a solution but Ive never been able to get v12 ever since.

Can you remove the “AnKingOverhaul (AnKing / AnKingMed)” notetype from Tools > Manage Notetypes and try syncing again? Notetypes are not removed automatically when you delete decks or even delete Anki (unless you manually delete the data folder)

You can export notes to an apkg file from the card browser through the Notes > Export Notes menu item. Try zipping the exported file and uploading it here.

2 Likes

This issue could be related to Ankihub Step Deck Installation Error, which we’re working on fixing.

1 Like

GOd. Bless. You.

I deleted that note type and IT WORKED. THANK YOU SO MUCH. THIS HAD ME STRESSED FOR WEEKS.

2 Likes