Please I need help, I can't see Sketchey images in my cards

I am trying to study some flashcards about sketchy but it is so annoying because there are many imagen missing

Error message (don't change this)
Anki 24.06.2 (33a92379)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22621

Traceback (most recent call last):

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 168, in _download_and_install_decks_inner
    _download_and_install_single_deck(

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 197, in _download_and_install_single_deck
    notes_data: List[NoteInfo] = AnkiHubClient().download_deck(

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 661, in download_deck
    s3_response_content = self._download_with_progress_cb(

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 691, in _download_with_progress_cb
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 403 Forbidden


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 "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\menu.py", line 333, 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\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 96, in _on_new_deck_subscriptions_done
    future.result()

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

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

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 85, 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\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 71, in <lambda>
    task=lambda: _download_and_install_decks_inner(

  File "C:\Users\huawe\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\deck_installation.py", line 187, in _download_and_install_decks_inner
    raise exceptions[0]

1322529746.gui.exceptions.DeckDownloadAndInstallError: Error while downloading and installing deck e77aedfe-a636-40e2-8169-2fce2673187e: AnkiHub request error: 403 Forbidden

[Sentry link (for developers)](Sign In | Sentry

Please try resetting your local changes. To do this:

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

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

I just did it, however, it is still the same



How much storage do you have on your device?

Actually enough, I would say more than enough :frowning:

Please use AnkiHub > Help > Upload logs and data and let us know the filename shown.

@abdo.nh had two issues like this now, not sure why its occurring, perhaps it has to do with the newest version of Anki?

ok, here it is ankihub_addon_debug_info_e39e7_1719465298.zip
image

Hello, what should I do next next now? :face_holding_back_tears:

A dev will be with you in due time to help you out!

Do you use multiple Anki profiles?

Can you try the following solution and let us know whether it makes a difference?

  1. Open Anki’s debug console. See this for instructions on how to do that.
  2. Copy and paste the following code then press Control+Shift+;:
from aqt import mw
from importlib import import_module

def find_addon_by_name(addon_name):
    for name in mw.addonManager.allAddons():
        if mw.addonManager.addonName(name).lower() == addon_name.lower():
            try:
                return import_module(name)
            except ModuleNotFoundError:
                pass

    return None

ankihub = find_addon_by_name("AnkiHub")
media_sync = ankihub.gui.media_sync.media_sync
media_sync.allow_background_threads()
  1. Click AnkiHub > Sync with AnkiHub.
  2. Is it still saying idle?

Hellos, I followed the steps indicated but I was unable to fix the problem, as it kept saying β€œIdle”. Should I uninstall Anki or create a new account?

Can you try an older version of Anki (Release 24.04.1 Β· ankitects/anki Β· GitHub) and see if that helps with the issue?

Hello, I unistalled Anki, delete my acount, create a new one and install the add on and now it works perfectly. Thank you.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.