View Single Post
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