Giter VIP home page Giter VIP logo

machaao-py's People

Contributors

abskrj avatar pineappledreams avatar sayantan-machaao avatar unixguru2k avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

machaao-py's Issues

Cannot create new chatbot project following the instructions

Problem

Cannot create new chatbot project following the instructions as the instructions and the real code differ.
machaao start -s sample will lead to an error that option -s doesn't exist

(venv) pineapple@DESKTOP:~/machaao-py$ machaao start -s sample
Usage: machaao start [OPTIONS]
Try 'machaao start --help' for help.

Error: no such option: -s

So if I run --help, it tells me I should run machaao start -n instead

(venv) pineapple@DESKTOP:~/machaao-py$ machaao start --help
Usage: machaao start [OPTIONS]

Options:
  -n TEXT  Enter the name of project.
  --help   Show this message and exit.

But even if I do that, it still runs into an error:

(venv) pineapple@DESKTOP:~/machaao-py$ machaao start -n sample
Traceback (most recent call last):
  File "/home/pineapple/machaao-py/venv/bin/machaao", line 4, in <module>
    __import__('pkg_resources').run_script('machaao==0.1.9', 'machaao')
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 666, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1469, in run_script
    exec(script_code, namespace, namespace)
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/machaao-0.1.9-py3.8.egg/EGG-INFO/scripts/machaao", line 232, in <module>
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/click-7.1.2-py3.8.egg/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/click-7.1.2-py3.8.egg/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/click-7.1.2-py3.8.egg/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/click-7.1.2-py3.8.egg/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/pineapple/machaao-py/venv/lib/python3.8/site-packages/click-7.1.2-py3.8.egg/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
TypeError: start() got an unexpected keyword argument 'n'

Steps to reproduce

  1. machaao start -s sample_app

Bug-fix ideas

[ ] Fix the start() in the to use -n as the doc-string calls for -n machaao-py/bin/machaao
[ ] Match the documentation to use -n instead of -s

Test this library.

  1. Test this Library in your PC.
  2. Change the branch to 'test'
  3. Write if there was bugs or errors
  4. Send PR to machaao-py:test branch

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.