Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnkiConnect request fails #1

Closed
andrewcurriebroughton opened this issue Nov 19, 2023 · 1 comment · Fixed by #2
Closed

AnkiConnect request fails #1

andrewcurriebroughton opened this issue Nov 19, 2023 · 1 comment · Fixed by #2

Comments

@andrewcurriebroughton
Copy link

I keep getting the following error message when making changes from the VSCode extension:

Failed to save 'Front.template.anki': Unable to write file 'anki-editor:/Note Types/Vocabulary/Card 1/Front.template.anki' (Error: Anki-connect request failed: "on_model_updated() got multiple values for argument '_old'")

AnkiConnect 23.10.29.0
Anki 23.10

Possibly related to latest AnkiConnect release which includes this merged PR: FooSoft/anki-connect#382.

@Pedro-Bronsveld
Copy link
Owner

Thanks for letting me know my add-on broke with the latest Anki update.

The new Anki version added an extra argument to one of the functions wrapped by the add-on, which caused the error.

The problem has been fixed in version 1.0.1 and published to AnkiWeb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants