[GH-ISSUE #115] Backup Icloud account that doesn't have any device pyicloud.exceptions.PyiCloudNoDevicesException #101

Open
opened 2026-02-25 20:34:39 +03:00 by kerem · 0 comments
Owner

Originally created by @TehBotolSosro on GitHub (Jun 20, 2021).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/115

I'm trying to backup an old icloud account with the WhaCloud.
but it seem if there is no devices attached to the icloud account (My Devices) the app won't work at all
is there a possible solution for this?

Traceback (most recent call last):
  File "H:\Icloudtest\libs\whacloud.py", line 191, in <module>
    api = login()
  File "H:\Icloudtest\libs\whacloud.py", line 151, in login
    print("Devices available:\n {}".format(api.devices))
  File "C:\Users\HDMF\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyicloud\base.py", line 535, in devices
    return FindMyiPhoneServiceManager(
  File "C:\Users\HDMF\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyicloud\services\findmyiphone.py", line 28, in __init__
    self.refresh_client()
  File "C:\Users\HDMF\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyicloud\services\findmyiphone.py", line 68, in refresh_client
    raise PyiCloudNoDevicesException()
pyicloud.exceptions.PyiCloudNoDevicesException

Originally created by @TehBotolSosro on GitHub (Jun 20, 2021). Original GitHub issue: https://github.com/B16f00t/whapa/issues/115 I'm trying to backup an old icloud account with the WhaCloud. but it seem if there is no devices attached to the icloud account (My Devices) the app won't work at all is there a possible solution for this? ``` Traceback (most recent call last): File "H:\Icloudtest\libs\whacloud.py", line 191, in <module> api = login() File "H:\Icloudtest\libs\whacloud.py", line 151, in login print("Devices available:\n {}".format(api.devices)) File "C:\Users\HDMF\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyicloud\base.py", line 535, in devices return FindMyiPhoneServiceManager( File "C:\Users\HDMF\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyicloud\services\findmyiphone.py", line 28, in __init__ self.refresh_client() File "C:\Users\HDMF\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyicloud\services\findmyiphone.py", line 68, in refresh_client raise PyiCloudNoDevicesException() pyicloud.exceptions.PyiCloudNoDevicesException ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#101
No description provided.