06-16-2021, 08:33 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2021
Device: kindle paperwhite
|
Economist recipe not working
I have been running a script to fetch the Economist on a raspberry pi 4 for about a year. Since the end of March this has stopped working. I got the following:
ebook-convert "The Economist.recipe" economist.epub Conversion options changed from defaults: test: None 1% Converting input to HTML... InputFormatPlugin: Recipe Input running Trying to get latest version of recipe: economist Using downloaded builtin recipe 1% Fetching feeds... Traceback (most recent call last): File "/usr/bin/ebook-convert", line 20, in <module> sys.exit(main()) File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 391, in main plumber.run() File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1106, in run accelerators, tdir) File "/usr/lib/calibre/calibre/customize/conversion.py", line 244, in __call__ log, accelerators) File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/recipe_input.py", line 136, in convert ro.download() File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1021, in download res = self.build_index() File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1188, in build_index feeds = feeds_from_index(self.parse_index(), oldest_article=self.oldest_article, File "<string>", line 256, in parse_index File "<string>", line 269, in economist_parse_index File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) TypeError: expected string or buffer Also when I ran list-recipes there were two recipes of the economist listed. I don't know if this has any relation to the problem. Has anyone else had the same problem? Thanks in advance |
06-16-2021, 10:12 PM | #2 |
creator of calibre
Posts: 43,984
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your version of calibre is too old for that recipe. You will need calibre 5+ most likely or perhaps calibre 4+
|
Advert | |
|
06-25-2021, 09:38 PM | #3 |
Zealot
Posts: 129
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
|
No problem with Economist, but I've always wondered what the difference is between the two recipes. I think I've tried both, with the same result, and at a quick glance at the recipes they look the same. But I always schedule my download using the second one, with the little red Economist banner.
And BTW, I know the suggestion is to download on Friday morning, but I set it for Thursday, 9am Pacific Time (Los Angeles) and it always works. If I try it 30-60 minutes earlier, it'll still be last week's edition. (I think the new edition is released by Thursday 4pm London time.) The new edition in the Economist apps is usually available Thursday morning Pacific Time as well. Sent from my SM-G975U using Tapatalk |
06-25-2021, 10:07 PM | #4 |
creator of calibre
Posts: 43,984
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The recipes are identical, there are two for historical reasons.
|
Tags |
economist |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Economist not working | davidsmartin | Recipes | 6 | 05-01-2021 05:25 PM |
The Economist not working | Parisien | Recipes | 2 | 10-14-2017 03:57 AM |
The Economist not working | Parisien | Recipes | 1 | 12-16-2016 02:42 PM |
Economist recipes not working | souljacker | Recipes | 19 | 11-23-2015 10:44 PM |
The Economist (free) recipe not working | paladin10000 | Calibre | 1 | 01-28-2010 12:44 PM |