srggrs edited a comment on issue #5928: added hack to make time pivot chart 
working
URL: 
https://github.com/apache/incubator-superset/pull/5928#issuecomment-422676448
 
 
   ```
   2018-09-19 16:44:44,467:DEBUG:root:[stats_logger] (incr) 
loaded_from_source
   2018-09-19 16:44:44,467:ERROR:root:'NoneType' object is not iterable
   Traceback (most recent call last):
     File 
"/home/serg/miniconda3/lib/python3.5/site-packages/superset/views/core.py", 
line 1105, in generate_json
       payload = viz_obj.get_payload()
     File "/home/serg/miniconda3/lib/python3.5/site-packages/superset/viz.py", 
line 359, in get_payload
       payload['data'] = self.get_data(df)
     File "/home/serg/miniconda3/lib/python3.5/site-packages/superset/viz.py", 
line 1381, in get_data
       df = self.process_data(df)
     File "/home/serg/miniconda3/lib/python3.5/site-packages/superset/viz.py", 
line 1147, in process_data
       values=utils.get_metric_names(fd.get('metrics')))
     File 
"/home/serg/miniconda3/lib/python3.5/site-packages/superset/utils.py", line 
840, in get_metric_names
       return [get_metric_name(metric) for metric in metrics]
   TypeError: 'NoneType' object is not iterable
   ```
   error at line 44. Step to reproduce the error:
   1 - from Sources >> Tables, select birth_names table
   2 - after the query/explore page load, select  TIme Series - Periodicity 
Pivot as the Visualization Type
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to