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 listed above:
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 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
Something roughly like:
* 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
Error: no such option: --console-log
superset run --console-log --debug or flask run --console-log --debugrelease--0.31 700cbf4f]Anaconda Python 3.6.7 :: Anaconda custom (64-bit)v11.14.06.9.0Make sure these boxes are checked before submitting your issue - thank you!
This bug also appeared on Mac OS X 10.14.4/homebrew Python 3.7.3/Anaconda 3.6.7
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.90. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I have seen this issue a few times as well.
Pull #7421 addresses this problem by removing runserver and --console-log until they are fixed to work with flask run now that superset runserver has been deprecated.
@betodealmeida Can you check this out and comment on whether or not you want to maintain this or let it drop from the project?
@rjurney Is the reason we cannot fix it to work with flask run?
That's a more constructive pull request in my view.
@MarcusSorealheis That's what I'm hoping will happen but in lieu of that, there is PR #7421
@rjurney I'm going to see if I can get it to work
@MarcusSorealheis Check out https://github.com/apache/incubator-superset/pull/7428
can we close this one @rjurney?
Yup
Most helpful comment
I have seen this issue a few times as well.