ralsouza opened a new issue #7707: Could not locate a Flask application
URL: https://github.com/apache/incubator-superset/issues/7707
 
 
   After running the image with Docker and entering the admin user information 
the error below is displayed.
   
   ### Expected results
   Confirm admin user creation and start Superset.
   
   ### Actual results
   After entering admin user data, the error is displayed.
   ```
   + '[' 1 -ne 0 ']'
   + exec ./docker-init.sh
   + flask fab create-admin
   Username [admin]: admin
   User first name [admin]: admin
   User last name [user]: user 
   Email [[email protected]]: [email protected]
   Password: 
   Repeat for confirmation: 
   Usage: flask fab create-admin [OPTIONS]
   
   Error: Could not locate a Flask application. You did not provide the 
"FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not 
found in the current directory.
   ```
   #### Screenshots
   NA.
   #### How to reproduce the bug
   1. git clone https://github.com/apache/incubator-superset/
   2. cd incubator-superset/contrib/docker
   3. docker-compose run --rm superset ./docker-init.sh
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [X] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [X] I have reproduced the issue with at least the latest released version 
of superset.
   - [X] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   ```Ubuntu 19.04```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to