I have missing media especially FA. In an attempt to resolve the issue, I unsubscribed and then subscribed again. This error occurred when syncing began.
Error message (don't change this)
Anki 2.1.60 (76d88073) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-12-17 20:43:42
Traceback (most recent call last):
File "requests.models", line 971, in json
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 359943 (char 359942)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in <lambda>
File "aqt.operations", line 249, in wrapped_done
File "C:\Users\ahmad\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 49, in on_failure
raise exception
File "concurrent.futures.thread", line 58, in run
File "aqt.operations", line 239, in wrapped_op
File "C:\Users\ahmad\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 53, in <lambda>
op=lambda _: self._update_deck_media_and_download_missing_media(),
File "C:\Users\ahmad\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 118, in _update_deck_media_and_download_missing_media
self._update_deck_media(ankihub_did=ah_did)
File "C:\Users\ahmad\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 132, in _update_deck_media
for chunk in self._client.get_deck_media_updates(
File "C:\Users\ahmad\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 745, in get_deck_media_updates
data = response.json()
File "requests.models", line 975, in json
requests.exceptions.JSONDecodeError: Unterminated string starting at: line 1 column 359943 (char 359942)