superset icon indicating copy to clipboard operation
superset copied to clipboard

cannot create new chart in 0.29.0rc7

Open zoltantalas opened this issue 7 years ago • 7 comments

Superset version

0.29.0rc7

Expected results

Actual results

starting screen is already collapsed. (only can see the links for the menu points as a list) When i would like to create a new chart it throws me back to the starting screen.

Steps to reproduce

i run the following in virtualenv 3.6.4 (tried with python 2 as well)

pip install superset==0.29.0rc7

fabmanager create-admin --app superset
superset db upgrade
superset load_examples
superset init

pip install python-dotenv

flask run -p 8080 --with-threads --reload --debugger

zoltantalas avatar Jan 07 '19 09:01 zoltantalas

Screenshot? URL? Logs? Browser console error message?

It's not clear to me which flow you are following.

mistercrunch avatar Jan 08 '19 01:01 mistercrunch

I see similar problem with painting of the main menu. I'm using the latest version running on docker-compose.

screen shot 2019-01-11 at 18 20 06

citizenrich avatar Jan 11 '19 23:01 citizenrich

@citizenrich that means your setup failed at building the Javascript bundle.

mistercrunch avatar Jan 13 '19 17:01 mistercrunch

BTW if you're using 0.29.0rc7, the javascript bundles are well bundled with the python package, so that shouldn't be an issue.

mistercrunch avatar Jan 13 '19 17:01 mistercrunch

Thanks for the help. Still seeing the issue. My steps are below. I remove the previous superset image then:

git clone [email protected]:apache/incubator-superset.git
cd incubator-superset/
git checkout -b 0.29.0rc7
cd contrib/docker/
# this builds the new image
docker-compose up -d
docker-compose exec superset bash
# do the config menu

citizenrich avatar Jan 14 '19 15:01 citizenrich

Thanks for the help. Still seeing the issue. My steps are below. I remove the previous superset image then:

git clone [email protected]:apache/incubator-superset.git
cd incubator-superset/
git checkout -b 0.29.0rc7
cd contrib/docker/
# this builds the new image
docker-compose up -d
docker-compose exec superset bash
# do the config menu

I tried sudo docker-compose exec -u 0 superset bash instead of sudo docker-compose exec superset bash then it worked. Because for me non root user could not make directory in assets directory that is why it was causing issue.

satishwaghela avatar Jan 15 '19 09:01 satishwaghela

Escalating permissions didn't solve it for me. Also, requiring superuser perms to build a dockerfile seems a large attack surface.

citizenrich avatar Jan 15 '19 12:01 citizenrich