You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2017/10/23 03:36:34 UTC
[GitHub] BigFaceFish commented on issue #3673: Sorting slices alphabetically results in 500 - Internal Server Error
BigFaceFish commented on issue #3673: Sorting slices alphabetically results in 500 - Internal Server Error
URL: https://github.com/apache/incubator-superset/issues/3673#issuecomment-338539676
I've also got the same error on version 0.20.4
Sorry, something went wrong
500 - Internal Server Error
Stacktrace
Traceback (most recent call last):
File "/root/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/root/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/root/venv/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/root/venv/lib/python2.7/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
return f(self, *args, **kwargs)
File "/root/venv/lib/python2.7/site-packages/flask_appbuilder/views.py", line 475, in list
widgets = self._list()
File "/root/venv/lib/python2.7/site-packages/flask_appbuilder/baseviews.py", line 877, in _list
page_size=page_size)
File "/root/venv/lib/python2.7/site-packages/flask_appbuilder/baseviews.py", line 791, in _get_list_widget
count, lst = self.datamodel.query(joined_filters, order_column, order_direction, page=page, page_size=page_size)
File "/root/venv/lib/python2.7/site-packages/flask_appbuilder/models/sqla/interface.py", line 109, in query
order_direction=order_direction)
File "/root/venv/lib/python2.7/site-packages/flask_appbuilder/models/sqla/interface.py", line 73, in _get_base_query
query = query.order_by(self._get_attr(order_column).desc())
AttributeError: 'property' object has no attribute 'desc'
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services