You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/04/21 00:15:05 UTC

[GitHub] [incubator-superset] connor924 opened a new issue #7339: Unicode test example not working

connor924 opened a new issue #7339: Unicode test example not working
URL: https://github.com/apache/incubator-superset/issues/7339
 
 
   A clear and concise description of what the bug is.
   
   ### Expected results
   
   This should display a word cloud on the chart / dashboard with the different values from the unicode strings
   
   ### Actual results
   
   The chart doesn't load with this error:
   `Metric 'sum__value' is not valid`
   
   This is the stacktrace:
   `Traceback (most recent call last):
   superset_1  |   File "/home/superset/superset/viz.py", line 405, in get_df_payload
   superset_1  |     df = self.get_df(query_obj)
   superset_1  |   File "/home/superset/superset/viz.py", line 193, in get_df
   superset_1  |     self.results = self.datasource.query(query_obj)
   superset_1  |   File "/home/superset/superset/connectors/sqla/models.py", line 835, in query
   superset_1  |     query_str_ext = self.get_query_str_extended(query_obj)
   superset_1  |   File "/home/superset/superset/connectors/sqla/models.py", line 481, in get_query_str_extended
   superset_1  |     sqlaq = self.get_sqla_query(**query_obj)
   superset_1  |   File "/home/superset/superset/connectors/sqla/models.py", line 594, in get_sqla_query
   superset_1  |     raise Exception(_("Metric '{}' is not valid".format(m)))
   superset_1  | Exception: Metric 'sum__value' is not valid`
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. Install via docker with latest version of master
   2. Go to charts and select Unicode Cloud
   3. 
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `master`
   - python version: 3.6.8
   - node.js version: v10.15.3
   - npm version: 6.4.1
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org