ghatwar opened a new issue #3780: Clicking on slices results in 500 Internal server error URL: https://github.com/apache/incubator-superset/issues/3780 Make sure these boxes are checked before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if any - [ ] I have reproduced the issue with at least the latest released version of superset - [ ] I have checked the issue tracker for the same issue and I haven't found one similar ### Superset version 0.18.5 ### Expected results Slices ### Actual results Sorry, something went wrong 500 - Internal Server Error Stacktrace Traceback (most recent call last): File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/app/.heroku/python/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise raise value File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps return f(self, *args, **kwargs) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/views.py", line 478, in list widgets=widgets) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 158, in render_template return render_template(template, **dict(list(kwargs.items()) + list(self.extra_args.items()))) File "/app/.heroku/python/lib/python3.6/site-packages/flask/templating.py", line 134, in render_template context, ctx.app) File "/app/.heroku/python/lib/python3.6/site-packages/flask/templating.py", line 116, in _render rv = template.render(context) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html", line 2, in top-level template code {% import 'appbuilder/general/lib.html' as lib %} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/base.html", line 1, in top-level template code {% extends base_template %} File "/app/.heroku/python/lib/python3.6/site-packages/superset/templates/superset/base.html", line 1, in top-level template code {% extends "appbuilder/baselayout.html" %} File "/app/.heroku/python/lib/python3.6/site-packages/superset/templates/appbuilder/baselayout.html", line 2, in top-level template code {% import 'appbuilder/baselib.html' as baselib %} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/init.html", line 46, in top-level template code {% block body %} File "/app/.heroku/python/lib/python3.6/site-packages/superset/templates/appbuilder/baselayout.html", line 21, in block "body" {% block content %} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html", line 13, in block "content" {% block list_list scoped %} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html", line 15, in block "list_list" {{ widgets.get('list')()|safe }} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/widgets.py", line 34, in __call__ return template.render(args) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise raise value.with_traceback(tb) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 2, in top-level template code {% extends 'appbuilder/general/widgets/base_list.html' %} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/base_list.html", line 23, in top-level template code {% block begin_loop_values %} File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 45, in block "begin_loop_values" {% for item in value_columns %} File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/runtime.py", line 410, in __init__ self._after = self._safe_next() File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/runtime.py", line 430, in _safe_next return next(self._iterator) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/models/base.py", line 87, in get_values retdict[col] = self._get_attr_value(item, col) File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/models/base.py", line 36, in _get_attr_value if not hasattr(item, col): File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 215, in slice_link url = self.slice_url File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 201, in slice_url obj=self, params=parse.quote(json.dumps(self.form_data)))) File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 185, in form_data form_data = json.loads(self.params) File "/app/.heroku/python/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/app/.heroku/python/lib/python3.6/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 663) ### Steps to reproduce Slices -> Error Notes: Using Windows 10, PostgresSQL, Superset hosted on Heroku.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
