Traceback (most recent call last):


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/superset/utils.py", line 553, in wraps

return f(self, *args, **kwargs)


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/superset/models/core.py", line 765, in wrapper

value = f(*args, **kwargs)


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/superset/views/core.py", line 1772, in sqllab_viz

q = SupersetQuery(data.get('sql'))


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/superset/sql_parse.py", line 16, in __init__

self._parsed = sqlparse.parse(self.sql)


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/sqlparse/__init__.py", line 28, in parse

return tuple(parsestream(sql, encoding))


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/sqlparse/engine/__init__.py", line 54, in _group

for stmt in stream:


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/sqlparse/engine/filter.py", line 82, in process

for ttype, value in stream:


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/sqlparse/lexer.py", line 274, in streamer

for i, t, v in self.get_tokens_unprocessed(text):


 "/data/work/virtualenvs/superset/lib/python2.7/site-packages/sqlparse/lexer.py", line 293, in get_tokens_unprocessed

text = stream.read()
AttributeError: 'NoneType' object has no attribute 'read'

^CTraceback (most recent call last):


 "<frozen importlib._bootstrap>", line 888, in _find_spec
AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
