blcksrx opened a new issue #8795: gunicorn cant find create_app() URL: https://github.com/apache/incubator-superset/issues/8795 gunicorn cant find create_app() ``` gunicorn -b 0.0.0.0:6666 "superset.app:create_app()" [2019-12-09 19:14:22 +0330] [23027] [INFO] Starting gunicorn 19.9.0 [2019-12-09 19:14:22 +0330] [23027] [INFO] Listening at: http://0.0.0.0:6666 (23027) [2019-12-09 19:14:22 +0330] [23027] [INFO] Using worker: sync [2019-12-09 19:14:22 +0330] [23031] [INFO] Booting worker with pid: 23031 Loaded your LOCAL configuration at [/home/superset/superset_config.py] 2019-12-09 19:14:24,395:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'> Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 362, in import_app app = eval(obj, vars(mod)) File "<string>", line 1, in <module> NameError: name 'create_app' is not defined Failed to find application object 'create_app()' in 'superset.app' [2019-12-09 19:14:25 +0330] [23031] [INFO] Worker exiting (pid: 23031) [2019-12-09 19:14:26 +0330] [23027] [INFO] Shutting down: Master [2019-12-09 19:14:26 +0330] [23027] [INFO] Reason: App failed to load. ``` ### 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
