Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@localhost:~/singlebuy$ docker container logs 1e0142d61ead
- [2020-03-07 21:32:42 +0000] [1] [INFO] Starting gunicorn 20.0.4
- [2020-03-07 21:32:42 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
- [2020-03-07 21:32:42 +0000] [1] [INFO] Using worker: gevent
- [2020-03-07 21:32:42 +0000] [8] [INFO] Booting worker with pid: 8
- /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.
- "future release." % self.parent_property
- [2020-03-07 21:32:52,843] ERROR in error: page_500
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
- rv = self.dispatch_request()
- File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "/app/singlebuy/user.py", line 39, in view_wrapper
- return view(*args, **kwargs)
- File "/app/singlebuy/user.py", line 276, in settings
- return render_template('user/settings.html', **data)
- File "/usr/local/lib/python3.7/dist-packages/flask/templating.py", line 138, in render_template
- ctx.app.jinja_env.get_or_select_template(template_name_or_list),
- File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 930, in get_or_select_template
- return self.get_template(template_name_or_list, parent, globals)
- File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 883, in get_template
- return self._load_template(name, self.make_globals(globals))
- File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 857, in _load_template
- template = self.loader.load(self, name, globals)
- File "/usr/local/lib/python3.7/dist-packages/jinja2/loaders.py", line 129, in load
- code = environment.compile(source, name, filename)
- File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 638, in compile
- self.handle_exception(source=source_hint)
- File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
- reraise(*rewrite_traceback_stack(source=source))
- File "/usr/local/lib/python3.7/dist-packages/jinja2/_compat.py", line 28, in reraise
- raise value.with_traceback(tb)
- File "/app/singlebuy/templates/user/settings.html", line 12, in template
- jinja2.exceptions.TemplateSyntaxError: expected token ',', got 't'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement