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 2018/01/17 13:51:07 UTC
[GitHub] zhizunbao514 opened a new issue #4222: Markup chart raise Exception(_('Empty query?'))
zhizunbao514 opened a new issue #4222: Markup chart raise Exception(_('Empty query?'))
URL: https://github.com/apache/incubator-superset/issues/4222
- [ ] 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.23
### Expected results
When I was in use markup chart, he reported to the error.
I am a novice, help me, please.Thank you!
### Actual results
Traceback (most recent call last):
File "/home/superset/incubator-superset-master/superset/views/core.py", line 1053, in generate_json
force=force)
File "/home/superset/incubator-superset-master/superset/viz.py", line 246, in get_payload
cache_key = self.cache_key(query_obj)
File "/home/superset/incubator-superset-master/superset/viz.py", line 239, in cache_key
self.datasource.get_query_str(query_obj),
File "/home/superset/incubator-superset-master/superset/connectors/sqla/models.py", line 404, in get_query_str
qry = self.get_sqla_query(**query_obj)
File "/home/superset/incubator-superset-master/superset/connectors/sqla/models.py", line 483, in get_sqla_query
raise Exception(_('Empty query?'))
### Steps to reproduce
----------------------------------------------------------------
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