Created
May 8, 2015 06:15
-
-
Save SoftwareGuy/2020dc546a554890de76 to your computer and use it in GitHub Desktop.
KCSrv Role Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(kcsrv-sg)coburn@debian-vm:~/Development/kcsrv-sg$ ./manage.py setup | |
Installing default roles... | |
Traceback (most recent call last): | |
File "./manage.py", line 45, in <module> | |
manager.run() | |
File "/home/coburn/Development/kcsrv-sg/lib/python3.4/site-packages/flask_script/__init__.py", line 412, in run | |
result = self.handle(sys.argv[0], sys.argv[1:]) | |
File "/home/coburn/Development/kcsrv-sg/lib/python3.4/site-packages/flask_script/__init__.py", line 383, in handle | |
res = handle(*args, **config) | |
File "/home/coburn/Development/kcsrv-sg/lib/python3.4/site-packages/flask_script/commands.py", line 216, in __call__ | |
return self.run(*args, **kwargs) | |
File "./manage.py", line 26, in setup | |
db.session.add(db.Role(name="admin", description="Allowed to access the admin panel")) | |
AttributeError: 'SQLAlchemy' object has no attribute 'Role' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment