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

World map is not working for me .... #5171

Closed
AnupKumarSaha opened this issue Jun 11, 2018 · 3 comments
Closed

World map is not working for me .... #5171

AnupKumarSaha opened this issue Jun 11, 2018 · 3 comments
Labels
inactive Inactive for >= 30 days

Comments

@AnupKumarSaha
Copy link

Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/superset/viz.py", line 329, in get_df_payload
df = self.get_df(query_obj)
File "/usr/local/lib/python3.5/site-packages/superset/viz.py", line 142, in get_df
self.results = self.datasource.query(query_obj)
File "/usr/local/lib/python3.5/site-packages/superset/connectors/sqla/models.py", line 683, in query
sql = self.get_query_str(query_obj)
File "/usr/local/lib/python3.5/site-packages/superset/connectors/sqla/models.py", line 410, in get_query_str
qry = self.get_sqla_query(**query_obj)
File "/usr/local/lib/python3.5/site-packages/superset/connectors/sqla/models.py", line 489, in get_sqla_query
raise Exception(_("Metric '{}' is not valid".format(m)))
Exception: Metric 'None' is not valid

@ghost
Copy link

ghost commented Jun 19, 2018

I had this error once, and I fixed it by selecting an option in the 'bubble size' drop down, even though I wasn't using bubbles. I think the lesson is to check that something is selected in all the options, whether or not it matters to you.

@mistercrunch
Copy link
Member

#5080 might tackle this

@stale
Copy link

stale bot commented Apr 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label Apr 10, 2019
@stale stale bot closed this as completed Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

2 participants