Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login button / sql tables #17

Open
laughingxman opened this issue Jun 26, 2018 · 7 comments
Open

Login button / sql tables #17

laughingxman opened this issue Jun 26, 2018 · 7 comments

Comments

@laughingxman
Copy link

When I click the login button nothing happens, I have everything installed, and verified the sql db is setup. Not seeing the tables being installed into db tho

@laughingxman
Copy link
Author

brandon@avalon-management-system:/usr/lib/apache2/modules$ amscli config
Traceback (most recent call last):
File "/usr/local/bin/amscli", line 498, in
config(sys.argv[2:])
File "/usr/local/bin/amscli", line 218, in config
if argv[1] == '-f':
IndexError: list index out of range

@laughingxman
Copy link
Author

So I see "amscli adduser" is successfully adding to the database. I am having issues getting "amscli controller" to add a controller it says invalid everytime.

@laughingxman
Copy link
Author

Now it doesn't show invalid, but after I add something it doesn't actually add it

@playisfun60
Copy link

Having same issue

@archangdcc
Copy link
Contributor

Each line in the vim editor after running amscli controller should match the pattern of

pattern = re.compile(
r'\s*(?P<ip>[0-9a-fA-F.:\[\]]+)\s+'
'(?P<port>[0-9]+)\s+'
'(?P<mods>[0-9]+)\s*', re.X
)

And lines started with # will be ignored.

@laughingxman
Copy link
Author

Even using the proper pattern it is not taking the data into the sql db when adding a controller. Any other suggestions?

@CCGLLC-knc
Copy link

Each line in the vim editor after running amscli controller should match the pattern of

Avalon-Management-System/server/amscli

Lines 298 to 302 in 2d69714

pattern = re.compile(
r'\s*(?P[0-9a-fA-F.:[]]+)\s+'
'(?P[0-9]+)\s+'
'(?P[0-9]+)\s*', re.X
)
And lines started with # will be ignored.

Could you provide some examples? IP is obvious (e.g. 172.16.4.1). I presume Port should just be a number with the default being 80? No clue what Mods referes to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants