Troubleshooting Error Message on Anki

Hi! I’ve been receiving an error message when I open Anki on my computer called: “ProtoError { info: “failed to decode Protobuf message: KindContainer.kind: unexpected end group tag” }”

I’ve tried to delete and reinstall Anki several times, and this error only appears on my Macbook, and does not affect my iPhone Anki app (which is working fine). When this error appears, I am not able to go through any of my cards, and I haven’t found any solutions when I search the error message on Google. I have also disabled all of my add-ons and this error persists.

When I open up AnkiWeb on my computer, I see my cards and decks appear there, but I haven’t been able to make this error message go away. I’d greatly appreciate any help and advice, thank you!

Can you go to help → about → copy debug info and paste the full output here please?

Edit: Considering you’re on a Mac, the right menu would be Anki → about → copy debug info.

Please also make sure to go through every single one of the troubleshooting steps:

Hello! This is the output:

Anki 25.02.4 (a5c33ad0)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.4.1-arm64-arm-64bit

Traceback (most recent call last):
File “aqt.taskman”, line 144, in _on_closures_pending
File “aqt.taskman”, line 88, in
File “aqt.taskman”, line 108, in wrapped_done
File “aqt.dbcheck”, line 41, in on_future_done
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 “aqt.dbcheck”, line 37, in do_check
File “anki.collection”, line 1099, in fix_integrity
File “anki._backend_generated”, line 216, in check_database
File “anki._backend”, line 172, in _run_command
anki.errors.BackendError: ProtoError { info: “failed to decode Protobuf message: KindContainer.kind: unexpected end group tag” }

Did you do the Troubleshooting Checklist as well – including #4, #6, and #7?

I know that MacOS and Windows are different – especially when it comes to installing apps – I don’t know what it means in MacOS to “delete” an app. Does that mean you “uninstalled” it from the OS? Or did you also delete all of the related Anki program files? Perhaps those aren’t even separate steps in MacOS? :person_shrugging:t4:

This error message is coming through Anki, but it’s backend-dependency stuff, so it’s possible an uninstall didn’t reach it.

Hi thanks so much for your response. I’ve tried all the Troubleshooting Checklist items and when I tried #4 I received the error message: Anki encountered a problem. Please follow the troubleshooting steps, and from that it directed me to the same troubleshooting checklist. The copy debug information is what I pasted in the same thread above. Do you have any suggestions as to what to do from here?

To answer your question on deleting apps, I went to the applications hub on my Mac and deleted the app/ place the app in the “trashcan” and emptied the trash. Is there a specific uninstaller of Anki on Mac?

Could you click on Copy Debug Info and send that in code blocks like so?
```
Paste the debug info here
```

Anki 25.02.4 (a5c33ad0)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.4.1-arm64-arm-64bit

Traceback (most recent call last):
  File "aqt.taskman", line 144, in _on_closures_pending
  File "aqt.taskman", line 88, in <lambda>
  File "aqt.taskman", line 108, in wrapped_done
  File "aqt.dbcheck", line 41, in on_future_done
  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 "aqt.dbcheck", line 37, in do_check
  File "anki.collection", line 1099, in fix_integrity
  File "anki._backend_generated", line 216, in check_database
  File "anki._backend", line 172, in _run_command
anki.errors.BackendError: ProtoError { info: "failed to decode Protobuf message: KindContainer.kind: unexpected end group tag" }

Hi, I just sent over the copy debug info in code blocks, please let me know if you would like me to reformat or resend it, thanks so much!

Considering your error is somehow related to the backend, I’d recommend the same thing Danika_Dakika already told you: Completely uninstall all anki files (you can keep the profile or at least should back it up to somewhere safe).

Make sure the files are gone in their respective folders, see Managing Files - Anki Manual.

After that, reinstall the latest Anki from https://apps.ankiweb.net/ and see if the issue persists.

Hi, thank you so much for your advice and suggestions. Do you happen to have detailed instructions on how to uninstall all anki files and back up my profile and then how to do the following steps you mentioned? I see my profile on Ankiweb which contains my decks and progress and I’ve unfortunately not had experience dealing with this kind of issue before, so I’mn a bit inexperienced with the troubleshooting steps. Thank you very much!

You shouldn’t have to do anything special with your profile. All of your collection data, add-ons, media, etc. is stored in your Anki2 folder [see the link above for the location] – in a completely separate place from where the app is stored in the Anki folder.

Again, I know this stuff really well in Windows, but I don’t know exactly where MacOS puts them. So you should be able to go find those folders and see for yourself.

You should “uninstall” the app (however uninstall happens in Mac), and then delete the Anki app folder (if that’s a different thing). Then follow the Mac install instructions to install Anki fresh. Install & Upgrade - Anki Manual

1 Like

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