View Single Post
Old 12-05-2019, 11:09 PM   #1
ThomasPynchon
Junior Member
ThomasPynchon began at the beginning.
 
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!
Attached Files
File Type: txt PocketRecipeFailure_JobLog.txt (5.5 KB, 146 views)
File Type: txt PocketRecipeFailure_DebugLog.txt (7.0 KB, 166 views)
ThomasPynchon is offline   Reply With Quote