Arthur-Milchior / anki-copy-note

An add-on to copy anki's note
GNU General Public License v3.0
23 stars 9 forks source link

Not working on Anki's latest 2.1.25 update :( Please update it #13

Closed youknowme11 closed 4 years ago

youknowme11 commented 4 years ago

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, repeat 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-ons section of our support site. Debug info: Anki 2.1.25 (898801eb) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1 Platform: Windows 10 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2020-05-02 19:22:09

Caught exception: Traceback (most recent call last): File "C:\Users\USER\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py", line 65, in a.triggered.connect(lambda: copyNotes(browser.selectedNotes())) File "C:\Users\USER\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py", line 52, in copyNotes copyNote(nid) File "C:\Users\USER\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py", line 81, in copyNote copyCard(card, note) File "C:\Users\USER\AppData\Roaming\Anki2\addons21\1566928056\copyNote.py", line 98, in copyCard card.flush() File "lib\site-packages\anki\cards.py", line 107, in flush File "lib\site-packages\anki\rsbackend.py", line 507, in update_card File "lib\site-packages\anki\rsbackend.py", line 257, in _run_command anki.rsbackend.StringError: InvalidInput { info: "missing card" }

youknowme11 commented 4 years ago

BTW this is one of my all-time fave addons, so thank you man

Arthur-Milchior commented 4 years ago

Thanks for the bug report. I'm surprised that anyone need to copy enough card for this to be their preferred add-ons. I'll take a look at it

Arthur-Milchior commented 4 years ago

Please update

youknowme11 commented 4 years ago

Lovely stuff. Cheers for the prompt fix!