Asset Manager seems to be more unstable on 2.1.47 than it has been on 2.1.44. Edit: Unstable is the wrong word. It’s just less forgiving now, probably because Anki itself got a bit more strict.
I’ve encountered this error with two completely different note types on “Write to Templates”:
File "/home/user/.local/share/Anki2/addons21/656021484/gui_config/config.py", line 58, in writeBackCurrentSetting
self.write_back_callback(*self.export_data())
File "/home/user/.local/share/Anki2/addons21/656021484/src/models.py", line 22, in write_back
setup_model(model_id, html_data, script_data)
File "/home/user/.local/share/Anki2/addons21/656021484/src/model_editor/__init__.py", line 9, in setup_model
setup_full(model_id, html, scripts)
File "/home/user/.local/share/Anki2/addons21/656021484/src/model_editor/setup_html.py", line 208, in setup_full
insert(unminifieds, template_fmts, lambda: mw.col.models.update_dict(model))
File "/home/user/.local/share/Anki2/addons21/656021484/src/model_editor/minify.py", line 22, in insert_unminified
process_minifieds(unminifieds, template_fmts, callback)
File "/home/user/.local/share/Anki2/addons21/656021484/src/model_editor/minifier.py", line 38, in process_minifieds
callback()
File "/home/user/.local/share/Anki2/addons21/656021484/src/model_editor/setup_html.py", line 208, in <lambda>
insert(unminifieds, template_fmts, lambda: mw.col.models.update_dict(model))
File "anki/models.py", line 223, in update_dict
File "anki/_backend/generated.py", line 444, in update_notetype_legacy
File "anki/_backend/__init__.py", line 131, in _run_command
anki.errors.TemplateError: Card template 1 in notetype 'SomeNoteType' has a problem.<br>See the preview for more information.
It happened instantly on my main note type, on the other one it happened after adding new card templates. I feel like it might be caused by the now more aggressive template warning system on Anki’s side.