skarppi / icloud_photo_station Goto Github PK
View Code? Open in Web Editor NEWThis project forked from icloud-photos-downloader/icloud_photos_downloader
A command-line tool to download photos from iCloud to Synology NAS.
This project forked from icloud-photos-downloader/icloud_photos_downloader
A command-line tool to download photos from iCloud to Synology NAS.
Package built just fine and installed to the NAS (DS418play, DSM 6.2.3-25426 Update 2)
I have 2FA on my account and this is the error I received when issuing the command within an SSH session.
~$ python /volume1/@appstore/icloud_photo_station/app/icloudpd.py \
> --username '[email protected]' \
> --password 'pass' \
> --auto-delete \
> --until-found 10 \
> --download output
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 2, in <module>
from icloudpd.base import main
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 12, in <module>
import click
ImportError: No module named click
Please advise, as I do not know where to start trying to work around this.
When connecting, there is no choice of how to receive the code. Just receive the code on your device. But you need it via SMS.
2022-03-20 16:56:19 DEBUG Authenticating...
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 5, in
main()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 261, in main
photos = icloud.photos.albums[album]
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud_ipd/services/photos.py", line 194, in albums
folder['fields']['albumNameEnc']['value']).decode('utf-8')
KeyError: 'albumNameEnc'
Hi, i'm trying to use python3 to run the script to check if it will run better, i think that you have an error in the file 'filesystem.py'
here is the error i'm getting:
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 11, in <module>
from filesystem import FileSystemStorage
File "/volume1/@appstore/icloud_photo_station/app/filesystem.py", line 55
print "Deleting %s!" % self.path
^
SyntaxError: Missing parentheses in call to 'print'
Hi
following update to Synology DSM7 which Python 3 built in I'm getting the below error.
-sh: /volume1/homes//env/bin/icloudpd: /volume1/homes//env/bin/python3: bad interpreter: No such file or directory
Any help would be greatly appreciated
2020-05-24 12:02:40 INFO Great, you're all set up. The script can now be run without user interaction until 2SA expires.
You can set up email notifications for when the two-step authentication expires.
(Use --help to view information about SMTP options.)
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 5, in
main()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 277, in main
directory = os.path.normpath(directory)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/posixpath.py", line 335, in normpath
initial_slashes = path.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
what did I miss please?
I have been running this a long time and it has been great but in the last week it has started presenting the below error
When I use the iCloud command to add my password to the keychain it works as expected (asks for 2fa and then login).
I would really appreciate your help with pointing out where Im going wrong.
Synology strongly advises you not to run commands as the root user, who has
the highest privileges on the system. Doing so may cause major damages
to the system. Please note that if you choose to proceed, all consequences are
at your own risk.
[XXX]@JARVIS:~$ source /volume1/@appstore/icloud_photo_station/env/bin/activate(env)
[XXX]@JARVIS:~$ python /volume1/@appstore/icloud_photo_station/app/icloudpd.py \
> --directory /volume1/iCloud \
> --username [XXX] \
> --until-found 10 \
> --auto-delete
2023-02-09 17:27:16 DEBUG Authenticating...
Please log into https://icloud.com/ to manually finish setting up your iCloud service (AUTHENTICATION_FAILED)
(env) [XXX]@JARVIS:~$
cd icloud_photos_downloader.git/docker
the .git is extra and causing an error if copy/pasted from the readme.
Thank you for your contribution!
Since upgrading to DSM 7.2.1-69057 Update 5 the process fails with error:
"Failed to execv() /tmp/staticx-eEDlAD/icloudpd-1.17.3-linux-amd64.dynamic: Permission denied"
Special characters in PHOTO STATION PASSWORD are not being recognized properly, even when URL encoded.
Sorry for another question but can't seem to work out how to use the system keychain to store password with the new build for DSM 7.x. Any assistance would be appreciated.
Using icloud_photo_station-0.3.0.spk for DSM 7.x using task scheduler
Hello,
I'm getting an error 'Invalid global session' every time the downloader is reaching 100-200 photos,
And some times i'm getting 'Connection reset by peer' error.
I'm running it on my Synology Nas.
I've posted it also in the original project
icloud-photos-downloader#29
here is the 'Invalid global session' error
Downloading IMG_7283.JPG to /volume1/Photo/iPhone-Backup/Idan/2017/06/17: 8%| | 600/7351 [1:19:57<6:05:08, 3.25s/it]Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 279, in <module>
download()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 96, in download
for photo in progress_bar:
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/tqdm/_tqdm.py", line 872, in __iter__
for obj in iterable:
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud/services/photos.py", line 281, in photos
headers={'Content-type': 'text/plain'}
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/requests/sessions.py", line 555, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud/base.py", line 100, in request
self._raise_error(code, reason)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud/base.py", line 122, in _raise_error
raise api_error
pyicloud.exceptions.PyiCloudAPIResponseError: Invalid global session
Here is the Connection reset by peer error
Downloading IMG_7639.JPG to /volume1/Photo/iPhone-Backup/Idan/2017/07/15: 4%| | 311/7351 [34:25<35:45:43, 18.29s/it]Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 279, in <module>
download()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 112, in download
exists = download_photo(photo, size, force_size, album, progress_bar)
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 259, in download_photo
album_photo.save_content(download_url)
File "/volume1/@appstore/icloud_photo_station/app/filesystem.py", line 48, in save_content
for chunk in url.iter_content(chunk_size=1024):
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/requests/models.py", line 748, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))
i am a novice user trying to install on my synology the icloud photo station
i followed the instructions and my build stops with an error - i am afraid the https site in not reachable?
i would appreciate if you could help me
thanks
Andrea
(env) admin@Cabana-HD:/var/services/homes/acalace/icloud_photo_station/spk$ sh build.sh
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/var/services/homes/admin/.wget-hsts'. HSTS will be disabled.
--2020-07-04 18:32:21-- http://raw.githubusercontent.com/SynologyOpenSource/pkgscripts-ng/master/include/pkg_util.sh
Resolving raw.githubusercontent.com... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com|151.101.0.133|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/SynologyOpenSource/pkgscripts-ng/master/include/pkg_util.sh [following]
--2020-07-04 18:32:21-- https://raw.githubusercontent.com/SynologyOpenSource/pkgscripts-ng/master/include/pkg_util.sh
Connecting to raw.githubusercontent.com|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10465 (10K) [text/plain]
Saving to: '_pkg_util.sh'
_pkg_util.sh 100%[=======================================================================================================>] 10.22K --.-KB/s in 0s
2020-07-04 18:32:22 (65.3 MB/s) - '_pkg_util.sh' saved [10465/10465]
build.sh: line 24: source: _pkg_util.sh: file not found
Package built just fine and installed to the NAS (DS418play, DSM 6.2.3-25426 Update 2)
I have 2FA on my account and ran the command in an SSH session, the 2FA worked, but the command then failed. This is the error I received when issuing the command within the SSH session:
$ python /volume1/@appstore/icloud_photo_station/app/icloudpd.py --username '[email protected]' --password 'pass' --auto-delete --recent 10 --album 'Recents'
2020-10-09 09:44:21 DEBUG Authenticating...
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 5, in <module>
main()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 261, in main
photos = icloud.photos.albums[album]
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud_ipd/services/photos.py", line 194, in albums
folder['fields']['albumNameEnc']['value']).decode('utf-8')
KeyError: 'albumNameEnc'
I have tried no album, no dice. Please advise
I cannot run icloudpd.py on dsm 7( DSM 7.0.1-42218 ).
When running I see : ModuleNotFoundError: No module named 'click'.
source /volume1/@appstore/icloud_photo_station/env/bin/activate
python /volume1/@appstore/icloud_photo_station/app/icloudpd.py \
--username '<YOUR ICLOUD USERNAME>' \
--password '<YOUR ICLOUD PASSWORD>' \
--auto-delete \
--until-found 10 \
--directory ./output/```
4: output
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 2, in <module>
from icloudpd.base import main
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 12, in <module>
import click
ModuleNotFoundError: No module named 'click'
There seems to be going something wrong with installing the requirements with pip:
(env) Billy@Rubin:~$ pip install -r ~/requirements.txt
Collecting pyicloud_ipd==0.10.1
Using cached pyicloud_ipd-0.10.1-py2.py3-none-any.whl (22 kB)
Collecting schema==0.7.4
Using cached schema-0.7.4-py2.py3-none-any.whl (16 kB)
Collecting click==6.7
Using cached click-6.7-py2.py3-none-any.whl (71 kB)
Collecting python_dateutil==2.8.2
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting requests>=2.20.0
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting tqdm==4.62.0
Using cached tqdm-4.62.0-py2.py3-none-any.whl (76 kB)
Collecting piexif==1.1.3
Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting certifi
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting pytz
Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting six>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting keyrings.alt<2.0,>=1.0
Using cached keyrings.alt-1.3-py2.py3-none-any.whl (21 kB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting tzlocal
Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
Collecting keyring<9.0,>=8.0
Using cached keyring-8.7-py2.py3-none-any.whl (33 kB)
Collecting contextlib2>=0.5.5
Using cached contextlib2-21.6.0-py2.py3-none-any.whl (13 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting backports.zoneinfo
Using cached backports.zoneinfo-0.2.1.tar.gz (74 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pytz-deprecation-shim
Using cached pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting tzdata
Using cached tzdata-2021.5-py2.py3-none-any.whl (339 kB)
Building wheels for collected packages: backports.zoneinfo
Building wheel for backports.zoneinfo (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /volume1/@appstore/icloud_photo_station/env/bin/python /volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpppzdlxpy
cwd: /tmp/pip-install-26l01u8j/backports-zoneinfo_fe39e2ea05074c64abaf4a82b2051a2f
Complete output (26 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.8
creating build/lib.linux-armv7l-3.8/backports
copying src/backports/__init__.py -> build/lib.linux-armv7l-3.8/backports
creating build/lib.linux-armv7l-3.8/backports/zoneinfo
copying src/backports/zoneinfo/_zoneinfo.py -> build/lib.linux-armv7l-3.8/backports/zoneinfo
copying src/backports/zoneinfo/_version.py -> build/lib.linux-armv7l-3.8/backports/zoneinfo
copying src/backports/zoneinfo/_tzpath.py -> build/lib.linux-armv7l-3.8/backports/zoneinfo
copying src/backports/zoneinfo/_common.py -> build/lib.linux-armv7l-3.8/backports/zoneinfo
copying src/backports/zoneinfo/__init__.py -> build/lib.linux-armv7l-3.8/backports/zoneinfo
running egg_info
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.svg' under directory 'docs'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_output'
writing manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt'
copying src/backports/zoneinfo/__init__.pyi -> build/lib.linux-armv7l-3.8/backports/zoneinfo
copying src/backports/zoneinfo/py.typed -> build/lib.linux-armv7l-3.8/backports/zoneinfo
running build_ext
creating build/temp.linux-armv7l-3.8
creating build/temp.linux-armv7l-3.8/lib
/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-wrap-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -I/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include -DSYNOPLAT_F_ARMV7 -O2 -mcpu=cortex-a9 -march=armv7-a -mfpu=neon -mfloat-abi=hard -mthumb -fno-diagnostics-show-caret -Wno-unused-local-typedefs -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=32 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSYNO_RUNNING_DSM_BUILD_SYSTEM -g -pipe -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -I/volume1/@appstore/icloud_photo_station/env/include/python3.8 -c lib/zoneinfo_module.c -o build/temp.linux-armv7l-3.8/lib/zoneinfo_module.o -std=c99
error: command '/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-wrap-gcc' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for backports.zoneinfo
Failed to build backports.zoneinfo
ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects
environment:
(env) Billy@Rubin:~$ pip --version
^[[A^[[Apip 21.3.1 from /volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/pip (python 3.8)
^[[B(env) Billy@Rubin:~$ python --version
Python 3.8.8
(env) Billy@Rubin:~$ which python
/volume1/@appstore/icloud_photo_station/env/bin/python
(env) Billy@Rubin:~$ which pip
/volume1/@appstore/icloud_photo_station/env/bin/pip
(env) Billy@Rubin:~$ python /volume1/@appstore/icloud_photo_station/app/icloudpd.py --username 'test' --password 'redacted' --auto-delete --until-found 10 --directory ./output/
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 2, in <module>
from icloudpd.base import main
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 12, in <module>
import click
ModuleNotFoundError: No module named 'click'
(env) Billy@Rubin:~$
I see that the latest activity on this was Jan 2018. Is this still supported and working? Thanks.
Hi,
I'm getting that error when trying 'auto-delete' option
Signing in...
Looking up all photos...
Downloading 7338 original photos and videos to /volume1/Photo/iPhone-Backup/Idan/ ...
/volume1/Photo/iPhone-Backup/Idan/2010/04/07 already exists.: 100%|███████████████| 7338/7338 [04:04<00:00, 30.02it/s]
All photos have been downloaded!
Deleting any files found in 'Recently Deleted'...
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 279, in <module>
download()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 147, in download
item = album.item(filename)
AttributeError: 'FileSystemAlbum' object has no attribute 'item'
Using icloud photo station to run on Synology NAS
https://github.com/skarppi/icloud_photo_station
This has been working for years but now getting error eveytime i attempt to run the code to sync.
--directory /volume1/iCloud
--username [email protected]
--until-found 10
--auto-delete `
code runs
error:
Failed to execv() /tmp/staticx-JhBoMc/icloudpd-1.17.3-linux-amd64.dynamic: Permission denied
So do I simply ssh into my DSM and run the following?
source /volume1/@appstore/icloud_photo_station/env/bin/activate
python /volume1/@appstore/icloud_photo_station/app/icloudpd.py \
--username REDACTED \
--password REDACTED \
--directory /volume1/Photos/Curtis
When I do that I get the following:
2021-08-23 20:53:43 DEBUG Authenticating...
Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/icloudpd.py", line 5, in <module>
main()
File "/volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/base.py", line 255, in main
icloud = authenticate(
File "/volume1/@appstore/icloud_photo_station/app/icloudpd/authentication.py", line 29, in authenticate
icloud = pyicloud_ipd.PyiCloudService(
File "/volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/pyicloud_ipd/base.py", line 193, in __init__
self.authenticate()
File "/volume1/@appstore/icloud_photo_station/env/lib/python3.8/site-packages/pyicloud_ipd/base.py", line 222, in authenticate
os.mkdir(self._cookie_directory)
FileNotFoundError: [Errno 2] No such file or directory: '/var/services/homes/cmfrazier/.pyicloud'
I also know it's connecting to Apple as I get a code sent to my devices....I'm just unsure where to enter the code.
Thanks
Is it possible to somehow delete all the photos that have been deleted? If the delete folder is already cleared and the photos and videos have been deleted a lot and you need to clean the downloaded photos.
Redownload 500gb?
Hello,
I'm getting some errors, and this is one of them: Gone (410).
I'm running it on my Synology Nas.
I've posted it also in the original project
icloud-photos-downloader#30
Downloading IMG_6425.MOV to /volume1/Photo/iPhone-Backup/Idan/2017/05/17: 14%|▏| 1065/7356 [1:43:07<267:23:09, 153.01s/it]Traceback (most recent call last):
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 279, in <module>
download()
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 112, in download
exists = download_photo(photo, size, force_size, album, progress_bar)
File "/volume1/@appstore/icloud_photo_station/app/download_photos.py", line 252, in download_photo
stream=True
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud/base.py", line 74, in request
self._raise_error(response.status_code, response.reason)
File "/volume1/@appstore/icloud_photo_station/env/lib/python2.7/site-packages/pyicloud/base.py", line 122, in _raise_error
raise api_error
pyicloud.exceptions.PyiCloudAPIResponseError: Gone (410)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.