Haks1 commented on issue #7689: Error: no such option: --app URL: https://github.com/apache/incubator-superset/issues/7689#issuecomment-501457460 Here the options for create-admin: ``` Usage: flask fab create-admin [OPTIONS] Creates an admin user Options: --username TEXT --firstname TEXT --lastname TEXT --email TEXT --password TEXT --help Show this message and exit. ``` It's not about the parameters, as the message says, it needs `export FLASK_APP=superset` before the `create-admin` to work. So I did it, but it's still got an other error: ``` Traceback (most recent call last): File "/usr/local/bin/flask", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 894, in main cli.main(args=args, prog_name=name) File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 557, in main return super(FlaskGroup, self).main(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1064, in invoke sub_ctx = cmd.make_context(cmd_name, args, parent=ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 621, in make_context self.parse_args(ctx, args) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 880, in parse_args value, args = param.handle_parse_result(ctx, opts, args) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1396, in handle_parse_result value = self.full_process_value(ctx, value) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1680, in full_process_value return self.prompt_for_value(ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1655, in prompt_for_value value_proc=lambda x: self.process_value(ctx, x)) File "/usr/local/lib/python3.6/site-packages/click/termui.py", line 89, in prompt value = prompt_func(prompt) File "/usr/local/lib/python3.6/site-packages/click/termui.py", line 73, in prompt_func return f('') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 4: invalid continuation byte ```
---------------------------------------------------------------- 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]
