How to protect clozes when I change C1 C2 to all C1

Everytime I change the C1 C2 clozes on a card to be all C1, couple of days later I see the C1 C2 are back, with C2 being a new card, this is making an issue with me following up with my progress, hope I can get assistance with this, thank you.

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-07 22:25:45

Traceback (most recent call last):

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 238, in _send_request_with_retry
    response = self._send_request_with_retry_inner(request, stream=stream)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 326, in iter
    raise retry_exc from fut.exception()

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


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 244, 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 "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\lib\tenacity\__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 259, in _send_request_with_retry_inner
    response = session.send(request, stream=stream)

  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 NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000215B062E730>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))


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


Traceback (most recent call last):

  File "aqt.progress", line 118, in handler

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1726633659\__init__.py", line 17, in syncDecks
    mw.onSync()

  File "aqt.main", line 1012, in on_sync_button_clicked

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 83, in _on_ankiweb_sync
    sync_with_ankiweb(future_with_exception(e))

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 74, in sync_with_ankiweb
    future.result()

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

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

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 80, in _on_ankiweb_sync
    _maybe_sync_with_ankihub(on_done=sync_with_ankiweb)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 100, in _maybe_sync_with_ankihub
    sync_with_ankihub(on_done=on_done)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 77, in sync_with_ankihub
    on_done(future_with_exception(e))

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 74, in sync_with_ankiweb
    future.result()

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

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

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 65, in sync_with_ankihub
    subscribed_decks = client.get_deck_subscriptions()

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 576, in get_deck_subscriptions
    response = self._send_request("GET", API.ANKIHUB, "/decks/subscriptions/")

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 224, in _send_request
    response = self._send_request_with_retry(prepped, stream=stream)

  File "C:\Users\Kings89\AppData\Roaming\Anki2\addons21\1322529746\ankihub_client\ankihub_client.py", line 246, 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 NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000215B062E730>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

Sentry link (for developers)

Hello,

You must right click on the card β†’ click AnkiHub protect β†’ choose text field

This will protect that individual card so it wont be overwritten by AnkiHub

Please see this for more info: Protecting Fields and Tags

Will I get newest updates on the card if the guidelines change and there’s a newer version tho?

No, if you protect that card, you will not receive updates on that specific card

And so is there another way than protecting the card? One that also ensures I receive the latest updates?

Unfortunately, there is no other way, protecting a card means that AnkiHub can’t ever overwrite it, so this won’t work. What you can do is make a new card and use that one (AnkiHub can’t overwrite that) and you can keep the original one unprotected to see if it ever gets changed. Not ideal since you will have duplicates but that is one way

1 Like

Alright I understand, thank you so much for the help.

I have my step 1 soon so I was thinking after I finish my exam I can mass unprotect all the cards that I am going to protect from now on to check if they have any newest changes, then reprotect when I am preparing for step 2.

Either way thank you again.

Good luck! You’ll crush it :smiley:

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