Copy Card addons bug

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.48 (fb07bad3) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-11-20 16:37:58

Caught exception:
Traceback (most recent call last):
File “C:\Users\Mohammad\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py”, line 67, in
a.triggered.connect(lambda: copyNotes(browser))
File “C:\Users\Mohammad\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py”, line 54, in copyNotes
copyNote(nid)
File “C:\Users\Mohammad\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py”, line 78, in copyNote
new_note, new_cards = add_note_with_id(note, nid if getUserOption(“Preserve creation time”, True) else None)
File “C:\Users\Mohammad\AppData\Roaming\Anki2\addons21\1566928056\new_note_id.py”, line 10, in add_note_with_id
mw.col.add_note(note, 1)
File “anki\collection.py”, line 373, in add_note
File “anki_backend\generated.py”, line 303, in add_note
File “anki_backend_init_.py”, line 131, in _run_command
anki.errors.InvalidInput: Invalid input: ⁨note has 2 fields, expected 5⁩

Looks like its a problem with an addon, do you have a link to the page you got it from? It might be outdated but its hard to tell without knowing that.

In the meantime you can hold down shift when starting anki and then disable the plugin to be able to use anki without it.

Also try finding the dev and contacting them directly, not all of them browse this forum :slight_smile:

Looks like this was reported to the add-on author here: Doesn't work on latest to date Anki · Issue #42 · Arthur-Milchior/anki-copy-note · GitHub

1 Like