Advertisement
IgorGal

Untitled

Mar 9th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 66.24 KB | None | 0 0
  1.  
  2. [2020-03-09 18:09:45 +0000] [1] [INFO] Starting gunicorn 20.0.4
  3. [2020-03-09 18:09:45 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
  4. [2020-03-09 18:09:45 +0000] [1] [INFO] Using worker: gevent
  5. [2020-03-09 18:09:45 +0000] [8] [INFO] Booting worker with pid: 8
  6. /usr/local/lib/python3.7/dist-packages/sqlalchemy/orm/dynamic.py:48: SAWarning:                                                                                                   On relationship User.parent, 'dynamic' loaders cannot be used with many-to-one/o                                                                                                  ne-to-one relationships and/or uselist=False.  This warning will be an exception                                                                                                   in a future release.
  7.   "future release." % self.parent_property
  8. [2020-03-09 19:22:10,926] ERROR in app: Exception on /user/activate/NjE.XmaV1g.M                                                                                                  XMGbJqM6EbHYDht3Fv_YEBRKe4 [GET]
  9. Traceback (most recent call last):
  10.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full                                                                                                  _dispatch_request
  11.     rv = self.dispatch_request()
  12.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in disp                                                                                                  atch_request
  13.     return self.view_functions[rule.endpoint](**req.view_args)
  14.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  15.     return view(*args, **kwargs)
  16.   File "/app/singlebuy/user.py", line 114, in activate
  17.     raise abort(404)
  18.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822                                                                                                  , in abort
  19.     return _aborter(status, *args, **kwargs)
  20.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807                                                                                                  , in __call__
  21.     raise self.mapping[code](*args, **kwargs)
  22. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on                                                                                                   the server. If you entered the URL manually please check your spelling and try a                                                                                                  gain.
  23.  
  24. During handling of the above exception, another exception occurred:
  25.  
  26. Traceback (most recent call last):
  27.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi                                                                                                  _app
  28.     response = self.full_dispatch_request()
  29.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full                                                                                                  _dispatch_request
  30.     rv = self.handle_user_exception(e)
  31.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in hand                                                                                                  le_user_exception
  32.     return self.handle_http_exception(e)
  33.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in hand                                                                                                  le_http_exception
  34.     return handler(e)
  35.   File "/app/singlebuy/error.py", line 14, in page_404
  36.     return render_template('error/404.html', error_title=gettext('Error 404'), e                                                                                                  rror_text=gettext('404 Not Found'))
  37.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, i                                                                                                  n render_template
  38.     ctx.app,
  39.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, i                                                                                                  n _render
  40.     rv = template.render(context)
  41.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090                                                                                                  , in render
  42.     self.environment.handle_exception()
  43.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832,                                                                                                   in handle_exception
  44.     reraise(*rewrite_traceback_stack(source=source))
  45.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in r                                                                                                  eraise
  46.     raise value.with_traceback(tb)
  47.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template                                                                                                   code
  48.     <head>
  49.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  50.     {%- block title %}
  51. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  52. [2020-03-09 19:22:10,939] ERROR in error: page_500
  53. Traceback (most recent call last):
  54.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full                                                                                                  _dispatch_request
  55.     rv = self.dispatch_request()
  56.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in disp                                                                                                  atch_request
  57.     return self.view_functions[rule.endpoint](**req.view_args)
  58.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  59.     return view(*args, **kwargs)
  60.   File "/app/singlebuy/user.py", line 114, in activate
  61.     raise abort(404)
  62.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822                                                                                                  , in abort
  63.     return _aborter(status, *args, **kwargs)
  64.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807                                                                                                  , in __call__
  65.     raise self.mapping[code](*args, **kwargs)
  66. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on                                                                                                   the server. If you entered the URL manually please check your spelling and try a                                                                                                  gain.
  67.  
  68. During handling of the above exception, another exception occurred:
  69.  
  70. Traceback (most recent call last):
  71.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi                                                                                                  _app
  72.     response = self.full_dispatch_request()
  73.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full                                                                                                  _dispatch_request
  74.     rv = self.handle_user_exception(e)
  75.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in hand                                                                                                  le_user_exception
  76.     return self.handle_http_exception(e)
  77.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in hand                                                                                                  le_http_exception
  78.     return handler(e)
  79.   File "/app/singlebuy/error.py", line 14, in page_404
  80.     return render_template('error/404.html', error_title=gettext('Error 404'), e                                                                                                  rror_text=gettext('404 Not Found'))
  81.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, i                                                                                                  n render_template
  82.     ctx.app,
  83.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, i                                                                                                  n _render
  84.     rv = template.render(context)
  85.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090                                                                                                  , in render
  86.     self.environment.handle_exception()
  87.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832,                                                                                                   in handle_exception
  88.     reraise(*rewrite_traceback_stack(source=source))
  89.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in r                                                                                                  eraise
  90.     raise value.with_traceback(tb)
  91.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template                                                                                                   code
  92.     <head>
  93.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  94.     {%- block title %}
  95. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  96. [2020-03-09 19:22:20,376] ERROR in app: Exception on /user/activate/NjE.XmaVsQ.g                                                                                                  I6qb7C4DV3aUkoeE6m3y5xRltg [GET]
  97. Traceback (most recent call last):
  98.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full                                                                                                  _dispatch_request
  99.     rv = self.dispatch_request()
  100.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in disp                                                                                                  atch_request
  101.     return self.view_functions[rule.endpoint](**req.view_args)
  102.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  103.     return view(*args, **kwargs)
  104.   File "/app/singlebuy/user.py", line 114, in activate
  105.     raise abort(404)
  106.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822                                                                                                  , in abort
  107.     return _aborter(status, *args, **kwargs)
  108.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807                                                                                                  , in __call__
  109.     raise self.mapping[code](*args, **kwargs)
  110. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on                                                                                                   the server. If you entered the URL manually please check your spelling and try a                                                                                                  gain.
  111.  
  112. During handling of the above exception, another exception occurred:
  113.  
  114. Traceback (most recent call last):
  115.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi                                                                                                  _app
  116.     response = self.full_dispatch_request()
  117.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full                                                                                                  _dispatch_request
  118.     rv = self.handle_user_exception(e)
  119.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in hand                                                                                                  le_user_exception
  120.     return self.handle_http_exception(e)
  121.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in hand                                                                                                  le_http_exception
  122.     return handler(e)
  123.   File "/app/singlebuy/error.py", line 14, in page_404
  124.     return render_template('error/404.html', error_title=gettext('Error 404'), e                                                                                                  rror_text=gettext('404 Not Found'))
  125.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, i                                                                                                  n render_template
  126.     ctx.app,
  127.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, i                                                                                                  n _render
  128.     rv = template.render(context)
  129.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090                                                                                                  , in render
  130.     self.environment.handle_exception()
  131.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832,                                                                                                   in handle_exception
  132.     reraise(*rewrite_traceback_stack(source=source))
  133.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in r                                                                                                  eraise
  134.     raise value.with_traceback(tb)
  135.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template                                                                                                   code
  136.     <head>
  137.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  138.     {%- block title %}
  139. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  140. [2020-03-09 19:22:20,377] ERROR in error: page_500
  141. Traceback (most recent call last):
  142.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full                                                                                                  _dispatch_request
  143.     rv = self.dispatch_request()
  144.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in disp                                                                                                  atch_request
  145.     return self.view_functions[rule.endpoint](**req.view_args)
  146.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  147.     return view(*args, **kwargs)
  148.   File "/app/singlebuy/user.py", line 114, in activate
  149.     raise abort(404)
  150.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822                                                                                                  , in abort
  151.     return _aborter(status, *args, **kwargs)
  152.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807                                                                                                  , in __call__
  153.     raise self.mapping[code](*args, **kwargs)
  154. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on                                                                                                   the server. If you entered the URL manually please check your spelling and try a                                                                                                  gain.
  155.  
  156. During handling of the above exception, another exception occurred:
  157.  
  158. Traceback (most recent call last):
  159.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi                                                                                                  _app
  160.     response = self.full_dispatch_request()
  161.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full                                                                                                  _dispatch_request
  162.     rv = self.handle_user_exception(e)
  163.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in hand                                                                                                  le_user_exception
  164.     return self.handle_http_exception(e)
  165.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in hand                                                                                                  le_http_exception
  166.     return handler(e)
  167.   File "/app/singlebuy/error.py", line 14, in page_404
  168.     return render_template('error/404.html', error_title=gettext('Error 404'), e                                                                                                  rror_text=gettext('404 Not Found'))
  169.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, i                                                                                                  n render_template
  170.     ctx.app,
  171.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, i                                                                                                  n _render
  172.     rv = template.render(context)
  173.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090                                                                                                  , in render
  174.     self.environment.handle_exception()
  175.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832,                                                                                                   in handle_exception
  176.     reraise(*rewrite_traceback_stack(source=source))
  177.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in r                                                                                                  eraise
  178.     raise value.with_traceback(tb)
  179.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template                                                                                                   code
  180.     <head>
  181.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  182.     {%- block title %}
  183. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  184. [2020-03-09 19:25:00,382] ERROR in app: Exception on /user/activate/NjE.XmaVsQ.g                                                                                                  I6qb7C4DV3aUkoeE6m3y5xRltg [GET]
  185. Traceback (most recent call last):
  186.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full                                                                                                  _dispatch_request
  187.     rv = self.dispatch_request()
  188.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in disp                                                                                                  atch_request
  189.     return self.view_functions[rule.endpoint](**req.view_args)
  190.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  191.     return view(*args, **kwargs)
  192.   File "/app/singlebuy/user.py", line 114, in activate
  193.     raise abort(404)
  194.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822                                                                                                  , in abort
  195.     return _aborter(status, *args, **kwargs)
  196.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807                                                                                                  , in __call__
  197.     raise self.mapping[code](*args, **kwargs)
  198. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on                                                                                                   the server. If you entered the URL manually please check your spelling and try a                                                                                                  gain.
  199.  
  200. During handling of the above exception, another exception occurred:
  201.  
  202. Traceback (most recent call last):
  203.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi                                                                                                  _app
  204.     response = self.full_dispatch_request()
  205.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full                                                                                                  _dispatch_request
  206.     rv = self.handle_user_exception(e)
  207.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in hand                                                                                                  le_user_exception
  208.     return self.handle_http_exception(e)
  209.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in hand                                                                                                  le_http_exception
  210.     return handler(e)
  211.   File "/app/singlebuy/error.py", line 14, in page_404
  212.     return render_template('error/404.html', error_title=gettext('Error 404'), e                                                                                                  rror_text=gettext('404 Not Found'))
  213.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, i                                                                                                  n render_template
  214.     ctx.app,
  215.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, i                                                                                                  n _render
  216.     rv = template.render(context)
  217.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090                                                                                                  , in render
  218.     self.environment.handle_exception()
  219.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832,                                                                                                   in handle_exception
  220.     reraise(*rewrite_traceback_stack(source=source))
  221.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in r                                                                                                  eraise
  222.     raise value.with_traceback(tb)
  223.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template                                                                                                   code
  224.     <head>
  225.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  226.     {%- block title %}
  227. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  228. [2020-03-09 19:25:00,384] ERROR in error: page_500
  229. Traceback (most recent call last):
  230.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full                                                                                                  _dispatch_request
  231.     rv = self.dispatch_request()
  232.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in disp                                                                                                  atch_request
  233.     return self.view_functions[rule.endpoint](**req.view_args)
  234.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  235.     return view(*args, **kwargs)
  236.   File "/app/singlebuy/user.py", line 114, in activate
  237.     raise abort(404)
  238.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822                                                                                                  , in abort
  239.     return _aborter(status, *args, **kwargs)
  240.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807                                                                                                  , in __call__
  241.     raise self.mapping[code](*args, **kwargs)
  242. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on                                                                                                   the server. If you entered the URL manually please check your spelling and try a                                                                                                  gain.
  243.  
  244. During handling of the above exception, another exception occurred:
  245.  
  246. Traceback (most recent call last):
  247.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi                                                                                                  _app
  248.     response = self.full_dispatch_request()
  249.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full                                                                                                  _dispatch_request
  250.     rv = self.handle_user_exception(e)
  251.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in hand                                                                                                  le_user_exception
  252.     return self.handle_http_exception(e)
  253.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in hand                                                                                                  le_http_exception
  254.     return handler(e)
  255.   File "/app/singlebuy/error.py", line 14, in page_404
  256.     return render_template('error/404.html', error_title=gettext('Error 404'), e                                                                                                  rror_text=gettext('404 Not Found'))
  257.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, i                                                                                                  n render_template
  258.     ctx.app,
  259.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, i                                                                                                  n _render
  260.     rv = template.render(context)
  261.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090                                                                                                  , in render
  262.     self.environment.handle_exception()
  263.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832,                                                                                                   in handle_exception
  264.     reraise(*rewrite_traceback_stack(source=source))
  265.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in r                                                                                                  eraise
  266.     raise value.with_traceback(tb)
  267.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template                                                                                                   code
  268.     <head>
  269.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  270.     {%- block title %}
  271. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  272. user@localhost:~$ docker container logs d667ccb3a947
  273. [2020-03-09 18:09:45 +0000] [1] [INFO] Starting gunicorn 20.0.4
  274. [2020-03-09 18:09:45 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
  275. [2020-03-09 18:09:45 +0000] [1] [INFO] Using worker: gevent
  276. [2020-03-09 18:09:45 +0000] [8] [INFO] Booting worker with pid: 8
  277. /usr/local/lib/python3.7/dist-packages/sqlalchemy/orm/dynamic.py:48: SAWarning: On relationship User.parent, 'dynamic' loaders cannot be used with many-to-one/one-to-one relationships and/or uselist=False.  This warning will be an exception in a future release.
  278.   "future release." % self.parent_property
  279. [2020-03-09 19:22:10,926] ERROR in app: Exception on /user/activate/NjE.XmaV1g.MXMGbJqM6EbHYDht3Fv_YEBRKe4 [GET]
  280. Traceback (most recent call last):
  281.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  282.     rv = self.dispatch_request()
  283.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  284.     return self.view_functions[rule.endpoint](**req.view_args)
  285.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  286.     return view(*args, **kwargs)
  287.   File "/app/singlebuy/user.py", line 114, in activate
  288.     raise abort(404)
  289.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  290.     return _aborter(status, *args, **kwargs)
  291.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  292.     raise self.mapping[code](*args, **kwargs)
  293. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  294.  
  295. During handling of the above exception, another exception occurred:
  296.  
  297. Traceback (most recent call last):
  298.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  299.     response = self.full_dispatch_request()
  300.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  301.     rv = self.handle_user_exception(e)
  302.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  303.     return self.handle_http_exception(e)
  304.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  305.     return handler(e)
  306.   File "/app/singlebuy/error.py", line 14, in page_404
  307.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  308.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  309.     ctx.app,
  310.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  311.     rv = template.render(context)
  312.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  313.     self.environment.handle_exception()
  314.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  315.     reraise(*rewrite_traceback_stack(source=source))
  316.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  317.     raise value.with_traceback(tb)
  318.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  319.     <head>
  320.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  321.     {%- block title %}
  322. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  323. [2020-03-09 19:22:10,939] ERROR in error: page_500
  324. Traceback (most recent call last):
  325.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  326.     rv = self.dispatch_request()
  327.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  328.     return self.view_functions[rule.endpoint](**req.view_args)
  329.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  330.     return view(*args, **kwargs)
  331.   File "/app/singlebuy/user.py", line 114, in activate
  332.     raise abort(404)
  333.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  334.     return _aborter(status, *args, **kwargs)
  335.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  336.     raise self.mapping[code](*args, **kwargs)
  337. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  338.  
  339. During handling of the above exception, another exception occurred:
  340.  
  341. Traceback (most recent call last):
  342.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  343.     response = self.full_dispatch_request()
  344.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  345.     rv = self.handle_user_exception(e)
  346.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  347.     return self.handle_http_exception(e)
  348.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  349.     return handler(e)
  350.   File "/app/singlebuy/error.py", line 14, in page_404
  351.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  352.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  353.     ctx.app,
  354.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  355.     rv = template.render(context)
  356.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  357.     self.environment.handle_exception()
  358.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  359.     reraise(*rewrite_traceback_stack(source=source))
  360.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  361.     raise value.with_traceback(tb)
  362.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  363.     <head>
  364.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  365.     {%- block title %}
  366. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  367. [2020-03-09 19:22:20,376] ERROR in app: Exception on /user/activate/NjE.XmaVsQ.gI6qb7C4DV3aUkoeE6m3y5xRltg [GET]
  368. Traceback (most recent call last):
  369.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  370.     rv = self.dispatch_request()
  371.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  372.     return self.view_functions[rule.endpoint](**req.view_args)
  373.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  374.     return view(*args, **kwargs)
  375.   File "/app/singlebuy/user.py", line 114, in activate
  376.     raise abort(404)
  377.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  378.     return _aborter(status, *args, **kwargs)
  379.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  380.     raise self.mapping[code](*args, **kwargs)
  381. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  382.  
  383. During handling of the above exception, another exception occurred:
  384.  
  385. Traceback (most recent call last):
  386.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  387.     response = self.full_dispatch_request()
  388.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  389.     rv = self.handle_user_exception(e)
  390.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  391.     return self.handle_http_exception(e)
  392.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  393.     return handler(e)
  394.   File "/app/singlebuy/error.py", line 14, in page_404
  395.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  396.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  397.     ctx.app,
  398.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  399.     rv = template.render(context)
  400.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  401.     self.environment.handle_exception()
  402.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  403.     reraise(*rewrite_traceback_stack(source=source))
  404.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  405.     raise value.with_traceback(tb)
  406.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  407.     <head>
  408.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  409.     {%- block title %}
  410. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  411. [2020-03-09 19:22:20,377] ERROR in error: page_500
  412. Traceback (most recent call last):
  413.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  414.     rv = self.dispatch_request()
  415.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  416.     return self.view_functions[rule.endpoint](**req.view_args)
  417.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  418.     return view(*args, **kwargs)
  419.   File "/app/singlebuy/user.py", line 114, in activate
  420.     raise abort(404)
  421.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  422.     return _aborter(status, *args, **kwargs)
  423.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  424.     raise self.mapping[code](*args, **kwargs)
  425. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  426.  
  427. During handling of the above exception, another exception occurred:
  428.  
  429. Traceback (most recent call last):
  430.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  431.     response = self.full_dispatch_request()
  432.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  433.     rv = self.handle_user_exception(e)
  434.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  435.     return self.handle_http_exception(e)
  436.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  437.     return handler(e)
  438.   File "/app/singlebuy/error.py", line 14, in page_404
  439.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  440.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  441.     ctx.app,
  442.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  443.     rv = template.render(context)
  444.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  445.     self.environment.handle_exception()
  446.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  447.     reraise(*rewrite_traceback_stack(source=source))
  448.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  449.     raise value.with_traceback(tb)
  450.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  451.     <head>
  452.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  453.     {%- block title %}
  454. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  455. [2020-03-09 19:25:00,382] ERROR in app: Exception on /user/activate/NjE.XmaVsQ.gI6qb7C4DV3aUkoeE6m3y5xRltg [GET]
  456. Traceback (most recent call last):
  457.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  458.     rv = self.dispatch_request()
  459.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  460.     return self.view_functions[rule.endpoint](**req.view_args)
  461.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  462.     return view(*args, **kwargs)
  463.   File "/app/singlebuy/user.py", line 114, in activate
  464.     raise abort(404)
  465.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  466.     return _aborter(status, *args, **kwargs)
  467.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  468.     raise self.mapping[code](*args, **kwargs)
  469. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  470.  
  471. During handling of the above exception, another exception occurred:
  472.  
  473. Traceback (most recent call last):
  474.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  475.     response = self.full_dispatch_request()
  476.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  477.     rv = self.handle_user_exception(e)
  478.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  479.     return self.handle_http_exception(e)
  480.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  481.     return handler(e)
  482.   File "/app/singlebuy/error.py", line 14, in page_404
  483.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  484.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  485.     ctx.app,
  486.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  487.     rv = template.render(context)
  488.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  489.     self.environment.handle_exception()
  490.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  491.     reraise(*rewrite_traceback_stack(source=source))
  492.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  493.     raise value.with_traceback(tb)
  494.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  495.     <head>
  496.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  497.     {%- block title %}
  498. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  499. [2020-03-09 19:25:00,384] ERROR in error: page_500
  500. Traceback (most recent call last):
  501.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  502.     rv = self.dispatch_request()
  503.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  504.     return self.view_functions[rule.endpoint](**req.view_args)
  505.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  506.     return view(*args, **kwargs)
  507.   File "/app/singlebuy/user.py", line 114, in activate
  508.     raise abort(404)
  509.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  510.     return _aborter(status, *args, **kwargs)
  511.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  512.     raise self.mapping[code](*args, **kwargs)
  513. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  514.  
  515. During handling of the above exception, another exception occurred:
  516.  
  517. Traceback (most recent call last):
  518.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  519.     response = self.full_dispatch_request()
  520.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  521.     rv = self.handle_user_exception(e)
  522.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  523.     return self.handle_http_exception(e)
  524.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  525.     return handler(e)
  526.   File "/app/singlebuy/error.py", line 14, in page_404
  527.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  528.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  529.     ctx.app,
  530.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  531.     rv = template.render(context)
  532.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  533.     self.environment.handle_exception()
  534.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  535.     reraise(*rewrite_traceback_stack(source=source))
  536.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  537.     raise value.with_traceback(tb)
  538.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  539.     <head>
  540.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  541.     {%- block title %}
  542. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  543. user@localhost:~$ docker container logs d667ccb3a947
  544. [2020-03-09 18:09:45 +0000] [1] [INFO] Starting gunicorn 20.0.4
  545. [2020-03-09 18:09:45 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
  546. [2020-03-09 18:09:45 +0000] [1] [INFO] Using worker: gevent
  547. [2020-03-09 18:09:45 +0000] [8] [INFO] Booting worker with pid: 8
  548. /usr/local/lib/python3.7/dist-packages/sqlalchemy/orm/dynamic.py:48: SAWarning: On relationship User.parent, 'dynamic' loaders cannot be used with many-to-one/one-to-one relationships and/or uselist=False.  This warning will be an exception in a future release.
  549.   "future release." % self.parent_property
  550. [2020-03-09 19:22:10,926] ERROR in app: Exception on /user/activate/NjE.XmaV1g.MXMGbJqM6EbHYDht3Fv_YEBRKe4 [GET]
  551. Traceback (most recent call last):
  552.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  553.     rv = self.dispatch_request()
  554.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  555.     return self.view_functions[rule.endpoint](**req.view_args)
  556.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  557.     return view(*args, **kwargs)
  558.   File "/app/singlebuy/user.py", line 114, in activate
  559.     raise abort(404)
  560.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  561.     return _aborter(status, *args, **kwargs)
  562.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  563.     raise self.mapping[code](*args, **kwargs)
  564. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  565.  
  566. During handling of the above exception, another exception occurred:
  567.  
  568. Traceback (most recent call last):
  569.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  570.     response = self.full_dispatch_request()
  571.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  572.     rv = self.handle_user_exception(e)
  573.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  574.     return self.handle_http_exception(e)
  575.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  576.     return handler(e)
  577.   File "/app/singlebuy/error.py", line 14, in page_404
  578.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  579.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  580.     ctx.app,
  581.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  582.     rv = template.render(context)
  583.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  584.     self.environment.handle_exception()
  585.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  586.     reraise(*rewrite_traceback_stack(source=source))
  587.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  588.     raise value.with_traceback(tb)
  589.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  590.     <head>
  591.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  592.     {%- block title %}
  593. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  594. [2020-03-09 19:22:10,939] ERROR in error: page_500
  595. Traceback (most recent call last):
  596.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  597.     rv = self.dispatch_request()
  598.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  599.     return self.view_functions[rule.endpoint](**req.view_args)
  600.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  601.     return view(*args, **kwargs)
  602.   File "/app/singlebuy/user.py", line 114, in activate
  603.     raise abort(404)
  604.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  605.     return _aborter(status, *args, **kwargs)
  606.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  607.     raise self.mapping[code](*args, **kwargs)
  608. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  609.  
  610. During handling of the above exception, another exception occurred:
  611.  
  612. Traceback (most recent call last):
  613.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  614.     response = self.full_dispatch_request()
  615.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  616.     rv = self.handle_user_exception(e)
  617.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  618.     return self.handle_http_exception(e)
  619.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  620.     return handler(e)
  621.   File "/app/singlebuy/error.py", line 14, in page_404
  622.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  623.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  624.     ctx.app,
  625.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  626.     rv = template.render(context)
  627.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  628.     self.environment.handle_exception()
  629.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  630.     reraise(*rewrite_traceback_stack(source=source))
  631.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  632.     raise value.with_traceback(tb)
  633.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  634.     <head>
  635.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  636.     {%- block title %}
  637. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  638. [2020-03-09 19:22:20,376] ERROR in app: Exception on /user/activate/NjE.XmaVsQ.gI6qb7C4DV3aUkoeE6m3y5xRltg [GET]
  639. Traceback (most recent call last):
  640.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  641.     rv = self.dispatch_request()
  642.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  643.     return self.view_functions[rule.endpoint](**req.view_args)
  644.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  645.     return view(*args, **kwargs)
  646.   File "/app/singlebuy/user.py", line 114, in activate
  647.     raise abort(404)
  648.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  649.     return _aborter(status, *args, **kwargs)
  650.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  651.     raise self.mapping[code](*args, **kwargs)
  652. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  653.  
  654. During handling of the above exception, another exception occurred:
  655.  
  656. Traceback (most recent call last):
  657.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  658.     response = self.full_dispatch_request()
  659.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  660.     rv = self.handle_user_exception(e)
  661.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  662.     return self.handle_http_exception(e)
  663.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  664.     return handler(e)
  665.   File "/app/singlebuy/error.py", line 14, in page_404
  666.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  667.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  668.     ctx.app,
  669.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  670.     rv = template.render(context)
  671.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  672.     self.environment.handle_exception()
  673.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  674.     reraise(*rewrite_traceback_stack(source=source))
  675.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  676.     raise value.with_traceback(tb)
  677.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  678.     <head>
  679.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  680.     {%- block title %}
  681. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  682. [2020-03-09 19:22:20,377] ERROR in error: page_500
  683. Traceback (most recent call last):
  684.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  685.     rv = self.dispatch_request()
  686.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  687.     return self.view_functions[rule.endpoint](**req.view_args)
  688.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  689.     return view(*args, **kwargs)
  690.   File "/app/singlebuy/user.py", line 114, in activate
  691.     raise abort(404)
  692.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  693.     return _aborter(status, *args, **kwargs)
  694.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  695.     raise self.mapping[code](*args, **kwargs)
  696. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  697.  
  698. During handling of the above exception, another exception occurred:
  699.  
  700. Traceback (most recent call last):
  701.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  702.     response = self.full_dispatch_request()
  703.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  704.     rv = self.handle_user_exception(e)
  705.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  706.     return self.handle_http_exception(e)
  707.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  708.     return handler(e)
  709.   File "/app/singlebuy/error.py", line 14, in page_404
  710.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  711.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  712.     ctx.app,
  713.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  714.     rv = template.render(context)
  715.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  716.     self.environment.handle_exception()
  717.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  718.     reraise(*rewrite_traceback_stack(source=source))
  719.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  720.     raise value.with_traceback(tb)
  721.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  722.     <head>
  723.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  724.     {%- block title %}
  725. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  726. [2020-03-09 19:25:00,382] ERROR in app: Exception on /user/activate/NjE.XmaVsQ.gI6qb7C4DV3aUkoeE6m3y5xRltg [GET]
  727. Traceback (most recent call last):
  728.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  729.     rv = self.dispatch_request()
  730.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  731.     return self.view_functions[rule.endpoint](**req.view_args)
  732.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  733.     return view(*args, **kwargs)
  734.   File "/app/singlebuy/user.py", line 114, in activate
  735.     raise abort(404)
  736.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  737.     return _aborter(status, *args, **kwargs)
  738.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  739.     raise self.mapping[code](*args, **kwargs)
  740. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  741.  
  742. During handling of the above exception, another exception occurred:
  743.  
  744. Traceback (most recent call last):
  745.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  746.     response = self.full_dispatch_request()
  747.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  748.     rv = self.handle_user_exception(e)
  749.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  750.     return self.handle_http_exception(e)
  751.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  752.     return handler(e)
  753.   File "/app/singlebuy/error.py", line 14, in page_404
  754.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  755.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  756.     ctx.app,
  757.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  758.     rv = template.render(context)
  759.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  760.     self.environment.handle_exception()
  761.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  762.     reraise(*rewrite_traceback_stack(source=source))
  763.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  764.     raise value.with_traceback(tb)
  765.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  766.     <head>
  767.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  768.     {%- block title %}
  769. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  770. [2020-03-09 19:25:00,384] ERROR in error: page_500
  771. Traceback (most recent call last):
  772.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  773.     rv = self.dispatch_request()
  774.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  775.     return self.view_functions[rule.endpoint](**req.view_args)
  776.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  777.     return view(*args, **kwargs)
  778.   File "/app/singlebuy/user.py", line 114, in activate
  779.     raise abort(404)
  780.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  781.     return _aborter(status, *args, **kwargs)
  782.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  783.     raise self.mapping[code](*args, **kwargs)
  784. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  785.  
  786. During handling of the above exception, another exception occurred:
  787.  
  788. Traceback (most recent call last):
  789.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  790.     response = self.full_dispatch_request()
  791.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  792.     rv = self.handle_user_exception(e)
  793.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  794.     return self.handle_http_exception(e)
  795.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  796.     return handler(e)
  797.   File "/app/singlebuy/error.py", line 14, in page_404
  798.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  799.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  800.     ctx.app,
  801.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  802.     rv = template.render(context)
  803.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  804.     self.environment.handle_exception()
  805.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  806.     reraise(*rewrite_traceback_stack(source=source))
  807.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  808.     raise value.with_traceback(tb)
  809.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  810.     <head>
  811.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  812.     {%- block title %}
  813. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  814. [2020-03-09 19:26:29,088] ERROR in app: Exception on /user/activate/NjE.XmaV1g.MXMGbJqM6EbHYDht3Fv_YEBRKe4 [GET]
  815. Traceback (most recent call last):
  816.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  817.     rv = self.dispatch_request()
  818.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  819.     return self.view_functions[rule.endpoint](**req.view_args)
  820.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  821.     return view(*args, **kwargs)
  822.   File "/app/singlebuy/user.py", line 114, in activate
  823.     raise abort(404)
  824.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  825.     return _aborter(status, *args, **kwargs)
  826.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  827.     raise self.mapping[code](*args, **kwargs)
  828. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  829.  
  830. During handling of the above exception, another exception occurred:
  831.  
  832. Traceback (most recent call last):
  833.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  834.     response = self.full_dispatch_request()
  835.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  836.     rv = self.handle_user_exception(e)
  837.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  838.     return self.handle_http_exception(e)
  839.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  840.     return handler(e)
  841.   File "/app/singlebuy/error.py", line 14, in page_404
  842.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  843.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  844.     ctx.app,
  845.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  846.     rv = template.render(context)
  847.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  848.     self.environment.handle_exception()
  849.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  850.     reraise(*rewrite_traceback_stack(source=source))
  851.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  852.     raise value.with_traceback(tb)
  853.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  854.     <head>
  855.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  856.     {%- block title %}
  857. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
  858. [2020-03-09 19:26:29,091] ERROR in error: page_500
  859. Traceback (most recent call last):
  860.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
  861.     rv = self.dispatch_request()
  862.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
  863.     return self.view_functions[rule.endpoint](**req.view_args)
  864.   File "/app/singlebuy/user.py", line 49, in view_wrapper
  865.     return view(*args, **kwargs)
  866.   File "/app/singlebuy/user.py", line 114, in activate
  867.     raise abort(404)
  868.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 822, in abort
  869.     return _aborter(status, *args, **kwargs)
  870.   File "/usr/local/lib/python3.7/dist-packages/werkzeug/exceptions.py", line 807, in __call__
  871.     raise self.mapping[code](*args, **kwargs)
  872. werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
  873.  
  874. During handling of the above exception, another exception occurred:
  875.  
  876. Traceback (most recent call last):
  877.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
  878.     response = self.full_dispatch_request()
  879.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
  880.     rv = self.handle_user_exception(e)
  881.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1815, in handle_user_exception
  882.     return self.handle_http_exception(e)
  883.   File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1743, in handle_http_exception
  884.     return handler(e)
  885.   File "/app/singlebuy/error.py", line 14, in page_404
  886.     return render_template('error/404.html', error_title=gettext('Error 404'), error_text=gettext('404 Not Found'))
  887.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 140, in render_template
  888.     ctx.app,
  889.   File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 120, in _render
  890.     rv = template.render(context)
  891.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 1090, in render
  892.     self.environment.handle_exception()
  893.   File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
  894.     reraise(*rewrite_traceback_stack(source=source))
  895.   File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
  896.     raise value.with_traceback(tb)
  897.   File "/app/singlebuy/templates/error/404.html", line 3, in top-level template code
  898.     <head>
  899.   File "/app/singlebuy/templates/error/404.html", line 4, in block "title"
  900.     {%- block title %}
  901. jinja2.exceptions.UndefinedError: there is no parent block called 'title'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement