Autodesk/aomi

exception parsing error Issue with python3

Open

#151 opened on Oct 16, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (13 forks)auto 404
bughelp wanted

Repository metrics

Stars
 (32 stars)
PR merge metrics
 (PR metrics pending)

Description

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'

Contributor guide