You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by "Wang, Larry" <La...@dell.com> on 2017/09/26 12:54:01 UTC

Qs on superset

Hi All,

I got this error when trying to create a slice of a bar chart (or other chart types that I tried): "Couldn't parse date string [None]", but in the datasource setting, there is no date involved in anywhere (metrics, series, filters), anyone know what might caused this issue? The full traceback I got from the UI is:

" Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/superset/viz.py", line 249, in get_payload
df = self.get_df()
File "/usr/lib/python2.7/site-packages/superset/viz.py", line 67, in get_df
query_obj = self.query_obj()
File "/usr/lib/python2.7/site-packages/superset/viz.py", line 1089, in query_obj
d = super(DistributionBarViz, self).query_obj() # noqa
File "/usr/lib/python2.7/site-packages/superset/viz.py", line 156, in query_obj
to_dttm = utils.parse_human_datetime(until)
File "/usr/lib/python2.7/site-packages/superset/utils.py", line 213, in parse_human_datetime
raise ValueError("Couldn't parse date string [{}]".format(s))
ValueError: Couldn't parse date string [None]"

Thanks
Larry Wang