Skip to content

error when opening anki and randomly when reviewing #64

Description

@kaleo333

Bug report

Describe the bug

error on opening of anki

Reproduction step

open anki

Anki/OS versions

Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2021-12-21 20:33:00

Additional context

not sure if this is related but occasionally while reviewing the card with show the hidden closed deletion [...] when you're looking at the answer (and the answer buttons are available). I just sync and it resets the card and I can answer again and the close deletion will work. but it may be totally unrelated.

additionally, after changing the configuration to false, I cannot get the bar to go away on android

Copied error from anki on startup:
Caught exception:
Traceback (most recent call last):
File "aqt\progress.py", line 54, in handler
File "aqt\main.py", line 149, in on_window_init
File "aqt\main.py", line 197, in setupProfileAfterWebviewsLoaded
File "aqt\main.py", line 244, in setupProfile
File "aqt\main.py", line 425, in loadProfile
File "aqt\hooks_gen.py", line 2985, in call
File "anki\hooks.py", line 34, in runHook
File "C:\Users#removed#\1508357010\mobileSupport\modelModifier.py", line 48, in registerMobileScript
updateModels(col, mode)
File "C:\Users#removed#\1508357010\mobileSupport\modelModifier.py", line 84, in updateModels
models.save(model)
File "anki\models.py", line 556, in save
File "anki\models.py", line 539, in update
File "anki_backend\generated.py", line 450, in add_or_update_notetype
File "anki_backend_init_.py", line 131, in _run_command
anki.errors.TemplateError: Card template ⁨3⁩ in notetype '⁨Basic-e34b0⁩' has a problem.
The front side is identical to card template ⁨2⁩.

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions