Error with MapBox despite using access token

131 views
Skip to first unread message

Bharath Sivaram

unread,
May 14, 2017, 5:09:42 PM5/14/17
to airbnb_superset
Hello,

I started using superset and have a need to use the mapbox plot. I know that the access token needs to be added to the superset_congif.py file. Despite adding the token, I am still getting the same error.

Did the following steps

1. Added Token to superset_config.py
2. Added Superset_config.py to Pythonpath in my .profile
3. Restarted superset server

Superset is reading superset_config.py and is generating a superset_config.pyc. When I open the pyc file I do see an entry for MAPBOX_API_KEY. I am not sure why this isnt working. Would be great if I can get some help on this

Maxime Beauchemin

unread,
May 15, 2017, 12:45:22 PM5/15/17
to airbnb_superset
The import of `superset_config` is wrapped in a try statement, maybe the import fails? Or maybe there's a rogue/competing zombie process serving the web request?

Max
Reply all
Reply to author
Forward
0 new messages