Specific Deck can not be downloaded

The category for general support questions related to using AnkiHub.

Things not to ask about here:

Please include supporting information and documents such as screenshots, recordings, complete error messages, etc.

Hello everyone!

I’m currently experiencing an issue with AnkiHub, and I’m hoping to get some guidance or insights from the community.

To provide some context, I have the latest version of AnkiHub installed, and I’ve been able to download and install various decks without any problems. However, I’ve encountered a specific issue when attempting to download the “Zankiphil” deck.

The error message I receive is as follows:

Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.2 PyQt 6.5.2
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-09-10 01:12:16

Traceback (most recent call last):

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 103, in _download_and_install_decks_inner
result.append(_download_and_install_single_deck(ah_did))

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 122, in _download_and_install_single_deck
notes_data: List[NoteInfo] = AnkiHubClient().download_deck(

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 602, in download_deck
notes_data_raw = [row for row in reader]

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py”, line 602, in
notes_data_raw = [row for row in reader]

File “csv”, line 111, in next

_csv.Error: field larger than field limit (131072)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

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

File “aqt.taskman”, line 71, in

File “aqt.taskman”, line 90, in wrapped_done

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 40, in on_install_done
on_done(future_with_exception(e))

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py”, line 55, in
on_done=lambda future: on_new_deck_subscriptions_done(

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py”, line 24, in on_new_deck_subscriptions_done
on_done(future_with_exception(future.exception()))

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py”, line 74, in sync_with_ankiweb
future.result()

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

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

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 38, 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\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 86, in
task=lambda: _download_and_install_decks_inner(ankihub_dids),

File “C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py”, line 115, in _download_and_install_decks_inner
raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck 586d9d05-8801-4074-b06b-78bffb71e360: field larger than field limit (131072)

Do you Guys have any ideas what I can do next? I have also reinstalled Anki once.

Greetings, Jonas

You can try the workaround described here for now:

Thank you so much! I‘ll try it tomorrow

So I tried it and when I start Anki it says:

One of the installed extensions could not be loaded. If the problem persists, please disable or uninstall the extensions through the “Tools” menu → “Add-ons.”

Error message when loading ‘AnkiHub’:

arduino

Traceback (most recent call last):
  File "aqt.addons", line 246, in loadAddons
  File "C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\__init__.py", line 28, in <module>
    from . import entry_point
  File "C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\entry_point.py", line 10, in <module>
    from .db import ankihub_db
  File "C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\db\__init__.py", line 1, in <module>
    from .db import (  # noqa: F401
  File "C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 26, in <module>
    from ..ankihub_client import Field, NoteInfo, suggestion_type_from_str
  File "C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\__init__.py", line 6, in <module>
    from .ankihub_client import (  # noqa: F401
  File "C:\Users\Jonas\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 4, in <module>
    csv.field_size_limit(sys.maxsize)
OverflowError: Python int too large to convert to C long

Do you know if there will be any Update that will fix the problem?

That doesn’t seem to work on your system (it worked for me). Try pasting this instead of the two lines:

csv.field_size_limit(999999)

If you’re still getting the same original error, replace 999999 with a bigger number and try again.

I notified the team about it and will post updates here or in the other post.

It worked!! Thank you so much!

1 Like