
Traceback (most recent call last):


 "/home/jasonx/venv/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/home/jasonx/venv/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/jasonx/venv/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/jasonx/venv/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()


 "/home/jasonx/venv/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request

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


 "/home/jasonx/venv/local/lib/python2.7/site-packages/flask_appbuilder/security/decorators.py", line 52, in wraps

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


 "/home/jasonx/venv/local/lib/python2.7/site-packages/superset/models/core.py", line 759, in wrapper

value = f(*args, **kwargs)


 "/home/jasonx/venv/local/lib/python2.7/site-packages/superset/views/core.py", line 2055, in sql_json

if data.get('status') == QueryStatus.FAILED:

AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "/home/myrtle/03_django_projects/doubloon/doubloon/transactions/tests/test_models.py", line 13, in setUp

self.transaction = TransactionFactory.create(amount=Money(563, INR))


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/factory/base.py", line 623, in create

return cls._generate(True, attrs)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/factory/base.py", line 548, in _generate

obj = cls._prepare(create, **attrs)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/factory/base.py", line 523, in _prepare

return cls._create(model_class, *args, **kwargs)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/factory/django.py", line 181, in _create

return manager.create(*args, **kwargs)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method

return getattr(self.get_queryset(), name)(*args, **kwargs)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/django/db/models/query.py", line 392, in create

obj = self.model(**kwargs)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/django/db/models/base.py", line 559, in __init__

property_names = opts._property_names


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/django/db/models/options.py", line 890, in _property_names

dir(self.model) if isinstance(getattr(self.model, attr), property)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/django/db/models/options.py", line 890, in <setcomp>

dir(self.model) if isinstance(getattr(self.model, attr), property)


 "/home/myrtle/03_django_projects/environments/doubloon/lib/python3.5/site-packages/djmoney/models/fields.py", line 225, in __get__

raise AttributeError('Can only be accessed via an instance.')
AttributeError: Can only be accessed via an instance.
