Before the error happened, I was…
I recently downloaded the ankihub add-on and tried to download the anking overhaul step deck and continue to get error messages. I downloaded the recommended version and am still getting an error message when trying to download.
Error message (don't change this)
Anki 2.1.64 (581f82c5) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22000
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-03-04 14:22:30
Traceback (most recent call last):
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 155, in _download_and_install_decks_inner
_download_and_install_single_deck(
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 183, in _download_and_install_single_deck
notes_data: List[NoteInfo] = AnkiHubClient().download_deck(
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 644, in download_deck
notes_data_raw = _transform_notes_data(notes_data_raw)
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 1147, in _transform_notes_data
result = [
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 1151, in <listcomp>
json.loads(note_data["fields"])
File "json", line 346, in loads
File "json.decoder", line 337, in decode
File "json.decoder", line 353, in raw_decode
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 2322 (char 2321)
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 "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 64, in <lambda>
on_done=lambda future: on_new_deck_subscriptions_done(
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 27, in on_new_deck_subscriptions_done
on_done(future_with_exception(future.exception()))
File "C:\Users\amlor\AppData\Roaming\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 "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
return func(*args, **kwargs)
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 77, 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\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 67, in <lambda>
task=lambda: _download_and_install_decks_inner(
File "C:\Users\amlor\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 175, in _download_and_install_decks_inner
raise exceptions[0]
1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck e77aedfe-a636-40e2-8169-2fce2673187e: Unterminated string starting at: line 1 column 2322 (char 2321)