Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. sqlalchemy.exc.TimeoutError
  2. sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/3o7r)
  3.  
  4. Traceback (most recent call last)
  5. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2463, in __call__
  6. return self.wsgi_app(environ, start_response)
  7. File "/usr/local/lib/python3.6/site-packages/werkzeug/middleware/proxy_fix.py", line 228, in __call__
  8. return self.app(environ, start_response)
  9. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2449, in wsgi_app
  10. response = self.handle_exception(e)
  11. File "/usr/local/lib/python3.6/site-packages/flask_cors/extension.py", line 161, in wrapped_function
  12. return cors_after_request(app.make_response(f(*args, **kwargs)))
  13. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1866, in handle_exception
  14. reraise(exc_type, exc_value, tb)
  15. File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
  16. raise value
  17. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
  18. response = self.full_dispatch_request()
  19. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
  20. rv = self.handle_user_exception(e)
  21. File "/usr/local/lib/python3.6/site-packages/flask_cors/extension.py", line 161, in wrapped_function
  22. return cors_after_request(app.make_response(f(*args, **kwargs)))
  23. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
  24. reraise(exc_type, exc_value, tb)
  25. File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
  26. raise value
  27. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
  28. rv = self.dispatch_request()
  29. File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
  30. return self.view_functions[rule.endpoint](**req.view_args)
  31. File "/usr/local/lib/python3.6/site-packages/flask_dance/consumer/oauth2.py", line 271, in authorized
  32. results = oauth_authorized.send(self, token=token) or []
  33. File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
  34. for receiver in self.receivers_for(sender)]
  35. File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in <listcomp>
  36. for receiver in self.receivers_for(sender)]
  37. File "/home/umbrella/app/oauth/facebook.py", line 34, in facebook_logged_in
  38. oauth = query.one()
  39. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3288, in one
  40. ret = self.one_or_none()
  41. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3257, in one_or_none
  42. ret = list(self)
  43. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3330, in __iter__
  44. return self._execute_and_instances(context)
  45. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3352, in _execute_and_instances
  46. querycontext, self._connection_from_session, close_with_result=True
  47. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3367, in _get_bind_args
  48. mapper=self._bind_mapper(), clause=querycontext.statement, **kw
  49. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3345, in _connection_from_session
  50. conn = self.session.connection(**kw)
  51. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1124, in connection
  52. execution_options=execution_options,
  53. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 1130, in _connection_for_bind
  54. engine, execution_options
  55. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 431, in _connection_for_bind
  56. conn = bind._contextual_connect()
  57. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2229, in _contextual_connect
  58. self._wrap_pool_connect(self.pool.connect, None),
  59. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2265, in _wrap_pool_connect
  60. return fn()
  61. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 363, in connect
  62. return _ConnectionFairy._checkout(self)
  63. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 760, in _checkout
  64. fairy = _ConnectionRecord.checkout(pool)
  65. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
  66. rec = pool._do_get()
  67. File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/impl.py", line 131, in _do_get
  68. code="3o7r",
  69. sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 (Background on this error at: http://sqlalche.me/e/3o7r)
  70. The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
  71. To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
  72.  
  73. You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
  74.  
  75. dump() shows all variables in the frame
  76. dump(obj) dumps all that's known about the object
  77. Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement