Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1836, in __call__
  3. return self.wsgi_app(environ, start_response)
  4. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1820, in wsgi_app
  5. response = self.make_response(self.handle_exception(e))
  6. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1403, in handle_exception
  7. reraise(exc_type, exc_value, tb)
  8. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/_compat.py", line 33, in reraise
  9. raise value
  10. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1817, in wsgi_app
  11. response = self.full_dispatch_request()
  12. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1477, in full_dispatch_request
  13. rv = self.handle_user_exception(e)
  14. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1381, in handle_user_exception
  15. reraise(exc_type, exc_value, tb)
  16. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/_compat.py", line 33, in reraise
  17. raise value
  18. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1475, in full_dispatch_request
  19. rv = self.dispatch_request()
  20. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/app.py", line 1461, in dispatch_request
  21. return self.view_functions[rule.endpoint](**req.view_args)
  22. File "/home/korso/AppCraft/appcraft/extensions/auth.py", line 32, in wrapper
  23. return meth(*a, **kw)
  24. File "/home/korso/AppCraft/appcraft/lib/utils.py", line 54, in wrapper
  25. return meth(company_, *a, **kw)
  26. File "/home/korso/AppCraft/appcraft/controllers/analytics_emails.py", line 82, in email_show_draft
  27. blocks=EMAILS[etype],
  28. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/templating.py", line 128, in render_template
  29. context, ctx.app)
  30. File "/home/korso/.pundledir/CPython-3.4.1-default/flask-0.10.1/flask/templating.py", line 110, in _render
  31. rv = template.render(context)
  32. File "/home/korso/.pundledir/CPython-3.4.1-default/jinja2-2.7.3/jinja2/environment.py", line 969, in render
  33. return self.environment.handle_exception(exc_info, True)
  34. File "/home/korso/.pundledir/CPython-3.4.1-default/jinja2-2.7.3/jinja2/environment.py", line 742, in handle_exception
  35. reraise(exc_type, exc_value, tb)
  36. File "/home/korso/.pundledir/CPython-3.4.1-default/jinja2-2.7.3/jinja2/_compat.py", line 36, in reraise
  37. raise value.with_traceback(tb)
  38. File "/home/korso/AppCraft/appcraft/templates/analytics/emails/email.html", line 7, in <module>
  39. {% include 'analytics/emails/inner_email.html' %}
  40. File "/home/korso/AppCraft/appcraft/templates/analytics/emails/inner_email.html", line 22, in <module>
  41. {% include block['template'] %}
  42. File "/home/korso/AppCraft/appcraft/templates/analytics/emails/blocks/v2_common_metrics.html", line 8, in <module>
  43. {{ 'выросла' if email.data.difference > 0 else 'упала' }}
  44. jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'difference'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement