You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/12/23 07:09:01 UTC
[GitHub] [incubator-superset] Amogh-Balachandra5 opened a new issue #8886:
FLASK_APP create-admin not working
Amogh-Balachandra5 opened a new issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886
A clear and concise description of what the bug is.
### Expected results
what you expected to happen.
### Actual results
what actually happens.
#### Screenshots
If applicable, add screenshots to help explain your problem.
#### How to reproduce the bug
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
### 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!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
### Additional context
Add any other context about the problem here.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] Amogh-Balachandra5 closed issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
Amogh-Balachandra5 closed issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] Amogh-Balachandra5 commented on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
Amogh-Balachandra5 commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568401422
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.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] kuckjwi removed a comment on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
kuckjwi removed a comment on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568388383
Could you attach the error log?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] Amogh-Balachandra5 commented on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
Amogh-Balachandra5 commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568438004
Hi Daniel,
Below are the steps i have followed post installation
Step 1 : **sudo superset db upgrade**
/usr/local/lib/python3.7/site-packages/SQLAlchemy-1.3.8-py3.7-linux-x86_64.egg/sqlalchemy/sql/functions.py:67: SAWarning: The GenericFunction 'array_agg' is already registered and is going to be overriden.
"is going to be overriden.".format(identifier)
2019-12-23 13:39:11,411:INFO:root:logging was configured successfully
2019-12-23 13:39:11,526:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
Step 2 : **sudo flask fab create-admin**
Username [admin]: admin
User first name [admin]: admin
User last name [user]: admin
Email [admin@fab.org]: amogh.balachandra@dikshatech.com
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.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] kuckjwi commented on issue #8886: FLASK_APP
create-admin not working
Posted by GitBox <gi...@apache.org>.
kuckjwi commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568388383
Could you attach the error log?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] kuckjwi0928 commented on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
kuckjwi0928 commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568388549
Could you attach the error log?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] Amogh-Balachandra5 commented on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
Amogh-Balachandra5 commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568401870
I have also set the environment variable
as below
export FLASK_APP=/WebSphere/apache-superset-0.35.1/superset/
where folder superset contains
![image](https://user-images.githubusercontent.com/47969185/71345967-c2ad2e00-258c-11ea-90f5-438dd817e710.png)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] dpgaspar commented on issue #8886: FLASK_APP
create-admin not working
Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568446029
Really go trough all the steps, install the dependencies, create a virtualenv, and don't use `sudo`
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] dpgaspar commented on issue #8886: FLASK_APP
create-admin not working
Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568432471
Hi @Amogh-Balachandra5,
Please follow install instruction in detail: https://superset.apache.org/installation.html#installation-configuration
If the problem persists, post all your commands and output, 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568380865
Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] Amogh-Balachandra5 commented on issue #8886:
FLASK_APP create-admin not working
Posted by GitBox <gi...@apache.org>.
Amogh-Balachandra5 commented on issue #8886: FLASK_APP create-admin not working
URL: https://github.com/apache/incubator-superset/issues/8886#issuecomment-568471896
I have found the solution instead of running
**sudo flask fab create-admin**
i have ran below and everything worked fine
**sudo fabmanager create-admin --app superset**
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org