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

Create user error #160

Closed
satterly opened this issue Oct 21, 2018 · 0 comments
Closed

Create user error #160

satterly opened this issue Oct 21, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@satterly
Copy link
Member

(alertaclient) macbook:python-alerta-client nsatterl$ alerta user --name me --email me@home.com --password me
Traceback (most recent call last):
  File "/Users/nsatterl/.virtualenvs/alertaclient/bin/alerta", line 11, in <module>
    load_entry_point('alerta', 'console_scripts', 'alerta')()
  File "/Users/nsatterl/.virtualenvs/alertaclient/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/nsatterl/.virtualenvs/alertaclient/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/nsatterl/.virtualenvs/alertaclient/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/nsatterl/.virtualenvs/alertaclient/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/nsatterl/.virtualenvs/alertaclient/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/nsatterl/.virtualenvs/alertaclient/lib/python3.6/site-packages/click/decorators.py", line 27, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/Users/nsatterl/Projects/python-alerta-client/alertaclient/commands/cmd_user.py", line 56, in cli
    raise AuthError
TypeError: __init__() missing 1 required positional argument: 'message'
@satterly satterly added the bug Something isn't working label Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant