trgkanki / cloze_hide_all

GNU Affero General Public License v3.0
11 stars 3 forks source link

Anki show error at starting #47

Closed ankiuser-epg closed 3 years ago

ankiuser-epg commented 3 years ago

Bug report

Describe the bug

When I start Anki shows the following message. I already disable the other add-ons that I had and it showed the same message until I disabled this one Error An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site. Debug info: Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2 Platform: Mac 10.16 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2021-01-18 19:21:54 Add-ons possibly involved: ⁨Cloze Hide All⁩

Caught exception: Traceback (most recent call last): File "aqt/main.py", line 286, in onOpenProfile File "aqt/main.py", line 427, in loadProfile File "aqt/gui_hooks.py", line 2033, in call File "anki/hooks.py", line 583, in runHook File "/Users/eugeniapatinogonzalez/Library/Application Support/Anki2/addons21/1709973686/clozeHideAllModel.py", line 20, in registerClozeModel updateClozeModel(mw.col) File "/Users/eugeniapatinogonzalez/Library/Application Support/Anki2/addons21/1709973686/model/migrator/init.py", line 25, in updateClozeModel models.save(clozeModel) File "anki/models.py", line 87, in save File "anki/models.py", line 231, in update File "anki/rsbackend_gen.py", line 414, in add_or_update_notetype File "anki/rsbackend.py", line 267, in _run_command anki.rsbackend.TemplateError: Card template ⁨1⁩ has a problem.

Reproduction step

  1. Starting Anki

Expected behavior

Not to show the message :)

Actual behavior

Screen Shot 2021-01-18 at 20 01 57

Anki/OS versions

Additional context

I don't know if it's important but before Anki showed this message, when I tried to use the card it showed the field like "disabled" because it was not used. Unfortunately, I do not have a screenshot of this because I deleted and then downloaded the add-on again and now it is displayed as normal field again:

Screen Shot 2021-01-18 at 20 08 46
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ankiuser-epg commented 3 years ago

It happened the same to me

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.