![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() 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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
Many thanks!
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2018
Device: Sony DPT-RP1
|
Thank you Kovid!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() 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? |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's an error on the AP server, hopefully they will fix it soon enough.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |