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

keyring.errors.KeyringLocked: Failed to unlock the collection! #125

Open
JWDebler opened this issue May 23, 2023 · 0 comments
Open

keyring.errors.KeyringLocked: Failed to unlock the collection! #125

JWDebler opened this issue May 23, 2023 · 0 comments

Comments

@JWDebler
Copy link

Hi,

I seem to be unable to pb set-key as I keep getting this error message:

johannes@cicer:~$ pb set-key
Enter your security token from https://www.pushbullet.com/account:
Traceback (most recent call last):
  File "/home/johannes/.local/bin/pb", line 8, in <module>
    sys.exit(main())
  File "/home/johannes/.local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/johannes/.local/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/johannes/.local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/johannes/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/johannes/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/johannes/.local/lib/python3.8/site-packages/pushbullet_cli/app.py", line 126, in set_key
    keyring.set_password("pushbullet", "cli", key)
  File "/home/johannes/.local/lib/python3.8/site-packages/keyring/core.py", line 60, in set_password
    get_keyring().set_password(service_name, username, password)
  File "/home/johannes/.local/lib/python3.8/site-packages/keyring/backends/chainer.py", line 58, in set_password
    return keyring.set_password(service, username, password)
  File "/home/johannes/.local/lib/python3.8/site-packages/keyring/backends/SecretService.py", line 87, in set_password
    collection = self.get_preferred_collection()
  File "/home/johannes/.local/lib/python3.8/site-packages/keyring/backends/SecretService.py", line 67, in get_preferred_collection
    raise KeyringLocked("Failed to unlock the collection!")
keyring.errors.KeyringLocked: Failed to unlock the collection!

Any idea what to do here?

I'm on Ubuntu 20.04.6 LTS and Python 3.8.10

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant