Open mattbowlby opened 2 years ago
I have encountered this error as well. You may most likely have a malformed JSON body, or you failed to serialize your request body properly.
VocabSieve author here. I have never seen this happening, and I am using the same versions (anki 2.1.49, newest AnkiConnect). Can you provide a way to reproduce this from a clean slate?
For reference, I am using the code on the Readme page for interfacing with AnkiConnect, and I have never encountered any error either in Anki or in VocabSieve.
@nvlled The functions handling Anki exports is in this file. Any potentially malformed JSONs here?
https://github.com/FreeLanguageTools/vocabsieve/blob/master/vocabsieve/tools.py
@1over137 Oh, to be clear, I'm not using mpvacious or VocabSieve. I'm making an app that uses anki-connect, and I encountered the UnboundLocalError. I'll check the link anyway and see if I can find anything.
I have installed AnkiConnect, but it doesn't seem to work when attempting to add new flashcards. AnkiConnect v.6 shows it is working at
http://localhost:8765/
. I am using macOS and I get the error message below: