jdlorimer / incremental-reading

Anki add-on providing incremental reading features
https://ankiweb.net/shared/info/935264945
ISC License
216 stars 38 forks source link

"Import Pocket" not working #82

Closed AlexZHENGH closed 5 years ago

AlexZHENGH commented 5 years ago

The add-on works perfectly for importing web pages using urls; however, importing from Pocket does not work for me, each time raising an error:

Caught exception:
  File "/Users/username/Library/Application Support/Anki2/addons21/935264945/importer.py", line 215, in importPocket
    for a in response.json()['list'].values()]
<class 'AttributeError'>: 'list' object has no attribute 'values'

The authorisation was successful because I could find it in https://getpocket.com/connected_applications.

Specs:

AlexZHENGH commented 5 years ago

After I removed the authorisation, restarted Anki, and reconnected to Pocket, it worked now.

jdlorimer commented 5 years ago

Thanks for the report, though. Let me know if anything else stops working.