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
Overview
KeyError: <AssetVersionSize.ORIGINAL: 'original'> if download with --size adjusted --size alternative (not use --force-size)
threr was only one photo in my icloud with not edited, when i download with --size adjusted --size alternative (not use --force-size),
after got one photo ,then i got the info: KeyError: <AssetVersionSize.ORIGINAL: 'original'>
then i edit the photo ,run icloudpd again .after got one edited photo ,i got the same error message.
Steps to Reproduce
there is only one photo in cloud (not edited)
icloudpd --directory .\photos --domain cn --username xx --password xx --folder-structure none --size adjusted --size alternative --file-match-policy name-id7
edit the photo
icloudpd --directory .\photos --domain cn --username xx --password xx --folder-structure none --size adjusted --size alternative --file-match-policy name-id7
Expected Behavior
no error info
Actual Behavior
exit with error
Context
after debug,I found the return of disambiguate_filenames only include adjusted ,when download_size=alternative,download_size will be changed to original , but no original in the return of disambiguate_filenames
The text was updated successfully, but these errors were encountered:
I can read english well ,but bad in writing.so maybe you can not understand what i write ,^_^
versions = disambiguate_filenames(photo.versions, size)
the versions not include original , but in the loop (for download_size in size:), download_size = AssetVersionSize.ORIGINAL was exec ,so version = versions[download_size] throw a error.
Overview
KeyError: <AssetVersionSize.ORIGINAL: 'original'> if download with --size adjusted --size alternative (not use --force-size)
threr was only one photo in my icloud with not edited, when i download with --size adjusted --size alternative (not use --force-size),
after got one photo ,then i got the info: KeyError: <AssetVersionSize.ORIGINAL: 'original'>
then i edit the photo ,run icloudpd again .after got one edited photo ,i got the same error message.
Steps to Reproduce
Expected Behavior
no error info
Actual Behavior
exit with error
Context
after debug,I found the return of disambiguate_filenames only include adjusted ,when download_size=alternative,download_size will be changed to original , but no original in the return of disambiguate_filenames
The text was updated successfully, but these errors were encountered: