Open peng051410 opened 6 years ago
My environment is: MacOs 10.13.4 (17E199)
My curl show:
Have you carried out the instructions given in https://foosoft.net/projects/anki-connect/#notes-for-mac-os-x-users ?
And make sure the decks you submit already exist in your Anki collection.
Yes,I execute the https://foosoft.net/projects/anki-connect/#notes-for-mac-os-x-users command, and the deck in the anki collection
What are the results of evaluating the following expressions ?
M-S-; anki-editor-anki-connect-listening-address
M-S-; anki-editor-anki-connect-listening-port
M-S-; (anki-editor--anki-connect-invoke "deckNames" 5)
execute anki-editor-anki-connect-listening-address result: 127.0.0.1 execute anki-editor-anki-connect-listening-port result: 8765 (anki-editor--anki-connect-invoke "deckNames" 5) get error: json parse error, response war ""
Is there a way for me to add some key log prints to your program?
You may have to clone this repo to your local machine and debug the anki-editor--anki-connect-invoke
function to see what's wrong with the invocation of shell-command-to-string
which uses curl to send the request.
I use you sample org file to submit, got error: Fetching decks... anki-editor-insert-deck: Unexpected error communicating with AnkiConnect: End of file while parsing JSON, the response was ""
What should i do?