Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

OnePasswordNotSignedIn__init error #28

@qhartman

Description

@qhartman

I have one-password CLI installed and signed in via:
eval $(op signin guild_education)
After entering that command I can correctly list my vaults with op list vaults.

When I try to use aws-jumpcloud, I get:

aws-jumpcloud exec dev -- aws s3 ls
Traceback (most recent call last):
  File "/home/qhartman/.local/bin/aws-jumpcloud", line 10, in <module>
    sys.exit(main())
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/cli.py", line 18, in main
    args.func(args)
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/commands.py", line 99, in exec_command
    session = _get_aws_session(args.profile)
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/commands.py", line 191, in _get_aws_session
    _login_to_aws(keyring, profile)
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/commands.py", line 281, in _login_to_aws
    session = _login_to_jumpcloud(profile.name)
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/commands.py", line 247, in _login_to_jumpcloud
    email = _get_email()
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/commands.py", line 205, in _get_email
    if op.installed():
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/onepassword.py", line 16, in installed
    raise OnePasswordNotSignedIn()
  File "/home/qhartman/.local/lib/python3.7/site-packages/aws_jumpcloud/onepassword.py", line 67, in __init__
    Exception.__init(self, message)
AttributeError: type object 'Exception' has no attribute '_OnePasswordNotSignedIn__init'

I get the same error even if I am not signed in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions