Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markup raise Exception(_('Empty query?')) #4212

Closed
3 tasks done
zhizunbao514 opened this issue Jan 14, 2018 · 4 comments
Closed
3 tasks done

Markup raise Exception(_('Empty query?')) #4212

zhizunbao514 opened this issue Jan 14, 2018 · 4 comments

Comments

@zhizunbao514
Copy link

zhizunbao514 commented Jan 14, 2018

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

Expected results

When I have updated the latest version,Visualization Type is Markup,raise Exception.Can help to solve it, thank you very much!

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

@zhaoyongjie
Copy link
Member

Other visualization types can work?

@zhizunbao514
Copy link
Author

@zhaoyongjie Other normal, what should I do, help me!thank you!

@zhaoyongjie
Copy link
Member

I can not reproduce your issue. Please send more steps for reproduce.

@zhizunbao514
Copy link
Author

@zhaoyongjie When I was in use markup chart, he reported to the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants