You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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.
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
The text was updated successfully, but these errors were encountered: