Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

World Map countries invisible in Ubuntu 18.04 EC2 instance #413

Closed
righttracknana opened this issue Mar 27, 2020 · 3 comments
Closed

World Map countries invisible in Ubuntu 18.04 EC2 instance #413

righttracknana opened this issue Mar 27, 2020 · 3 comments

Comments

@righttracknana
Copy link

righttracknana commented Mar 27, 2020

Describe the bug
Hi,
I just deployed superset on an AWS EC2 Instance - Ubuntu 18.04 yesterday. Everything is running perfectly fine except I am still experiencing these World map issues (image attached).

To Reproduce
Steps to reproduce the behavior:
Create an EC2 instance and login into the server using SSH. Installed Ubuntu system dependencies

python3 -m venv venv
. venv/bin/activate

pip install apache-superset

superset db upgrade

$ export FLASK_APP=superset
flask fab create-admin

superset load_examples

superset init

fabmanager run --app superset

Expected behavior
Expected world map to show low country values as an outline but rather they look invisible as per this previous issue #53

Screenshots
Screen Shot 2020-03-27 at 08 19 17

Environment (please complete the following information):

  • superset-ui version: 0.35.2
  • Node version: node -v v13.11.0
  • npm version: npm -v 6.13.7

Additional context
Add any other context about the problem here.

For whatever reason when I search for the WorldMap.js in EC2 via SSH I do not get any files as I wanted to make the changes outlined in komoot@1b6e7d7.
All the superset files seem to be in this directory when I search using:
./root/venv/lib/python3.6/site-packages/superset/
but can't seem to find a .js file for the maps. Through GitHub, I found I could use 'npm upgrade' in the /superset/assets folder but there is no package-lock.json file in there for it to run on :/. In addition, this build version does not seem to have the superset-frontend folder.

Any help would be much appreciated.

@righttracknana
Copy link
Author

Resolved.

Found the file in venv/lib/python3.6/site-packages/superset/static/assets/dist/38.a5f0221384b953b482d3.chunk.js and edited it using the nano editor.

@raviguptag
Copy link

What is edited and modified in This file 38.a5f0221384b953b482d3.chunk.js.... to make it working?

@righttracknana
Copy link
Author

What is edited and modified in This file 38.a5f0221384b953b482d3.chunk.js.... to make it working?

I edited it as per the recommendations in this link:
komoot@1b6e7d7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants