View Single Post
Old 06-16-2021, 09:33 PM   #1
trifecta
Junior Member
trifecta began at the beginning.
 
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
trifecta is offline   Reply With Quote