GithubHelp home page GithubHelp logo

jmassistant's People

Contributors

junmo1215 avatar

Watchers

 avatar

jmassistant's Issues

move key word to database

now key word is in invoke_services.py, it would be a long list, move it to database
and auto register key word to services when install

program crashes when run unknown command

$ python main.py

asd
Traceback (most recent call last):
File "main.py", line 15, in
main()
File "main.py", line 10, in main
cmd.main()
File "\jmAssistant\interface\cmd.py", line 16, in main
resp = run_command(cmd)
File "\jmAssistant\core\invoke_services.py", line 108, in run_command
if authority_user_right(service_name, function_name) == False:
File "", line 2, in authority_user_right
File "\site-packages\pony\orm\core.py", line 467, in new_func
result = func(*args, **kwargs)
File "\jmAssistant\core\invoke_services.py", line 91, in authority_user_right
service = Service.get(service_name=service_name, function_name=function_name)
File "\site-packages\pony\orm\core.py", line 3768, in get
try: return entity.find_one(kwargs) # can throw MultipleObjectsFoundError
File "\site-packages\pony\orm\core.py", line 3858, in find_one
avdict[attr] = attr.validate(val, None, entity, from_db=False)
File "\site-packages\pony\orm\core.py", line 2420, in validate
attr if obj is None or obj.status is None else '%r.%s' % (obj, attr.name)))
File "\site-packages\pony\utils\utils.py", line 106, in throw
raise exc
ValueError: Attribute Service.service_name is required

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.