GithubHelp home page GithubHelp logo

Comments (7)

laughingxman avatar laughingxman commented on August 17, 2024

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

from avalon-management-system.

laughingxman avatar laughingxman commented on August 17, 2024

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.

from avalon-management-system.

laughingxman avatar laughingxman commented on August 17, 2024

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

from avalon-management-system.

playisfun60 avatar playisfun60 commented on August 17, 2024

Having same issue

from avalon-management-system.

archangdcc avatar archangdcc commented on August 17, 2024

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.

from avalon-management-system.

laughingxman avatar laughingxman commented on August 17, 2024

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

from avalon-management-system.

CCGLLC-knc avatar CCGLLC-knc commented on August 17, 2024

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.

from avalon-management-system.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.