Anki error, help please

Grant V's Avatar

Grant V

24 Jan, 2020 08:00 PM

This issue started happening recently, I keep getting this error message when trying to sync.

Syncing failed:
Traceback (most recent call last):
  File "aqt/sync.py", line 376, in _sync
  File "aqt/sync.py", line 356, in _abortingSync
  File "anki/sync.py", line 119, in sync
  File "anki/sync.py", line 199, in sanityCheck
  File "anki/sched.py", line 53, in reset
  File "anki/sched.py", line 736, in _resetRev
  File "anki/sched.py", line 733, in _resetRevCount
  File "anki/sched.py", line 195, in _walkingCount
  File "anki/decks.py", line 557, in parents
KeyError: 'CFA'

Any help would be appreciated!

  1. Support Staff 1 Posted by Damien Elmes on 25 Jan, 2020 11:31 PM

    Damien Elmes's Avatar

    It seems to indicate a problem with one of your deck names, but I can't see the problem in your AnkiWeb collection. If you're still having issues, can you reproduce them after updating to the latest Anki version?

  2. 2 Posted by Grant V on 26 Jan, 2020 02:05 AM

    Grant V's Avatar

    Hi,

    I just updated anki on my mac to version 2.1.19 and I got a similar looking error.

    Syncing failed:
    Traceback (most recent call last):
      File "aqt/sync.py", line 449, in _sync
      File "aqt/sync.py", line 429, in _abortingSync
      File "anki/sync.py", line 140, in sync
      File "anki/sync.py", line 222, in sanityCheck
      File "anki/sched.py", line 54, in reset
      File "anki/sched.py", line 808, in _resetRev
      File "anki/sched.py", line 805, in _resetRevCount
      File "anki/sched.py", line 205, in _walkingCount
      File "anki/decks.py", line 588, in parents
    KeyError: 'CFA'

    Any further guidance? Thanks for your help.

  3. Support Staff 3 Posted by Damien Elmes on 26 Jan, 2020 03:57 AM

    Damien Elmes's Avatar

    Please force a one way sync in the preferences screen, choosing upload or download depending on which side you want to keep. If you choose to upload, please let me know after you've done so and I'll take a look at your collection. If you download, it shouldn't need my intervention as AnkiWeb appears ok.

  4. 4 Posted by Grant V on 26 Jan, 2020 04:05 AM

    Grant V's Avatar

    The one way sync fixed my issue (uploading from my mac to ankiweb). Thanks again for your help with this Damien, have a great weekend.

  5. Support Staff 5 Posted by Damien Elmes on 26 Jan, 2020 04:29 AM

    Damien Elmes's Avatar

    No problem, glad to hear that's resolved it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac