icloud-photos-downloader / icloud_photos_downloader

A command-line tool to download photos from iCloud
MIT License
6.88k stars 553 forks source link

pyicloud_ipd.exceptions.PyiCloudServiceNotActivatedErrror: Please log into https://icloud.com/ to manually finish setting up your iCloud service (ZONE_NOT_FOUND) #151

Open JoshuaChou2018 opened 4 years ago

JoshuaChou2018 commented 4 years ago

2020-05-21 06:30:02 DEBUG Authenticating...
Traceback (most recent call last):
File "/usr/local/bin/icloudpd", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 722, in call
return self.main(args, kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 535, in invoke
return callback(
args, kwargs)
File "/usr/local/lib/python3.7/dist-packages/icloudpd/base.py", line 276, in main
photos = icloud.photos.albums[album]
File "/usr/local/lib/python3.7/dist-packages/pyicloud_ipd/base.py", line 332, in photos
self.params
File "/usr/local/lib/python3.7/dist-packages/pyicloud_ipd/services/photos.py", line 160, in init
headers={'Content-type': 'text/plain'}
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 578, in post
return self.request('POST', url, data=data, json=json,
kwargs)
File "/usr/local/lib/python3.7/dist-packages/pyicloud_ipd/base.py", line 100, in request
self._raise_error(code, reason)
File "/usr/local/lib/python3.7/dist-packages/pyicloud_ipd/base.py", line 114, in _raise_error
raise(api_error)
pyicloud_ipd.exceptions.PyiCloudServiceNotActivatedErrror: Please log into https://icloud.com/ to manually finish setting up your iCloud service (ZONE_NOT_FOUND)

menkej commented 4 years ago

this exception should be catcht correctly and give the user a better error message/information what to do.

dmd commented 3 years ago

So... what should I do? This is what I get when I attempt to use icloudpd.

dmd commented 3 years ago

(And I do have sync turned on.)