Closed petergerten closed 6 years ago
As for myself, I get the following error when I answer "Yes" to "I have authenticated with Pocket" before the webpage has loaded.
Anki 2.1.0beta27 Python 3.6.2 Qt 5.9.2 PyQt 5.9
Platform: Linux
Flags: frz=True ao=True
Caught exception:
File "/home/.../.local/share/Anki2/addons21/1081195335/importer.py", line 166, in importPocket
accessToken = response.json()['access_token']
File "site-packages/requests/models.py", line 894, in json
File "json/__init__.py", line 354, in loads
File "json/decoder.py", line 342, in decode
<class 'json.decoder.JSONDecodeError'>: Extra data: line 1 column 5 (char 4)
It might be because I've been playing with the code lately, even though I get this error with the original add-on as well.
Everything goes well, however, when I wait for the webpage to load before answering "Yes".
Does your error happen in both cases?
I'll close this one until there is more information. Feel free to open it again, Peter.
When trying to import from pocket I get this error: