I’m looking for a workaround for this error with the LPCG v1.3.0 that keeps me from loading and using the plugin. I can access existing cards/notes made with it.
Upon startup (Windows desktop)
"In order to import new notes in this version of LPCG, your LPCG note types needs to be upgraded. This may require a full sync of your collection upon completion. Would you like to upgrade the note type now? If you say now, you will be asked again next time you start Anki"
OR When choosing the Import Lyrics/Poetry item from the menu:
“Your LPCG note type is out of date and needs to be upgraded before you can use LPCG. To
upgrade the note type, restart Anki and respond yes to the prompt”
Each path will cause this error:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-03-01 22:01:15
Caught exception:
Traceback (most recent call last):
File “aqt\progress.py”, line 52, in handler
File “aqt\main.py”, line 138, in on_window_init
File “aqt\main.py”, line 186, in setupProfileAfterWebviewsLoaded
File “aqt\main.py”, line 227, in setupProfile
File “aqt\main.py”, line 406, in loadProfile
File “aqt\hooks_gen.py”, line 2140, in call
File “C:\Users\student5\AppData\Roaming\Anki2\addons21\2084557901\models.py”, line 276, in ensure_note_type
new_version = mod.upgrade_from(current_version)
File “C:\Users\student5\AppData\Roaming\Anki2\addons21\2084557901\models.py”, line 112, in upgrade_from
func(model)
File “C:\Users\student5\AppData\Roaming\Anki2\addons21\2084557901\models.py”, line 162, in upgrade_onethreeoh
assert len(mod[‘tmpls’]) == 1, “LPCG note type has extra templates!”
AssertionError: LPCG note type has extra templates!