Error - Add-on "PDF Import as a Deck to View"

Installed this Add-on and tried using the option it provides to import a PDF as a deck when the error below was displayed;

A fatal error occurred, and Anki must close. Please report this message on the forums.
Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=?
Add-ons, last update check: 2021-08-04 10:24:27

Caught exception:
Traceback (most recent call last):
  File "C:\Users\SamMD\AppData\Roaming\Anki2\addons21\1444113509\", line 41, in doMyImport
    (fileFull, pageCount, pageIvl, deck_name, model, fieldList, ok) = ImportSettingsDialog().getDialogResult()
  File "C:\Users\SamMD\AppData\Roaming\Anki2\addons21\1444113509\", line 114, in __init__
  File "C:\Users\SamMD\AppData\Roaming\Anki2\addons21\1444113509\", line 156, in populateModelList
  File "anki\", line 204, in add
  File "anki\_backend\", line 438, in add_notetype_legacy
  File "anki\_backend\", line 126, in _run_command
pyo3_runtime.PanicException: assertion failed: == 0

Tried restarting Anki, but issue persists when trying to use the PDF Import option.

I had the exact same error. On Anki 2.1.44 the plugin works.

1 Like

Will keep it in mind, thanks.