aomi icon indicating copy to clipboard operation
aomi copied to clipboard

exception parsing error Issue with python3

Open ericfode opened this issue 7 years ago • 0 comments

Connecting to https://REDACTED/
Token derived from /home/fodee/.vault-token-REDACTED
Traceback (most recent call last):
  File "/home/fodee/src/clerk/.env/lib/python3.6/site-packages/aomi/cli.py", line 466, in main
    action_runner(parser, args)
  File "/home/fodee/src/clerk/.env/lib/python3.6/site-packages/aomi/cli.py", line 445, in action_runner
    template_runner(client.connect(args), parser, args)
  File "/home/fodee/src/clerk/.env/lib/python3.6/site-packages/aomi/vault.py", line 138, in connect
    raise aomi.exceptions.AomiCredentials('initial token')
aomi.exceptions.AomiCredentials: Something wrong with Vault credentials - initial token

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/fodee/src/clerk/.env/bin/aomi", line 11, in <module>
    sys.exit(main())
  File "/home/fodee/src/clerk/.env/lib/python3.6/site-packages/aomi/cli.py", line 471, in main
    unhandled(uncaught, args)
  File "/home/fodee/src/clerk/.env/lib/python3.6/site-packages/aomi/error.py", line 13, in unhandled
    output(exception.message, opt)
AttributeError: 'AomiCredentials' object has no attribute 'message'

ericfode avatar Oct 16 '17 20:10 ericfode