Error report

Before the error happened, I was…

Just doing cards normally

Error message (don't change this)
Anki 25.02.5 (29192d15)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.7.3-arm64-arm-64bit

Traceback (most recent call last):

  File "urllib3.response", line 748, in _error_catcher

  File "urllib3.response", line 894, in _raw_read

urllib3.exceptions.IncompleteRead: IncompleteRead(512557 bytes read, 11187 more expected)


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


Traceback (most recent call last):

  File "requests.models", line 820, in generate

  File "urllib3.response", line 1060, in stream

  File "urllib3.response", line 977, in read

  File "urllib3.response", line 902, in _raw_read

  File "contextlib", line 137, in __exit__

  File "urllib3.response", line 772, in _error_catcher

urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(512557 bytes read, 11187 more expected)', IncompleteRead(512557 bytes read, 11187 more expected))


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "aqt.taskman", line 144, in _on_closures_pending

  File "aqt.taskman", line 88, in <lambda>

  File "aqt.operations", line 253, in wrapped_done

  File "/Users/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 60, in on_failure
    raise exception

  File "concurrent.futures.thread", line 58, in run

  File "aqt.operations", line 243, in wrapped_op

  File "/Users/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 64, in <lambda>
    op=lambda _: self._update_deck_media_and_download_missing_media(),

  File "/Users/Library/Application Support/Anki2/addons21/1322529746/gui/media_sync.py", line 142, in _update_deck_media_and_download_missing_media
    self._client.download_media(missing_media_names, ah_did)

  File "/Users/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 542, in download_media
    if 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/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 558, in _download_media
    for block in response.iter_content(1024):

  File "requests.models", line 822, in generate

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(512557 bytes read, 11187 more expected)', IncompleteRead(512557 bytes read, 11187 more expected))

Sentry link (for developers)

Hello,

Are you still experiencing this issue? Please restart Anki and see if the error persists.

Let us know if you need help with anything else! :blush: