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/04/26 17:21:15 UTC

[GitHub] [incubator-superset] rjurney opened a new issue #7389: Error: no such option: --console-log

rjurney opened a new issue #7389: Error: no such option: --console-log
URL: https://github.com/apache/incubator-superset/issues/7389
 
 
   On branch `release--0.31` using the `--console-log` option flag with `superset` or `flask run` fails with the error: `Error: no such option: --console-log`.
   
   The docs mention interaction with `--debug`/`--debugger` so I tried a variety of combinations of flags and all resulted in the same error:
   
   ```bash
   superset run -h 0.0.0.0 -p 8088 --with-threads --reload --debugger --console-log
   superset run -h 0.0.0.0 -p 8088 --with-threads --reload --debugger --console-log --debug
   superset run --console-log --debug
   FLASK_DEBUG=1 flask run -p 8088 --with-threads --reload --debugger --console-log
   FLASK_DEBUG=1 flask run -p 8088 --with-threads --reload --debugger --console-log --debug
   FLASK_DEBUG=1 flask run -p 8088 --console-log
   FLASK_DEBUG=1 flask run -p 8088 --console-log --debugger
   FLASK_DEBUG=1 flask run -p 8088 --console-log --debug
   flask run --console-log --debug
   flask run --console-log
   ```
   
   ### Expected results
   
   Something roughly like:
   
   ```bash
    * Serving Flask app "superset:app" (lazy loading)
    * Environment: development
    * Debug mode: on
    * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
    * Restarting with stat
    * Debugger is active!
    * Debugger PIN: 303-869-439
   ```
   
   ### Actual results
   
   ```bash
   Error: no such option: --console-log
   ```
   
   #### How to reproduce the bug
   
   1. Create a virtualenv for superset and activate it
   2. Install the requirements in requirements.txt, requirements-dev.txt and docs/requirements.txt
   3. Run: `superset run --console-log --debug` or `flask run --console-log --debug`
   4. See error
   
   ### Environment
   
   - superset version: [e.g. `release--0.31` `700cbf4f`]
   - python version: `Anaconda Python 3.6.7 :: Anaconda custom (64-bit)`
   - node.js version: `v11.14.0`
   - npm version: `6.9.0`
   
   ### 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
   
   This bug also appeared on Mac OS X 10.14.4/homebrew Python 3.7.3/Anaconda 3.6.7
   

----------------------------------------------------------------
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