|
|
Thread Tools | Search this Thread |
12-05-2019, 11:09 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: Kobo Glo
|
Pocket: "Failed to download article.... TypeError: expected string or buffer"
Greetings! I am trying to use the recipe for Pocket for the first time, and am having difficulties.
The symptoms are that the download job completes, but there are no articles in book. I have double-checked my Pocket credentials. The job log indicates that: InputFormatPlugin: Recipe Input running Downloading recipe urn: custom:1000 Synthesizing mastheadImage Failed to download article: Slavoj Zizek-Bibliography/The Thing from Inner Space/Lacan Dot Com from https://getpocket.com/a/read/8290969 Traceback (most recent call last): File "/usr/lib64/calibre/calibre/utils/threadpool.py", line 101, in run (request, request.callable(*request.args, **request.kwds)) File "/usr/lib64/calibre/calibre/web/feeds/news.py", line 1150, in fetch_obfuscated_article path = os.path.abspath(self.get_obfuscated_article(url)) File "<string>", line 155, in get_obfuscated_article File "<string>", line 140, in get_textview File "/usr/lib64/python2.7/re.py", line 146, in search return _compile(pattern, flags).search(string) TypeError: expected string or buffer It looks like whatever is being returned is malformed? Also interesting that it includes the article name; this indicates that the correct credentials were passed to Pocket. I have experienced similar issues with Pocket+ recipe, and can post those logs as well, if they are useful. Can anyone offer any insight, or would any fellow Pocket users try to replicate this issue on their machines? Thank you! |
12-06-2019, 03:44 AM | #2 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates the markup on the pocket pages has changed, the recipe will need to be adapted accordingly.
|
12-07-2019, 02:33 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: Kobo Glo
|
Thanks for the confirmation!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Viewer] TypeError: expected string or buffer | thiago.eec | Calibre | 2 | 11-01-2019 04:20 AM |
Server issue-download error msg "Failed-Forbidden" | BadAngel | Server | 6 | 06-27-2019 08:50 AM |
Bugs "Sanity Check epub" and "Failed Release date" on V 0.91 | qkiazd | Sigil | 5 | 12-03-2015 04:01 AM |
Calibre Companion App Returning "failed to download" error | jgplane | Calibre Companion | 2 | 11-02-2013 03:12 AM |
Calibre: TypeError:expected string or buffer | Jonimeesermann | Calibre | 4 | 10-02-2010 11:40 AM |