Created
October 10, 2017 11:22
-
-
Save volodymyrsmirnov/a0bea69e0534fae624a3edb16e297189 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2017-10-10 11:21:36,091] ERROR in app: Exception on /project/645.7207/discovery/screenshots/ [GET] | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1988, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1641, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1544, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise | |
raise value | |
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1639, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1625, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "./modules/helpers/__init__.py", line 174, in decorated_function | |
return f(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/flask_login/utils.py", line 228, in decorated_view | |
return func(*args, **kwargs) | |
File "./modules/workflow/helpers/__init__.py", line 68, in wrapper | |
return f(*args, **kwargs) | |
File "./modules/workflow/steps/discovery/views.py", line 374, in screenshots | |
discovery=current_workflow.discovery, form=form | |
File "/usr/local/lib/python3.5/dist-packages/flask/templating.py", line 134, in render_template | |
context, ctx.app) | |
File "/usr/local/lib/python3.5/dist-packages/flask/templating.py", line 116, in _render | |
rv = template.render(context) | |
File "/usr/local/lib/python3.5/dist-packages/jinja2/environment.py", line 1008, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "/usr/local/lib/python3.5/dist-packages/jinja2/environment.py", line 780, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "/usr/local/lib/python3.5/dist-packages/jinja2/_compat.py", line 37, in reraise | |
raise value.with_traceback(tb) | |
File "/application/templates/modules/workflow/discovery/screenshots.html", line 4, in top-level template code | |
{% import "bootstrap/wtf.html" as wtf %} | |
File "/application/templates/modules/workflow/base.html", line 15, in top-level template code | |
{% set breadcrumbs = [ | |
File "/application/templates/dashboard_container.html", line 1, in top-level template code | |
{% extends "dashboard.html" %} | |
File "/application/templates/dashboard.html", line 1, in top-level template code | |
{% extends "base.html" %} | |
File "/application/templates/base.html", line 2, in top-level template code | |
{% import "bootstrap/fixes.html" as fixes %} | |
File "/usr/local/lib/python3.5/dist-packages/flask_bootstrap/templates/bootstrap/base.html", line 1, in top-level template code | |
{% block doc -%} | |
File "/usr/local/lib/python3.5/dist-packages/flask_bootstrap/templates/bootstrap/base.html", line 4, in block "doc" | |
{%- block html %} | |
File "/usr/local/lib/python3.5/dist-packages/flask_bootstrap/templates/bootstrap/base.html", line 20, in block "html" | |
{% block body -%} | |
File "/usr/local/lib/python3.5/dist-packages/flask_bootstrap/templates/bootstrap/base.html", line 23, in block "body" | |
{% block content -%} | |
File "/application/templates/dashboard.html", line 213, in block "content" | |
{% block dashboard_content %}{% endblock %} | |
File "/application/templates/dashboard_container.html", line 34, in block "dashboard_content" | |
{% block dashboard_container_content %} | |
File "/application/templates/modules/workflow/base.html", line 46, in block "dashboard_container_content" | |
{% include "modules/workflow/buttons.html" %} | |
File "/application/templates/modules/workflow/buttons.html", line 2, in top-level template code | |
{% set forward_action = current_workflow.can_go_forward() %} | |
File "./modules/workflow/models/workflow_models.py", line 340, in can_go_forward | |
can_move = getattr(app.blueprints[self.current_id], '_can_go_through', lambda i, e: False)(self, endpoint) | |
File "./modules/workflow/steps/discovery/views.py", line 34, in _can_go_through | |
if len(current_workflow.discovery.optional_text) == 0 and current_workflow.discovery.problem == True: | |
TypeError: object of type 'NoneType' has no len() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment