Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1836, in __call__
- return self.wsgi_app(environ, start_response)
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1820, in wsgi_app
- response = self.make_response(self.handle_exception(e))
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1403, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/_compat.py", line 33, in reraise
- raise value
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1817, in wsgi_app
- response = self.full_dispatch_request()
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1477, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1381, in handle_user_exception
- reraise(exc_type, exc_value, tb)
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/_compat.py", line 33, in reraise
- raise value
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1475, in full_dispatch_request
- rv = self.dispatch_request()
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1461, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "/home/korso/AppCraft/appcraft/extensions/auth.py", line 32, in wrapper
- return meth(*a, **kw)
- File "/home/korso/AppCraft/appcraft/lib/utils.py", line 54, in wrapper
- return meth(company_, *a, **kw)
- File "/home/korso/AppCraft/appcraft/controllers/analytics_emails.py", line 82, in email_show_draft
- blocks=EMAILS[etype],
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/templating.py", line 128, in render_template
- context, ctx.app)
- File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/templating.py", line 110, in _render
- rv = template.render(context)
- File "/home/korso/.pundledir/CPython-3.4.1-default/jinja2-2.7.3/jinja2/environment.py", line 969, in render
- return self.environment.handle_exception(exc_info, True)
- File "/home/korso/.pundledir/CPython-3.4.1-default/jinja2-2.7.3/jinja2/environment.py", line 742, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/home/korso/.pundledir/CPython-3.4.1-default/jinja2-2.7.3/jinja2/_compat.py", line 36, in reraise
- raise value.with_traceback(tb)
- File "/home/korso/AppCraft/appcraft/templates/analytics/emails/email.html", line 7, in <module>
- {% include 'analytics/emails/inner_email.html' %}
- File "/home/korso/AppCraft/appcraft/templates/analytics/emails/inner_email.html", line 22, in <module>
- {% include block['template'] %}
- File "/home/korso/AppCraft/appcraft/templates/analytics/emails/blocks/v2_common_metrics.html", line 8, in <module>
- {{ 'выросла' if email.data.difference > 0 else 'упала' }}
- jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'difference'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement