# Sync Failure Medical School

**URL:** <https://forums.ankiweb.net/t/sync-failure-medical-school/2175>\
**Category:** Help\
**Created:** [August 11, 2020, 5:45pm UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175 "2020-08-11T17:45:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![McDougal](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@McDougal](https://forums.ankiweb.net/u/McDougal)\
**Post date:** [August 11, 2020, 5:45pm UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175/1 "2020-08-11T17:45:25Z")

</div>

I have loaded the AnKing deck and the Anking addons for anki 2.1.22+ (I have 2.1.5). I have synced successfully after using the deck and the addons, but in the past day or so this message has appeared when I try to sync from my desktop Anki:

Syncing failed:  
Traceback (most recent call last):  
File “aqt\sync.py”, line 382, in \_sync  
File “aqt\sync.py”, line 362, in \_abortingSync  
File “anki\sync.py”, line 116, in sync  
File “anki\sync.py”, line 196, in sanityCheck  
File “anki\sched.py”, line 53, in reset  
File “anki\sched.py”, line 753, in \_resetRev  
File “anki\sched.py”, line 750, in \_resetRevCount  
File “anki\sched.py”, line 195, in \_walkingCount  
File “anki\decks.py”, line 517, in parents  
KeyError: ‘AnKing::Zanki Step Decks::Zanki Hematology & Oncology’

I have no idea how to resolve this so that I can use the Anki Mobile App. Any help would be much appreciated!!!

---

<div class="post-metadata">

**Author:** ![andrewsanchez](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/andrewsanchez/32/10294_2.png) [@andrewsanchez](https://forums.ankiweb.net/u/andrewsanchez)\
**Post date:** [August 11, 2020, 6:39pm UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175/2 "2020-08-11T18:39:59Z")

</div>

> [@McDougal](#):
>
> I have loaded the AnKing deck and the Anking addons for anki 2.1.22+ (I have 2.1.5).

If your message is correct, you are using a version of Anki 2.1.5 that was released in 2018 with a bunch of add-ons that have been tested to work on 2.1.22, which was released in 2020. I would recommend sorting out the version discrepancies first.

---

<div class="post-metadata">

**Author:** ![McDougal](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@McDougal](https://forums.ankiweb.net/u/McDougal)\
**Post date:** [August 11, 2020, 7:26pm UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175/3 "2020-08-11T19:26:45Z")

</div>

Thanks Andrew. I updated Anki, and now I’m getting a different error message:  
Debug info:  
Anki 2.1.30 (06a69c25) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1  
Platform: Windows 10  
Flags: frz=True ao=True sv=1  
Add-ons, last update check: 2020-08-11 15:17:57

Caught exception:  
Traceback (most recent call last):  
File “aqt\webview.py”, line 37, in cmd  
File “aqt\webview.py”, line 123, in \_onCmd  
File “aqt\webview.py”, line 547, in \_onBridgeCmd  
File “aqt\toolbar.py”, line 171, in _linkHandler  
File “aqt\toolbar.py”, line 189, in browseLinkHandler  
File “aqt\main.py”, line 1043, in onBrowse  
File "aqt\_init.py", line 105, in open  
File “C:\Users\chris\AppData\Roaming\Anki2\addons21\874215009\advancedbrowser\core.py”, line 207, in **init**  
origInit(self, mw)  
File “\<C:\Program Files\Anki\decorator.pyc:decorator-gen-140\>”, line 2, in **init**  
File “anki\hooks.py”, line 638, in decorator\_wrapper  
File “anki\hooks.py”, line 629, in repl  
File “aqt\browser.py”, line 599, in **init**  
File “aqt\browser.py”, line 666, in setupMenus  
File “aqt\gui\_hooks.py”, line 535, in **call**  
File “anki\hooks.py”, line 583, in runHook  
File "C:\Users\chris\AppData\Roaming\Anki2\addons21\1918380616\_init_.py", line 79, in setupMenu  
a.setShortcut(QKeySequence(getUserOption(“Shortcut of ‘Number of tags’”, “Ctrl+t”)))  
File “C:\Users\chris\AppData\Roaming\Anki2\addons21\1918380616\config.py”, line 25, in getUserOption  
if key in userOption:  
TypeError: argument of type ‘NoneType’ is not iterable

Can you make any sense of this?

---

<div class="post-metadata">

**Author:** ![McDougal](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@McDougal](https://forums.ankiweb.net/u/McDougal)\
**Post date:** [August 11, 2020, 7:29pm UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175/4 "2020-08-11T19:29:51Z")

</div>

I should not that this used to occur when I tried to sync, but not I am able to sync but not able to change certain settings or “Browse”

---

<div class="post-metadata">

**Author:** ![andrewsanchez](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/andrewsanchez/32/10294_2.png) [@andrewsanchez](https://forums.ankiweb.net/u/andrewsanchez)\
**Post date:** [August 12, 2020, 12:59am UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175/5 "2020-08-12T00:59:51Z")

</div>

The issue was solved by completely removing all add-ons and reinstalling the updated versions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 5:36am UTC](https://forums.ankiweb.net/t/sync-failure-medical-school/2175/6 "2023-05-01T05:36:25Z")

</div>

Closed on May 1, 2023, 5:36am UTC


