Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. START OF TRACEBACK
  2. ------------------------------------------------------------------------
  3. File: local/lib/python2.7/site-packages/tornado/concurrent.py (Line: 238)
  4. Function: result
  5. 231 before the `Future` is done, so the ``timeout`` is never used.
  6. 232 """
  7. 233 self._clear_tb_log()
  8. 234 if self._result is not None:
  9. 235 return self._result
  10. 236 if self._exc_info is not None:
  11. 237 try:
  12. 238 ==> raise_exc_info(self._exc_info)
  13. 239 finally:
  14. 240 self = None
  15. 241 self._check_done()
  16. 242 return self._result
  17. 243
  18. 244 def exception(self, timeout=None):
  19. Variables:
  20. self = None
  21. timeout = None
  22. ------------------------------------------------------------------------
  23. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 910)
  24. Function: error_callback
  25. 903 result = Future()
  26. 904 chain_future(future, result)
  27. 905 if io_loop is None:
  28. 906 io_loop = IOLoop.current()
  29. 907
  30. 908 def error_callback(future):
  31. 909 try:
  32. 910 ==> future.result()
  33. 911 except Exception as e:
  34. 912 if not isinstance(e, quiet_exceptions):
  35. 913 app_log.error("Exception in Future %r after timeout",
  36. 914 future, exc_info=True)
  37. 915
  38. 916 def timeout_callback():
  39. Variables:
  40. future = <tornado.concurrent.Future object at 0x7fce7d9017d0>
  41. e = StreamClosedError('Stream is closed',)
  42. quiet_exceptions = ()
  43. ------------------------------------------------------------------------
  44. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement