Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-29-2018, 06:16 PM   #1
NSILMike
Guru
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
Associated Press recipe is broken

For several days now, it downloads links to articles (but not the articles...)
Thanks.
NSILMike is offline   Reply With Quote
Old 05-30-2018, 06:07 PM   #2
LordEastwood
Junior Member
LordEastwood began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2018
Device: Sony DPT-RP1
Bump.
I would appreciate it if someone could fix this recipe!
Regards,
-Michael
LordEastwood is offline   Reply With Quote
Advert
Old 05-30-2018, 09:46 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...5b6049c293095f
kovidgoyal is offline   Reply With Quote
Old 05-31-2018, 07:03 AM   #4
NSILMike
Guru
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
Many thanks!
NSILMike is offline   Reply With Quote
Old 05-31-2018, 10:02 AM   #5
LordEastwood
Junior Member
LordEastwood began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2018
Device: Sony DPT-RP1
Thank you Kovid!
LordEastwood is offline   Reply With Quote
Advert
Old 05-31-2018, 06:05 PM   #6
LordEastwood
Junior Member
LordEastwood began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2018
Device: Sony DPT-RP1
Different Error?

I updated the Associated Press recipe with what Kovid supplied and it worked this morning.
This afternoon, when running the recipe, I get the following error from Calibre:
Using custom recipe
Processing section: topnews at https://afs-prod.appspot.com/api/v2/...gs=apf-topnews
Python function terminated unexpectedly
HTTP Error 500: Internal Server Error (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1087, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert
File "site-packages\calibre\web\feeds\news.py", line 1018, in download
File "site-packages\calibre\web\feeds\news.py", line 1185, in build_index
File "<string>", line 50, in parse_index
File "<string>", line 58, in parse_section
File "site-packages\calibre\web\feeds\news.py", line 675, in index_to_soup
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
mechanize._response.httperror_seek_wrapper: HTTP Error 500: Internal Server Error


then from the afs-prod.appspot.com address I get:
Internal Server Error
The server has either erred or is incapable of performing the requested operation.
Traceback (most recent call last):
File "/base/alloc/tmpfs/dynamic_runtimes/python27/277b61042b697c7a_unzipped/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/277b61042b697c7a_unzipped/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/277b61042b697c7a_unzipped/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/277b61042b697c7a_unzipped/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/base/alloc/tmpfs/dynamic_runtimes/python27/277b61042b697c7a_unzipped/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/277b61042b697c7a_unzipped/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~afs-prod/feed:85-1.410102938891921435/helpers/caching.py", line 81, in wrapper
value = function(self, *args, **kwargs)
File "/base/data/home/apps/s~afs-prod/feed:85-1.410102938891921435/resources/feed_res.py", line 647, in get
card_dicts = self.make_feed(tags)
File "/base/data/home/apps/s~afs-prod/feed:85-1.410102938891921435/resources/feed_res.py", line 200, in make_feed
is_pr_tag=is_pr_tag
File "/base/data/home/apps/s~afs-prod/feed:85-1.410102938891921435/helpers/feed.py", line 689, in make_feed
available_keys = sort_content_keys([c.key for c in contents], content_id_content_map)
File "/base/data/home/apps/s~afs-prod/feed:85-1.410102938891921435/helpers/feed.py", line 272, in sort_content_keys
return sorted(unassigned_keys, key=_key)
File "/base/data/home/apps/s~afs-prod/feed:85-1.410102938891921435/helpers/feed.py", line 268, in _key
et = time.mktime(dt.timetuple())
AttributeError: 'NoneType' object has no attribute 'timetuple'


Anyone know what these error logs mean?
LordEastwood is offline   Reply With Quote
Old 05-31-2018, 09:29 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's an error on the AP server, hopefully they will fix it soon enough.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Associated Press recipe news title display broken within articles duydangle Recipes 0 02-12-2014 12:19 AM
Broken ebook cover in Nook Press EbookNoob ePub 1 05-11-2013 01:15 AM
Need Recipe for Press Information bureau(PIB) pawan.kp Recipes 1 02-02-2013 05:12 AM
Problem Customizing Associated Press Recipe Marty398 Recipes 2 01-10-2012 07:50 AM
xkcd recipe broken elementz Recipes 3 12-16-2010 06:27 PM


All times are GMT -4. The time now is 07:16 PM.


MobileRead.com is a privately owned, operated and funded community.