Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()

 "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)

 "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 271, in error_router
return original_handler(e)

 "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)

 "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()

 "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)

 "/opt/redash/redash.0.11.0.b2016/redash/authentication/saml_auth.py", line 105, in sp_initiated
saml_client = get_saml_client()

 "/opt/redash/redash.0.11.0.b2016/redash/authentication/saml_auth.py", line 67, in get_saml_client
spConfig.load(saml_settings)

 "/usr/local/lib/python2.7/dist-packages/saml2/config.py", line 353, in load
self.load_complex(cnf, metadata_construction=metadata_construction)

 "/usr/local/lib/python2.7/dist-packages/saml2/config.py", line 293, in load_complex
self.load_metadata(cnf["metadata"]))

 "/usr/local/lib/python2.7/dist-packages/saml2/config.py", line 396, in load_metadata
disable_ssl_certificate_validation=disable_validation)

 "/usr/local/lib/python2.7/dist-packages/saml2/mdstore.py", line 757, in __init__
self.security = security_context(config)

 "/usr/local/lib/python2.7/dist-packages/saml2/sigver.py", line 1037, in security_context
xmlsec_binary = get_xmlsec_binary(_path)

 "/usr/local/lib/python2.7/dist-packages/saml2/sigver.py", line 190, in get_xmlsec_binary
raise SigverError("Can't find %s" % bin_name)SigverError: Can't find ['xmlsec1']
Traceback (most recent call last):


 "/usr/local/bin/mypy", line 11, in <module>

sys.exit(console_entry())


 "/usr/local/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry

main(None)


 "/usr/local/lib/python3.6/site-packages/mypy/main.py", line 66, in main

res = type_check_only(sources, bin_dir, options)


 "/usr/local/lib/python3.6/site-packages/mypy/main.py", line 119, in type_check_only

options=options)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 218, in build

graph = dispatch(sources, manager)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1997, in dispatch

process_graph(graph, manager)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 2299, in process_graph

process_stale_scc(graph, scc, manager)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 2469, in process_stale_scc

graph[id].semantic_analysis_pass_three()


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1863, in semantic_analysis_pass_three

self.options, patches)


 "/usr/local/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 57, in visit_file

self.accept(file_node)


 "/usr/local/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 74, in accept

node.accept(self)


 "/usr/local/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept

return visitor.visit_mypy_file(self)


 "/usr/local/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file

d.accept(self)


 "/usr/local/lib/python3.6/site-packages/mypy/nodes.py", line 696, in accept

return visitor.visit_class_def(self)


 "/usr/local/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 125, in visit_class_def

super().visit_class_def(tdef)


 "/usr/local/lib/python3.6/site-packages/mypy/traverser.py", line 61, in visit_class_def

o.defs.accept(self)


 "/usr/local/lib/python3.6/site-packages/mypy/nodes.py", line 756, in accept

return visitor.visit_block(self)


 "/usr/local/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 81, in visit_block

super().visit_block(b)


 "/usr/local/lib/python3.6/site-packages/mypy/traverser.py", line 34, in visit_block

s.accept(self)


 "/usr/local/lib/python3.6/site-packages/mypy/nodes.py", line 497, in accept

return visitor.visit_func_def(self)


 "/usr/local/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 85, in visit_func_def

self.analyze(fdef.type, fdef)


 "/usr/local/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 333, in analyze

type.accept(analyzer)


 "/usr/local/lib/python3.6/site-packages/mypy/types.py", line 739, in accept

return visitor.visit_callable_type(self)


 "/usr/local/lib/python3.6/site-packages/mypy/typeanal.py", line 771, in visit_callable_type

arg_type.accept(self)


 "/usr/local/lib/python3.6/site-packages/mypy/types.py", line 475, in accept

return visitor.visit_instance(self)


 "/usr/local/lib/python3.6/site-packages/mypy/typeanal.py", line 727, in visit_instance

if not is_subtype(arg, bound):


 "/usr/local/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype

ignore_declared_variance=ignore_declared_variance))


 "/usr/local/lib/python3.6/site-packages/mypy/types.py", line 1230, in accept

return visitor.visit_union_type(self)


 "/usr/local/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type

for item in left.items)


 "/usr/local/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr>

for item in left.items)


 "/usr/local/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype

ignore_declared_variance=ignore_declared_variance))


 "/usr/local/lib/python3.6/site-packages/mypy/types.py", line 1415, in accept

return visitor.visit_forwardref_type(self)


 "/usr/local/lib/python3.6/site-packages/mypy/types.py", line 1500, in visit_forwardref_type

raise RuntimeError('Internal error: unresolved forward reference')
RuntimeError: Internal error: unresolved forward reference
