Advertisement
Guest User

Full tranceback

a guest
Mar 18th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. (venv) deadsec@deadsec:~/Desktop/Ruby[WebSite]$ flask fab create-user
  2. Role [Public]:
  3. Username: Elgon2003
  4. User first name: Antonio
  5. User last name: Goncalves
  6. Email: amng*****@gmail.com
  7. Password:
  8. Repeat for confirmation:
  9. /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.
  10. warnings.warn(FSADeprecationWarning(
  11. Traceback (most recent call last):
  12. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/bin/flask", line 8, in <module>
  13. sys.exit(main())
  14. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask/cli.py", line 966, in main
  15. cli.main(prog_name="python -m flask" if as_module else None)
  16. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask/cli.py", line 586, in main
  17. return super(FlaskGroup, self).main(*args, **kwargs)
  18. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
  19. rv = self.invoke(ctx)
  20. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
  21. return _process_result(sub_ctx.command.invoke(sub_ctx))
  22. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
  23. return _process_result(sub_ctx.command.invoke(sub_ctx))
  24. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
  25. return ctx.invoke(self.callback, **ctx.params)
  26. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
  27. return callback(*args, **kwargs)
  28. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
  29. return f(get_current_context(), *args, **kwargs)
  30. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask/cli.py", line 426, in decorator
  31. return __ctx.invoke(f, *args, **kwargs)
  32. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
  33. return callback(*args, **kwargs)
  34. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/flask_appbuilder/cli.py", line 88, in create_user
  35. role_object = current_app.appbuilder.sm.find_role(role)
  36. File "/home/deadsec/Desktop/Ruby[WebSite]/venv/lib/python3.8/site-packages/werkzeug/local.py", line 347, in __getattr__
  37. return getattr(self._get_current_object(), name)
  38. AttributeError: 'Flask' object has no attribute 'appbuilder'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement