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

icloudpd-1.17.6 keyring.errors.NoKeyringError: No recommended backend was available #841

Closed
cyayon opened this issue May 24, 2024 · 3 comments
Labels

Comments

@cyayon
Copy link

cyayon commented May 24, 2024

Overview

Fatal error when using the last clouded-1.17.6
No issue with the previous version 1.17.5

Steps to Reproduce

./icloudpd-1.17.6-linux-amd64 --username xxx@xxx --directory /xxxx --until-found 100

Expected Behavior

no error

Actual Behavior

2024-05-24 08:19:50 DEBUG    Authenticating...
Traceback (most recent call last):
  File "starters/icloudpd.py", line 6, in <module>
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "icloudpd/base.py", line 326, in main
  File "icloudpd/base.py", line 757, in core
  File "icloudpd/authentication.py", line 32, in authenticate_
  File "pyicloud_ipd/base.py", line 233, in __init__
  File "pyicloud_ipd/utils.py", line 34, in get_password_from_keyring
  File "keyring/core.py", line 55, in get_password
  File "keyring/backends/fail.py", line 25, in get_password
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
``


## Context
Archlinux (last version)
@cyayon cyayon added the bug label May 24, 2024
@miroslav-suvada
Copy link

Getting the same error on Ubuntu 22.04. Running keyring.get_password() manually in python console works fine.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy
2024-05-24 10:28:16 DEBUG    Authenticating...
Traceback (most recent call last):
  File "starters/icloudpd.py", line 6, in <module>
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "icloudpd/base.py", line 326, in main
  File "icloudpd/base.py", line 757, in core
  File "icloudpd/authentication.py", line 32, in authenticate_
  File "pyicloud_ipd/base.py", line 233, in __init__
  File "pyicloud_ipd/utils.py", line 34, in get_password_from_keyring
  File "keyring/core.py", line 55, in get_password
  File "keyring/backends/fail.py", line 25, in get_password
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
[24489] Failed to execute script 'icloudpd' due to unhandled exception!

AndreyNikiforov added a commit that referenced this issue May 25, 2024
@boredazfcuk
Copy link
Contributor

Works on Alpine 3.20... which I've noticed isn't listed on the tests here: https://github.com/icloud-photos-downloader/icloud_photos_downloader/releases/tag/v1.17.7

@AndreyNikiforov
Copy link
Collaborator

fixed in 1.17.7. pls reopen if issue persists

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

No branches or pull requests

4 participants