minh5 commented on issue #5827: [WIP] Improve column/alias handling for case 
insensitive engines
URL: 
https://github.com/apache/incubator-superset/pull/5827#issuecomment-419685627
 
 
   Same error. The traceback is below. I'm pretty new to this but I just want 
to make sure my dev environment is set up. I'm running `npm run dev-server` and 
then `superset runserver -d` and run my graph on port 9000. However the 
traceback I see is in my virtualenv's pythonpath. Just wanted to make sure.
   
   ```
   Traceback (most recent call last):
     File 
"/Users/minhmai/.pyenv/versions/3.4.3/envs/superset/lib/python3.4/site-packages/superset/views/core.py",
 line 1105, in generate_json
       payload = viz_obj.get_payload()
     File 
"/Users/minhmai/.pyenv/versions/3.4.3/envs/superset/lib/python3.4/site-packages/superset/viz.py",
 line 359, in get_payload
       payload['data'] = self.get_data(df)
     File 
"/Users/minhmai/.pyenv/versions/3.4.3/envs/superset/lib/python3.4/site-packages/superset/viz.py",
 line 1243, in get_data
       df = self.process_data(df)
     File 
"/Users/minhmai/.pyenv/versions/3.4.3/envs/superset/lib/python3.4/site-packages/superset/viz.py",
 line 1147, in process_data
       values=utils.get_metric_names(fd.get('metrics')))
     File 
"/Users/minhmai/.pyenv/versions/3.4.3/envs/superset/lib/python3.4/site-packages/pandas/core/frame.py",
 line 5303, in pivot_table
       margins_name=margins_name)
     File 
"/Users/minhmai/.pyenv/versions/3.4.3/envs/superset/lib/python3.4/site-packages/pandas/core/reshape/pivot.py",
 line 61, in pivot_table
       raise KeyError(i)
   KeyError: 'SUM(itemsales)'
   ```

----------------------------------------------------------------
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