No images or media

Hello! I have zero pictures in my anki cards, however my coresident has pictures with almost every card. I’ve tried deleting and redownloading but still can’t see any images. When I click “media sync” I have thousands of unused media? Not sure if this is related

Error message (don't change this)
Anki 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-13.2.1-x86_64-i386-64bit

Traceback (most recent call last):

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 247, in _send_request_with_retry
    response = self._send_request_with_retry_inner(

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 326, in iter
    raise retry_exc from fut.exception()

tenacity.RetryError: RetryError[<Future at 0x1270e7f40 state=finished raised ConnectionError>]


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 255, in _send_request_with_retry
    response = last_attempt.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 270, in _send_request_with_retry_inner
    response = session.send(request, stream=stream, timeout=timeout)

  File "requests.sessions", line 703, in send

  File "requests.adapters", line 519, in send

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x1271184c0>: Failed to resolve 'app.ankihub.net' ([Errno 8] nodename nor servname provided, or not known)"))


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


Traceback (most recent call last):

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

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/gui/auto_sync.py", line 101, in sync_with_ankiweb
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 57, in sync_with_ankihub
    subscribed_decks = client.get_deck_subscriptions()

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 589, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 229, in _send_request
    response = self._send_request_with_retry(

  File "/Users/gelanshamloul/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 257, in _send_request_with_retry
    raise AnkiHubRequestException(e) from e

1322529746.ankihub_client.ankihub_client.AnkiHubRequestException: AnkiHub request exception: HTTPSConnectionPool(host='app.ankihub.net', port=443): Max retries exceeded with url: /api/decks/subscriptions/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x1271184c0>: Failed to resolve 'app.ankihub.net' ([Errno 8] nodename nor servname provided, or not known)"))

Sentry link (for developers)

Is your question about the Dermki deck? (That’s the only deck you’re subscribed to).

Can you go to AnkiHub > Help > Upload logs and data and post the filename shown?

Can you also try resetting local changes:

Please try resetting your local changes. To do this:

Go to browse in your Anki → at the top click on the ankihub addon tab → press reset all local changes

This will restore everything to what AnkiHub has unless you have specifically protected those fields

Hello, I have tried this and still have no images in any cards. I can only see a few images under additional resources which I think are Pixorize

@TheAnKing do you sync additional resources in dermki?

If I click “import media” and then click “open media folder” I can see a thousand images in there. But i’m not sure how to get them into the cards or if that would even help

I always click “sync with ankihub”

Where did you get this media folder?

I’m assuming from the dermki deck. This is my screen and i clicked on “import media”

1 Like

There isn’t a media folder for the dermki deck. We do sync the additional resources field but it’s not pixorize, its Dermnemonics

1 Like