You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hopefully this is the right place to ask :-). I'm new here, please go easy on me.
I'm in the process of downloading an 80K+, multi-level-folder archive, and have been having trouble with downloads randomly failing on creating sidecar files.
It looks like #1063 (comment) is a solution, but I'm not sure how to implement the fix. It's been months since I set this up so I forget all the steps I took at the time, but now I just run the batch file and it works.
My programming chops are decades out of date, so there are some things I understand quickly and others that feel like I'm trying to understand Martian, so please explain it to me like I'm five :-).
The errors go something like this:
H:\iCloud photos>cmd /k icloudpd --username {username} --directory downloads --folder-structure none --size adjusted --size original --set-exif-datetime --keep-unicode-in-filenames --live-photo-mov-filename-policy original --file-match-policy name-id7 --align-raw original --xmp-sidecar --album "temp 4 download" --only-print-filenames
downloads\IMG_1612-adjusted.JPG
Traceback (most recent call last):
File "starters\icloudpd.py", line 6, in
File "icloudpd\cli.py", line 609, in cli
File "icloudpd\base.py", line 261, in run_with_configs
File "icloudpd\base.py", line 438, in _process_all_users_once
File "icloudpd\base.py", line 1084, in core_single_run
File "icloudpd\base.py", line 731, in download_builder
File "icloudpd\xmp_sidecar.py", line 71, in generate_xmp_file
File "icloudpd\xmp_sidecar.py", line 108, in build_metadata
Then the next part varies. Some examples are:
zlib.error: Error -3 while decompressing data: invalid distance too far back
[PYI-24156:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!
zlib.error: Error -3 while decompressing data: invalid code lengths set
[PYI-13556:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!
zlib.error: Error -3 while decompressing data: invalid block type
[PYI-20200:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!
I haven't been able to identify anything the failing images have in common except maybe "-adjusted." Sometimes a group of photos from the same camera and date are fine, other times it'll fail after a few images, or on every one of a group.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hopefully this is the right place to ask :-). I'm new here, please go easy on me.
I'm in the process of downloading an 80K+, multi-level-folder archive, and have been having trouble with downloads randomly failing on creating sidecar files.
It looks like #1063 (comment) is a solution, but I'm not sure how to implement the fix. It's been months since I set this up so I forget all the steps I took at the time, but now I just run the batch file and it works.
My programming chops are decades out of date, so there are some things I understand quickly and others that feel like I'm trying to understand Martian, so please explain it to me like I'm five :-).
The errors go something like this:
H:\iCloud photos>cmd /k icloudpd --username {username} --directory downloads --folder-structure none --size adjusted --size original --set-exif-datetime --keep-unicode-in-filenames --live-photo-mov-filename-policy original --file-match-policy name-id7 --align-raw original --xmp-sidecar --album "temp 4 download" --only-print-filenames
downloads\IMG_1612-adjusted.JPG
Traceback (most recent call last):
File "starters\icloudpd.py", line 6, in
File "icloudpd\cli.py", line 609, in cli
File "icloudpd\base.py", line 261, in run_with_configs
File "icloudpd\base.py", line 438, in _process_all_users_once
File "icloudpd\base.py", line 1084, in core_single_run
File "icloudpd\base.py", line 731, in download_builder
File "icloudpd\xmp_sidecar.py", line 71, in generate_xmp_file
File "icloudpd\xmp_sidecar.py", line 108, in build_metadata
Then the next part varies. Some examples are:
zlib.error: Error -3 while decompressing data: invalid distance too far back
[PYI-24156:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!
zlib.error: Error -3 while decompressing data: invalid code lengths set
[PYI-13556:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!
zlib.error: Error -3 while decompressing data: invalid block type
[PYI-20200:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!
I haven't been able to identify anything the failing images have in common except maybe "-adjusted." Sometimes a group of photos from the same camera and date are fine, other times it'll fail after a few images, or on every one of a group.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions