[error]actionable error msg for broken deck.gl chart
See original GitHub issueHexagons demo chart shows error after loading samples:
POST to explore_json
fails with error:
POST https://my.host.here/superset/explore_json/?form_data=%7B%22slice_id%22%3A77%7D&dashboard_id=5 500 (INTERNAL SERVER ERROR)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/superset/views/base.py", line 177, in wraps
return f(self, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/superset/utils/cache.py", line 108, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/superset/views/core.py", line 534, in explore_json
return self.generate_json(viz_obj, response_type)
File "/usr/local/lib/python3.7/site-packages/superset/views/core.py", line 430, in generate_json
payload = viz_obj.get_payload()
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 480, in get_payload
payload = self.get_df_payload(query_obj)
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 512, in get_df_payload
query_obj = self.query_obj()
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 2375, in query_obj
self.add_null_filters()
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 2356, in add_null_filters
for column in self.get_spatial_columns(key):
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 2291, in get_spatial_columns
raise ValueError(_("Bad spatial key"))
ValueError: Bad spatial key
Expected results
Hexagons should load properly
what you expected to happen.
How to reproduce the bug
- Load examples from scratch
- Navigate to deck.gl dashboard
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[error]actionable error msg for broken deck.gl chart #11758
Hexagons demo chart shows error after loading samples: POST to explore_json ... [error]actionable error msg for broken deck.gl chart #11758.
Read more >Layer Class - deck.gl
This static property should contain the name of the layer, typically the name of layer's class (it cannot reliably be autodeduced in minified...
Read more >Upgrade Guide - deck.gl
Upgrade Guide. Upgrading from deck.gl v8.7 to v8.8. Breaking changes. In order to generalize the TileLayer to work with non-OSM indexing systems, ...
Read more >Adding Interactivity - deck.gl
Adding Interactivity. Controlling the Camera. Out of the box, deck.gl offers viewport controllers that map keyboard, mouse or touch input to camera state ......
Read more >Loading Data - deck.gl
If the layer is used in an environment that does not support web workers, or you need to debug the loader code on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bad spatial key
map layer problem? man i dont know what to do with all these broken charts 😂 im also not sure how many people are still using this chartBump! This is still a useful bug fix to have. Please pin!