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.5.0 PyQt 6.5.0
Platform: macOS-12.5-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2024-03-04 14:37:14
Traceback (most recent call last):
File "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 155, in _download_and_install_decks_inner
_download_and_install_single_deck(
File "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 183, in _download_and_install_single_deck
notes_data: List[NoteInfo] = AnkiHubClient().download_deck(
File "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 644, in download_deck
notes_data_raw = _transform_notes_data(notes_data_raw)
File "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 1147, in _transform_notes_data
result = [
File "/Users/saiabburi/Library/Application Support/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 "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 64, in <lambda>
on_done=lambda future: on_new_deck_subscriptions_done(
File "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 27, in on_new_deck_subscriptions_done
on_done(future_with_exception(future.exception()))
File "/Users/saiabburi/Library/Application Support/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 "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper
return func(*args, **kwargs)
File "/Users/saiabburi/Library/Application Support/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 "/Users/saiabburi/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 67, in <lambda>
task=lambda: _download_and_install_decks_inner(
File "/Users/saiabburi/Library/Application Support/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)