xrmx opened a new issue #5316: World map not rendering with TypeError: unhashable type: 'dict' URL: https://github.com/apache/incubator-superset/issues/5316 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 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 ### Superset version 0.25.6 ### Expected results world map is rendered correctly ### Actual results ``` File "/home/stats/superset/superset/views/core.py", line 1107, in generate_json payload = viz_obj.get_payload() File "/home/stats/superset/superset/viz.py", line 329, in get_payload payload['data'] = self.get_data(df) File "/home/stats/superset/superset/viz.py", line 1664, in get_data ndf = df[cols] File "/home/stats/venv36/lib/python3.6/site-packages/pandas/core/frame.py", line 2133, in __getitem__ return self._getitem_array(key) File "/home/stats/venv36/lib/python3.6/site-packages/pandas/core/frame.py", line 2177, in _getitem_array indexer = self.loc._convert_to_indexer(key, axis=1) File "/home/stats/venv36/lib/python3.6/site-packages/pandas/core/indexing.py", line 1256, in _convert_to_indexer indexer = check = labels.get_indexer(objarr) File "/home/stats/venv36/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2702, in get_indexer indexer = self._engine.get_indexer(target._values) File "pandas/_libs/index.pyx", line 291, in pandas._libs.index.IndexEngine.get_indexer File "pandas/_libs/hashtable_class_helper.pxi", line 1317, in pandas._libs.hashtable.PyObjectHashTable.lookup TypeError: unhashable type: 'dict' ``` ### Steps to reproduce Create a world map where the color metrics is a SUM of a numeric field.
---------------------------------------------------------------- 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]
