Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (venv) deadsec@deadsec:~/Desktop/Ruby[WebSite]$ flask fab create-user
- Role [Public]:
- Username: Elgon2003
- User first name: Antonio
- User last name: Goncalves
- Email: amng*****@gmail.com
- Password:
- Repeat for confirmation:
- /home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py:834: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
- warnings.warn(FSADeprecationWarning(
- Traceback (most recent call last):
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/bin/flask", line 8, in <module>
- sys.exit(main())
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask/cli.py", line 966, in main
- cli.main(prog_name="python -m flask" if as_module else None)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask/cli.py", line 586, in main
- return super(FlaskGroup, self).main(*args, **kwargs)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
- rv = self.invoke(ctx)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
- return callback(*args, **kwargs)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
- return f(get_current_context(), *args, **kwargs)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask/cli.py", line 426, in decorator
- return __ctx.invoke(f, *args, **kwargs)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
- return callback(*args, **kwargs)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask_appbuilder/cli.py", line 88, in create_user
- role_object = current_app.appbuilder.sm.find_role(role)
- File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/werkzeug/local.py", line 347, in __getattr__
- return getattr(self._get_current_object(), name)
- AttributeError: 'Flask' object has no attribute 'appbuilder'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement