i4ata commented on PR #33603: URL: https://github.com/apache/superset/pull/33603#issuecomment-3301624989
Greetings guys! Thank you for your contributions :) I am quite new to Superset and am trying to set this up myself but cannot get the OpenStreetMap option to show up. Could you help me figure out what I am missing here? Following the discussion with @hemashoe, I have this `superset_config.py` file: ``` from secrets import token_urlsafe SECRET_KEY = token_urlsafe(32) MAPBOX_API_KEY = "" DECKGL_BASE_MAP = [ ["https://c.tile.openstreetmap.org/{z}/{x}/{y}.png", "OpenStreetMap"], ] ENABLE_CORS = True CORS_OPTIONS = { "origins": [ "https://c.tile.openstreetmap.org", ] } TALISMAN_ENABLED = False TALISMAN_DEV_CONF = { "content_security_policy": { "default-src": ["'self'"], "img-src": [ "'self'", "data:", "blob:", "https://c.tile.openstreetmap.org" ], "connect-src": [ "'self'", "https://c.tile.openstreetmap.org" ] } } ``` I run superset within a docker container, and my Dockerfile is: ``` FROM apache/superset:master USER root RUN pip install psycopg2-binary Authlib Pillow flask-cors USER superset COPY superset_config.py /app/pythonpath/superset_config.py ``` Then I spin up a container as follows: ``` docker build -t superset_pg . docker run -d -p 8089:8088 --name superset_pg superset_pg docker exec -it superset_pg superset fab create-admin --username admin --firstname admin --lastname admin --email ad...@gmail.com --password 123 docker exec -it superset_pg superset db upgrade docker exec -it superset_pg superset init ``` In the logs I see this error, which appears to be the same as in @hemashoe's case ``` 2025-09-17 07:02:34,450:WARNING:superset.views.base:HTTPException Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1788, in dispatch_request self.raise_routing_exception(req) File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1770, in raise_routing_exception raise request.routing_exception # type: ignore File "/usr/local/lib/python3.9/site-packages/flask/ctx.py", line 351, in match_request result = self.url_adapter.match(return_rule=True) # type: ignore File "/usr/local/lib/python3.9/site-packages/werkzeug/routing/map.py", line 624, in match raise NotFound() from None werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. ``` I would really appreciate the help. Thank you! -- 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. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org