Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you log into icloud.com.cn without receiving pop-up notifications? #680

Closed
Inrrs opened this issue Oct 29, 2024 · 20 comments
Closed

Can you log into icloud.com.cn without receiving pop-up notifications? #680

Inrrs opened this issue Oct 29, 2024 · 20 comments
Assignees

Comments

@Inrrs
Copy link

Inrrs commented Oct 29, 2024

2024-10-29 15:42:41 DEBUG /iCloud/2020/10/06/b7c7decbdd65c6bdf03b1212fc70a237.JPG already exists

2024-10-29 15:42:42 INFO All photos have been downloaded

2024-10-29 15:42:42 INFO Deleting any files found in 'Recently Deleted'...

2024-10-29 15:42:43 DEBUG Deleting /iCloud/2024/03/26/.jpg.JPG...

2024-10-29 15:42:43 INFO Deleted /iCloud/2024/03/26/.jpg.JPG

2024-10-29 15:42:43 DEBUG Deleting /iCloud/2024/10/02/IMG_6211.PNG...

2024-10-29 15:42:43 INFO Deleted /iCloud/2024/10/02/IMG_6211.PNG

2024-10-29 15:42:43 ERROR Failed to download new files

2024-10-29 15:42:43 ERROR - Can you log into icloud.com.cn without receiving pop-up notifications?

2024-10-29 15:42:43 ERROR Error debugging info:

2024-10-29 15:42:43 ERROR Traceback (most recent call last):

File "starters/icloudpd.py", line 6, in

File "click/core.py", line 1157, in call

File "click/core.py", line 1078, in main

File "click/core.py", line 1434, in invoke

File "click/core.py", line 783, in invoke

File "icloudpd/base.py", line 745, in main

File "icloudpd/base.py", line 1378, in core

File "icloudpd/autodelete.py", line 73, in autodelete_photos

File "pyicloud_ipd/services/photos.py", line 734, in versions

File "pyicloud_ipd/services/photos.py", line 711, in item_type

ValueError: Unknown ItemType

[481] Failed to execute script 'icloudpd' due to unhandled exception!

2024-10-29 15:42:43 ERROR ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues *****

@jinnxu75
Copy link

same problem

@McGerk
Copy link

McGerk commented Oct 30, 2024

slightly different, but probably the same problem:

2024-10-30 08:36:22 ERROR    Failed check for new files files
2024-10-30 08:36:22 ERROR     - Can you log into icloud.com without receiving pop-up notifications?
2024-10-30 08:36:22 ERROR    Error debugging info:
2024-10-30 08:36:22 ERROR    Traceback (most recent call last):
  File "starters/icloudpd.py", line 6, in <module>
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "icloudpd/base.py", line 745, in main
  File "icloudpd/base.py", line 1344, in core
  File "icloudpd/base.py", line 860, in download_photo_
  File "pyicloud_ipd/services/photos.py", line 734, in versions
  File "pyicloud_ipd/services/photos.py", line 711, in item_type
ValueError: Unknown ItemType
[457] Failed to execute script 'icloudpd' due to unhandled exception!
ash: out of range
2024-10-30 08:36:22 ERROR    ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues *****

If I delete my iCloud library and only synchronise new photos, the error no longer occurs. But I don't understand which ‘unknown item’ is now causing the problem? Until a few days ago (before the reauth problem #670), the entire library was synchronised without any problems.

Thanks for any tips and for your hard work!

@Inrrs
Copy link
Author

Inrrs commented Oct 30, 2024

@McGerk I deleted all the downloaded photos. After restarting, I was able to download them completely, but I couldn't sync new photos

@Inrrs
Copy link
Author

Inrrs commented Oct 30, 2024

I set “directory_permissions = 777”, and now I can sync new photos normally. I used to be able to sync without setting it up, it's strange

@chiefspecialk
Copy link

I'm having this same issue and already had my directory_permissions = 777. I re-initialized without issue, any other ideas?

@Inrrs
Copy link
Author

Inrrs commented Oct 31, 2024

@chiefspecialk I also recovered strangely, can only see if the author can discover and fix it

@snufk1ns
Copy link

snufk1ns commented Nov 1, 2024

I run 4 containers for icloudpd, but only one of them have this problem since the reauth issue.

@johnny2678
Copy link

same, I run 3 containers. Only 1 have this problem since the reauth issue.

@AndreyNikiforov
Copy link

i added debugging for itemtype in icloudpd 1.24.2 - let's see what the root cause of the issue is (post output here pls)

@McGerk
Copy link

McGerk commented Nov 2, 2024

@AndreyNikiforov

That's what I got:

2024-11-02 22:30:37 ERROR Failed check for new files files 2024-11-02 22:30:37 ERROR - Can you log into icloud.com without receiving pop-up notifications? 2024-11-02 22:30:37 ERROR Error debugging info: 2024-11-02 22:30:37 ERROR Traceback (most recent call last): File "starters/icloudpd.py", line 6, in <module> File "click/core.py", line 1157, in __call__ File "click/core.py", line 1078, in main File "click/core.py", line 1434, in invoke File "click/core.py", line 783, in invoke File "icloudpd/base.py", line 745, in main File "icloudpd/base.py", line 1344, in core File "icloudpd/base.py", line 860, in download_photo_ File "pyicloud_ipd/services/photos.py", line 735, in versions File "pyicloud_ipd/services/photos.py", line 710, in item_type ValueError: Cannot find itemType in {'resJPEGThumbFingerprint': {'value': 'Ae0BrEg8qvkjzKfawuHRia78WSk4', 'type': 'STRING'}, 'resJPEGLargeWidth': {'value': 3024, 'type': 'INT64'}, 'filenameEnc': {'value': 'SU1HXzczMjYuSEVJQw==', 'type': 'ENCRYPTED_BYTES'}, 'resJPEGLargeHeight': {'value': 4032, 'type': 'INT64'}, 'resJPEGMedRes': {'value': {'fileChecksum': 'Aewr7BOau2TpJl32KBjv/4aaIgLu', 'size': 1681991, 'wrappingKey': 'KPZoQZT8EacCZigbEvG58Q==', 'referenceChecksum': 'AQFO4YsUsAttFI7qTlTpKZCT/cWz', 'downloadURL': 'https://cvws.icloud-content.com/B/Aewr7BOau2TpJl32KBjv_4aaIgLuAQFO4YsUsAttFI7qTlTpKZCT_cWz/${f}?o=AnWy0shH9pU2g-_t_uqJ4eBNRuEIR2UefeoT097mxDlo&v=1&x=3&a=CAog_n_kNFFRMMCTKsbpq9FrF1BB6VqWGP2G5_1xisDa-mkSaxDwgqb2rjIY8N-B-K4yIgEAUgSaIgLuWgST_cWzaiVIvxrDyV0uDuvrwABJC0iPN19k1HPxK0U510qhqlYJnDfvUG8FciWZfaOdRqp05Ksidb9xBZExdoUpypwfz7vcAGpC3pYN_P8iVmgb&e=1730586636&fl=&r=82b00896-1474-4f06-8935-798ad23fd911-1&k=KPZoQZT8EacCZigbEvG58Q&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=162&s=ARcUmfxBS0hFBJbGq0dmKYl5htU'}, 'type': 'ASSETID'}, 'resJPEGLargeFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'originalOrientation': {'value': 6, 'type': 'INT64'}, 'resJPEGMedHeight': {'value': 2048, 'type': 'INT64'}, 'resOriginalRes': {'value': {'fileChecksum': 'AZB4OCgIas5KpiyncYDNpfQ7x3XE', 'size': 3100245, 'wrappingKey': 'xpvjNy8Nb+0ZCY/khWO9Mg==', 'referenceChecksum': 'AYrcnHgV949U0tSOFupvMiDAl48J', 'downloadURL': 'https://cvws.icloud-content.com/B/AZB4OCgIas5KpiyncYDNpfQ7x3XEAYrcnHgV949U0tSOFupvMiDAl48J/${f}?o=Api5CanlVpTca6rQQ37nHM5M3umd1wRV9_u0-_DRa44I&v=1&x=3&a=CAogZCBmHG96RS_0n4D3FtjDitb0Xh1S1gNukr9AsUi7KTcSaxDwgqb2rjIY8N-B-K4yIgEAUgQ7x3XEWgTAl48JaiXjBRjSYb1tA-8cNghGzgrXUH-qn7r4R90yKqtR9DKCWMi4-PRfciW6ZeqxFIi5rgIf5ImWY_9T0phfV8Nns0pYr3WqYsveLDsztwEn&e=1730586636&fl=&r=82b00896-1474-4f06-8935-798ad23fd911-1&k=xpvjNy8Nb-0ZCY_khWO9Mg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=162&s=EGKtVh-X9LMIoBCcD9v2G9DQItc'}, 'type': 'ASSETID'}, 'resJPEGMedFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'resJPEGLargeRes': {'value': {'fileChecksum': 'AWExUSKnpYKJMrq+LC0K2muFw8eX', 'size': 4643104, 'wrappingKey': 'moFaUX5QafE+nzWgPOfOYg==', 'referenceChecksum': 'AdaijqruUZO2ko6kvekEc5d3fTD8', 'downloadURL': 'https://cvws.icloud-content.com/B/AWExUSKnpYKJMrq-LC0K2muFw8eXAdaijqruUZO2ko6kvekEc5d3fTD8/${f}?o=AlnRLf0EwmFTbmSiKQnFQUfWLZ576TscnE6jX2gnoerY&v=1&x=3&a=CAog33qA0yP2bTJhmX_IRFAUqjpP_1eFeTS2aRlEFn7e2iwSaxDwgqb2rjIY8N-B-K4yIgEAUgSFw8eXWgR3fTD8aiXR3zuMxE35jfo4You-S7IclgwxsiTPzGc-BNO5e77FQoiUmQBHciUgzLcDbGRmuzmY6LQe4tx8qlLMKwXSu1Mpy12CqWKUUzkGfQm2&e=1730586636&fl=&r=82b00896-1474-4f06-8935-798ad23fd911-1&k=moFaUX5QafE-nzWgPOfOYg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=162&s=FrjdX8ILjP9ipYrZZxux2cTj94w'}, 'type': 'ASSETID'}, 'resJPEGThumbHeight': {'value': 480, 'type': 'INT64'}, 'resJPEGThumbWidth': {'value': 360, 'type': 'INT64'}, 'resOriginalWidth': {'value': 4032, 'type': 'INT64'}, 'resJPEGThumbFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'dataClassType': {'value': 0, 'type': 'INT64'}, 'resOriginalFingerprint': {'value': 'AZB4OCgIas5KpiyncYDNpfQ7x3XE', 'type': 'STRING'}, 'resJPEGMedWidth': {'value': 1536, 'type': 'INT64'}, 'resJPEGThumbRes': {'value': {'fileChecksum': 'Ae0BrEg8qvkjzKfawuHRia78WSk4', 'size': 135368, 'wrappingKey': 'nm1XbPHud/XrqklKh4gcPg==', 'referenceChecksum': 'ASYxGMZOu0vORasttLc6Vxca3kzU', 'downloadURL': 'https://cvws.icloud-content.com/B/Ae0BrEg8qvkjzKfawuHRia78WSk4ASYxGMZOu0vORasttLc6Vxca3kzU/${f}?o=Ak-wWJbYXmLuXNLZe-y_a6z2s0JBgC2BY_WvKh0ynTqf&v=1&x=3&a=CAog8ufHDl91xeGzPih4ALuLY1W6YLhvHdkkUNBzOFBsOVMSaxDwgqb2rjIY8N-B-K4yIgEAUgT8WSk4WgQa3kzUaiW25P2wuv_el2-7eMCqK2BDJfHlVw5m1q5fwGntXFu9LSRbcvOkciVhFrs1G-Fm5lJ9L-BKPsmGv8jD0QpN4HQCADxEeGbG49B0EfhM&e=1730586636&fl=&r=82b00896-1474-4f06-8935-798ad23fd911-1&k=nm1XbPHud_XrqklKh4gcPg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=162&s=nFKmjX7LDj__gmPf0exhzk8Av3o'}, 'type': 'ASSETID'}, 'resOriginalFileType': {'value': 'public.image', 'type': 'STRING'}, 'resOriginalHeight': {'value': 3024, 'type': 'INT64'}, 'resJPEGLargeFingerprint': {'value': 'AWExUSKnpYKJMrq+LC0K2muFw8eX', 'type': 'STRING'}, 'resJPEGMedFingerprint': {'value': 'Aewr7BOau2TpJl32KBjv/4aaIgLu', 'type': 'STRING'}} [456] Failed to execute script 'icloudpd' due to unhandled exception! 2024-11-02 22:30:37 ERROR ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues *****

Thanks alot!

@boredazfcuk
Copy link
Owner

boredazfcuk commented Nov 2, 2024

New container pushed to Docker hub with v.1.24.2

Edit: Looks like somebody already upgraded :D

@Tiger770
Copy link

Tiger770 commented Nov 2, 2024

I upgraded and checked the log, and it still fails. Here's the error it output for mine:
2024-11-02 18:04:02 DEBUG /home/user/iCloud/2018/08/15/IMG_1108.JPG already exists 2024-11-02 18:04:02 DEBUG /home/user/iCloud/2018/08/13/IMG_1105.JPG already exists 2024-11-02 18:04:02 ERROR Failed to download new files 2024-11-02 18:04:02 ERROR - Can you log into icloud.com without receiving pop-up notifications? 2024-11-02 18:04:02 ERROR Error debugging info: 2024-11-02 18:04:02 ERROR Traceback (most recent call last): File "starters/icloudpd.py", line 6, in <module> File "click/core.py", line 1157, in __call__ File "click/core.py", line 1078, in main File "click/core.py", line 1434, in invoke File "click/core.py", line 783, in invoke File "icloudpd/base.py", line 745, in main File "icloudpd/base.py", line 1344, in core File "icloudpd/base.py", line 860, in download_photo_ File "pyicloud_ipd/services/photos.py", line 735, in versions File "pyicloud_ipd/services/photos.py", line 710, in item_type ValueError: Cannot find itemType in {'resJPEGThumbFingerprint': {'value': 'Ae4nX/ky6w9xX7gjzDUm1kN9bONe', 'type': 'STRING'}, 'filenameEnc': {'value': 'SU1HXzExMDMuSlBH', 'type': 'ENCRYPTED_BYTES'}, 'resJPEGMedRes': {'value': {'fileChecksum': 'AY1zJbnTv4LTyGuUYKqfFJqbkCuH', 'size': 1167848, 'wrappingKey': 'Ivj5FBsXfbYJWqOMLiRCLg==', 'referenceChecksum': 'AcAD5o0kDzUPGHn0PiPZRenWrAnN', 'downloadURL': 'https://cvws-h2.icloud-content.com/B/AY1zJbnTv4LTyGuUYKqfFJqbkCuHAcAD5o0kDzUPGHn0PiPZRenWrAnN/${f}?o=Am3I2lFdMU-37pzmtLQ768xf3RiR7mSrPr0Oz6f620pm&v=1&x=3&a=CAog6owvmDNVGFKxUX_2S9tClKkyYiYNseIQVxVECzXgHnUSaxDIjvz4rjIYyOvX-q4yIgEAUgSbkCuHWgTWrAnNaiWitq1n5UmUrZOAq0ipG8LnUFsz31CmTvejigjuhOLAFSDBuc9VciXzjMx8zGEqvwZcCTAp7Ip9DMpTqMaBWj2mOoXZPAQszcZZl6ix&e=1730592241&fl=&r=c44c7258-d3ea-4ec8-b39a-d684c9368e81-1&k=Ivj5FBsXfbYJWqOMLiRCLg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=48&s=z50UnxIlj4aAm4VUnmerKZdBEa0'}, 'type': 'ASSETID'}, 'originalOrientation': {'value': 1, 'type': 'INT64'}, 'resJPEGMedHeight': {'value': 1536, 'type': 'INT64'}, 'resOriginalRes': {'value': {'fileChecksum': 'AZ1mn/gHcKNMAiWRhoCQv2gWuxuY', 'size': 3123181, 'wrappingKey': 'Jg31rRADc4zsjQEh0DzE0g==', 'referenceChecksum': 'AbjgAjNVrOpUHKSRLaK2lJ4Jbn+P', 'downloadURL': 'https://cvws-h2.icloud-content.com/B/AZ1mn_gHcKNMAiWRhoCQv2gWuxuYAbjgAjNVrOpUHKSRLaK2lJ4Jbn-P/${f}?o=AnqIsSvO1qoaxXuev2SAst7AfYk5U7sHswWYu4IxrVCx&v=1&x=3&a=CAogEHI2a6YsfLhrGIAPfZgmzBNYUeZ30IoWcUsSGVYeoScSaxDIjvz4rjIYyOvX-q4yIgEAUgQWuxuYWgQJbn-PaiUXItQWTX7t_tq1j6fVsTE6lfR9c1Lm1jWRg_2eTfjXXMF8rUaVciUtth70JrhcKXwqlDmG9PTMoJHkWMvPEksreyCXD_Q-sMAN44i7&e=1730592241&fl=&r=c44c7258-d3ea-4ec8-b39a-d684c9368e81-1&k=Jg31rRADc4zsjQEh0DzE0g&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=48&s=Db8gfWNZDQ4nJTTXToWi3iAGZXI'}, 'type': 'ASSETID'}, 'resJPEGMedFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'resJPEGThumbHeight': {'value': 360, 'type': 'INT64'}, 'resJPEGThumbWidth': {'value': 480, 'type': 'INT64'}, 'resOriginalWidth': {'value': 0, 'type': 'INT64'}, 'resJPEGThumbFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'dataClassType': {'value': 0, 'type': 'INT64'}, 'resOriginalFingerprint': {'value': 'AZ1mn/gHcKNMAiWRhoCQv2gWuxuY', 'type': 'STRING'}, 'resJPEGMedWidth': {'value': 2048, 'type': 'INT64'}, 'resJPEGThumbRes': {'value': {'fileChecksum': 'Ae4nX/ky6w9xX7gjzDUm1kN9bONe', 'size': 82217, 'wrappingKey': 'HKiKQf40y+5F90I+i4PXjw==', 'referenceChecksum': 'AdGFAhpJ5WVmHM/Ho6iMYtsZ1go0', 'downloadURL': 'https://cvws-h2.icloud-content.com/B/Ae4nX_ky6w9xX7gjzDUm1kN9bONeAdGFAhpJ5WVmHM_Ho6iMYtsZ1go0/${f}?o=AmxpKcAZ0li86dwms7cPR3di4h3LDQUCDHTNOWfjwc7t&v=1&x=3&a=CAogFMZDY_5QNM0oy0J9O4jgB197AA7wADwbYrho2k_k0RcSaxDIjvz4rjIYyOvX-q4yIgEAUgR9bONeWgQZ1go0aiV5ogQ3TQVQvuzQMENY6c5X0QHNrKlO80VySKe9JgdB0z_IMSyIciU8lGGKrEan0m39ATOXBvmtshusbtAOdRS7sPBMeUbVHjfyWO4V&e=1730592241&fl=&r=c44c7258-d3ea-4ec8-b39a-d684c9368e81-1&k=HKiKQf40y-5F90I-i4PXjw&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=48&s=HB_6KS23iUqZNqNVytX5b4QeRwc'}, 'type': 'ASSETID'}, 'resOriginalFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'resOriginalHeight': {'value': 0, 'type': 'INT64'}, 'resJPEGMedFingerprint': {'value': 'AY1zJbnTv4LTyGuUYKqfFJqbkCuH', 'type': 'STRING'}} [460] Failed to execute script 'icloudpd' due to unhandled exception! 2024-11-02 18:04:02 ERROR ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues ***** 2024-11-02 18:04:02 DEBUG Web cookie exists 2024-11-02 18:04:02 INFO Web cookie expires: 2024-12-30 @ 16:25:10 2024-11-02 18:04:02 INFO Multifactor authentication cookie expires: 2024-11-30 @ 16:25:23 2024-11-02 18:04:02 INFO Days remaining until expiration: 27 2024-11-02 18:04:02 DEBUG iCloud login counter = 1 2024-11-02 18:04:02 INFO Synchronisation ended at 18:04:02 2024-11-02 18:04:02 INFO Total time taken: 00:05:26 2024-11-02 18:04:02 INFO Next synchronisation at Sun Nov 3 16:58:36 2024

@johnny2678
Copy link

here's my output after updating:

2024-11-02 17:59:26 DEBUG    /home/user/iCloud/2021/07/11/IMG_7883-660453.JPG already exists
2024-11-02 17:59:26 DEBUG    /home/user/iCloud/2021/07/11/IMG_7883.JPG already exists
2024-11-02 17:59:26 DEBUG    /home/user/iCloud/2021/07/11/IMG_7882.JPG already exists
2024-11-02 17:59:26 DEBUG    /home/user/iCloud/2021/07/11/IMG_7882.JPG already exists
2024-11-02 17:59:26 ERROR    Failed to download new files
2024-11-02 17:59:26 ERROR     - Can you log into icloud.com without receiving pop-up notifications?
2024-11-02 17:59:26 ERROR    Error debugging info:
2024-11-02 17:59:26 ERROR    Traceback (most recent call last):
  File "starters/icloudpd.py", line 6, in <module>
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "icloudpd/base.py", line 745, in main
  File "icloudpd/base.py", line 1344, in core
  File "icloudpd/base.py", line 860, in download_photo_
  File "pyicloud_ipd/services/photos.py", line 735, in versions
  File "pyicloud_ipd/services/photos.py", line 710, in item_type
ValueError: Cannot find itemType in {'resJPEGThumbFingerprint': {'value': 'AXEq9i+T0Fohw+bA7/uClnZC5n8o', 'type': 'STRING'}, 'resJPEGLargeWidth': {'value': 2730, 'type': 'INT64'}, 'filenameEnc': {'value': 'SU1HXzc4ODEuSlBH', 'type': 'ENCRYPTED_BYTES'}, 'resJPEGLargeHeight': {'value': 4096, 'type': 'INT64'}, 'resJPEGMedRes': {'value': {'fileChecksum': 'Aa2/3QpNXWlWGViTcg+EVtEYBq4t', 'size': 516390, 'wrappingKey': 'uUoWgPZKX6cyF0QKTQKH2A==', 'referenceChecksum': 'ATmO3n/qmzSBPZ2AkcCuyWxKhVI5', 'downloadURL': 'https://cvws.icloud-content.com/B/Aa2_3QpNXWlWGViTcg-EVtEYBq4tATmO3n_qmzSBPZ2AkcCuyWxKhVI5/${f}?o=Agues38cCvKCbniK-la1H7Hlf3G65qmD2T3UW0aMHfe3&v=1&x=3&a=CAog7QeWPVNIBm9MBHYfEa8tUc4PyOw9WQMMcQyguk3wY90SbRDKwo_3rjIYyp_r-K4yIgEAUgQYBq4tWgRKhVI5aibTY5oW_yLK4ZkOsVAnq0JTsJCVWRb4ngEQCZH3zrp_462bXYkgjnImkmOealD6zfQ-lCTkqSxaH33d0LSDUWYMln1Suv9ZgRHImXSOu34&e=1730588364&fl=&r=d54d1ac3-cc31-46ff-aef6-f8a4cd415615-1&k=uUoWgPZKX6cyF0QKTQKH2A&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=hoKcCbRJH2R_vVnAbXXh9jsVc4o'}, 'type': 'ASSETID'}, 'resJPEGLargeFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'originalOrientation': {'value': 1, 'type': 'INT64'}, 'resJPEGMedHeight': {'value': 2172, 'type': 'INT64'}, 'resOriginalRes': {'value': {'fileChecksum': 'AapCQMMBLvmDyGQ6XLmCacbz40eV', 'size': 942066, 'wrappingKey': 'JALtOdlZRDQe/4s06vpMjg==', 'referenceChecksum': 'AV9DPZDb1YO04tY6/esWbls/AY7Y', 'downloadURL': 'https://cvws.icloud-content.com/B/AapCQMMBLvmDyGQ6XLmCacbz40eVAV9DPZDb1YO04tY6_esWbls_AY7Y/${f}?o=AsE7FyLKRXS4ykmHZVNYqiTu-31IN3MmEL6Ju_ERAjdf&v=1&x=3&a=CAogGrcGn1_qyN2pcexNi1qxZwO57arXKkanaWRir1B0p5gSbRDKwo_3rjIYyp_r-K4yIgEAUgTz40eVWgQ_AY7YaiZz7YyT_p76l1mPSPIUSuNnuTHA6w2ALLFbV7Wr-qZd1rT6i71eNHImoBq_D88wng9kwg_JcIwIh3nc7LVjNNYX_0yKZZMMvswly4pVLCg&e=1730588364&fl=&r=d54d1ac3-cc31-46ff-aef6-f8a4cd415615-1&k=JALtOdlZRDQe_4s06vpMjg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=H76gSbIJZvTUbHV6GfNXzTkaLEc'}, 'type': 'ASSETID'}, 'resJPEGMedFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'resJPEGLargeRes': {'value': {'fileChecksum': 'Adbuj55kVrniibfHavG0rGR3fJOF', 'size': 951377, 'wrappingKey': 'EZPKSup0Gq5DkoW53jGsvg==', 'referenceChecksum': 'ARJfOD9nwktEDLvgRLjBqrI3lQdc', 'downloadURL': 'https://cvws.icloud-content.com/B/Adbuj55kVrniibfHavG0rGR3fJOFARJfOD9nwktEDLvgRLjBqrI3lQdc/${f}?o=AgYtB18VHqZvJ78K-LLAFxN2NASoeRoCkxQIA8XfhFBv&v=1&x=3&a=CAogCcN0QtxAeHUzRUkooEOYuYyX4xD1XO49t5Gw7E-JITcSbRDLwo_3rjIYy5_r-K4yIgEAUgR3fJOFWgQ3lQdcaib71TmQrPCSPXmzo0yme0mzTMGnLbp7fPotl-g57rzKnri5N8yR2nIm0Lwd0X4p7xNagRFDd76MfRBwY7BGTrAGikPytQRaq5AkAZNuAkA&e=1730588364&fl=&r=d54d1ac3-cc31-46ff-aef6-f8a4cd415615-1&k=EZPKSup0Gq5DkoW53jGsvg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=mO0IBHg-RSdmwNyjARUlaFr-X34'}, 'type': 'ASSETID'}, 'resJPEGThumbHeight': {'value': 509, 'type': 'INT64'}, 'resJPEGThumbWidth': {'value': 339, 'type': 'INT64'}, 'resOriginalWidth': {'value': 2730, 'type': 'INT64'}, 'resJPEGThumbFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'dataClassType': {'value': 0, 'type': 'INT64'}, 'resOriginalFingerprint': {'value': 'AapCQMMBLvmDyGQ6XLmCacbz40eV', 'type': 'STRING'}, 'resJPEGMedWidth': {'value': 1448, 'type': 'INT64'}, 'resJPEGThumbRes': {'value': {'fileChecksum': 'AXEq9i+T0Fohw+bA7/uClnZC5n8o', 'size': 50300, 'wrappingKey': 'qrp/YkICizf0lsqVWxOj1Q==', 'referenceChecksum': 'AbNoJ0NZW+TB/xtGjh8aX579LRH8', 'downloadURL': 'https://cvws.icloud-content.com/B/AXEq9i-T0Fohw-bA7_uClnZC5n8oAbNoJ0NZW-TB_xtGjh8aX579LRH8/${f}?o=AqEto4_sAnPxjZDaLdcH0qUuE5-iOHigiWJPJEGwghdL&v=1&x=3&a=CAogVPAYjYFDJq4pMzLeyHtUp5Q9s2NK8dUyvNxqYqCirfISbRDLwo_3rjIYy5_r-K4yIgEAUgRC5n8oWgT9LRH8aib7BaqsCSCr2GBIhZCsjrfTj0bZgU9_302Ha6l2ysSv0OpJQLnVN3ImSqnVtwec5jPWHdVDoSDmpw75mqDZxgnGx9ikgmiSVvOLBnQmZ9M&e=1730588364&fl=&r=d54d1ac3-cc31-46ff-aef6-f8a4cd415615-1&k=qrp_YkICizf0lsqVWxOj1Q&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=AvYEuk1UwreFY76TPH-TsKULaRg'}, 'type': 'ASSETID'}, 'resOriginalFileType': {'value': 'public.image', 'type': 'STRING'}, 'resOriginalHeight': {'value': 4096, 'type': 'INT64'}, 'resJPEGLargeFingerprint': {'value': 'Adbuj55kVrniibfHavG0rGR3fJOF', 'type': 'STRING'}, 'resJPEGMedFingerprint': {'value': 'Aa2/3QpNXWlWGViTcg+EVtEYBq4t', 'type': 'STRING'}}
[478] Failed to execute script 'icloudpd' due to unhandled exception!
2024-11-02 17:59:26 ERROR    ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2024-11-02 17:59:26 INFO     Sending Pushover failure notification
2024-11-02 17:59:27 DEBUG    Pushover failure notification sent successfully
2024-11-02 17:59:27 DEBUG    Web cookie exists
2024-11-02 17:59:27 INFO     Web cookie expires: 2024-12-28 @ 20:13:08
2024-11-02 17:59:27 INFO     Multifactor authentication cookie expires: 2024-11-28 @ 20:13:08

@AndreyNikiforov
Copy link

Thanks everybody for the posts with dumps. Looks like Apple is dropping itemtype field (unclear under what circumstances). We need to update icloudpd to process assets without relying on itemtype

@AndreyNikiforov
Copy link

icloudpd 1.24.3 has a fix for itemtype error.

@johnny2678
Copy link

I upgraded too... but:

2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7885.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7885-327492.JPG deduplicated
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7885-327492.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7884.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7884-205632.JPG deduplicated
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7884-205632.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7883-660453.JPG deduplicated
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7883-660453.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7883.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7882.JPG already exists
2024-11-03 15:13:53 DEBUG    /home/user/iCloud/2021/07/11/IMG_7882.JPG already exists
2024-11-03 15:13:53 ERROR    Failed to download new files
2024-11-03 15:13:53 ERROR     - Can you log into icloud.com without receiving pop-up notifications?
2024-11-03 15:13:53 ERROR    Error debugging info:
2024-11-03 15:13:53 ERROR    Traceback (most recent call last):
  File "starters/icloudpd.py", line 6, in <module>
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "icloudpd/base.py", line 745, in main
  File "icloudpd/base.py", line 1344, in core
  File "icloudpd/base.py", line 860, in download_photo_
  File "pyicloud_ipd/services/photos.py", line 735, in versions
  File "pyicloud_ipd/services/photos.py", line 710, in item_type
ValueError: Cannot find itemType in {'resJPEGThumbFingerprint': {'value': 'AXEq9i+T0Fohw+bA7/uClnZC5n8o', 'type': 'STRING'}, 'resJPEGLargeWidth': {'value': 2730, 'type': 'INT64'}, 'filenameEnc': {'value': 'SU1HXzc4ODEuSlBH', 'type': 'ENCRYPTED_BYTES'}, 'resJPEGLargeHeight': {'value': 4096, 'type': 'INT64'}, 'resJPEGMedRes': {'value': {'fileChecksum': 'Aa2/3QpNXWlWGViTcg+EVtEYBq4t', 'size': 516390, 'wrappingKey': 'uUoWgPZKX6cyF0QKTQKH2A==', 'referenceChecksum': 'ATmO3n/qmzSBPZ2AkcCuyWxKhVI5', 'downloadURL': 'https://cvws.icloud-content.com/B/Aa2_3QpNXWlWGViTcg-EVtEYBq4tATmO3n_qmzSBPZ2AkcCuyWxKhVI5/${f}?o=AuWfvi7YYZKLJqI43Qdp-sK1rIHOFG3vv9fZkQ87EbTg&v=1&x=3&a=CAogdOogQrwFU_HjP5EhpEywiov3cvaRTvJ0w2lauGfYZikSbRCFuaadrzIYhZaCn68yIgEAUgQYBq4tWgRKhVI5aiZzZlvVlq0ght8vQALJEVEY-Dh1EeBLTmTR75juUeplHpWOi790rXIml4PqEo-XBz73KBaljWuJAkHAaUX6Dcf1Ex3uOKqKrPydGQPo5Us&e=1730668432&fl=&r=e75a3864-206c-438d-8f32-646ee73de8be-1&k=uUoWgPZKX6cyF0QKTQKH2A&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=qhptNssuZIZqxL9mHnypLzKImIE'}, 'type': 'ASSETID'}, 'resJPEGLargeFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'originalOrientation': {'value': 1, 'type': 'INT64'}, 'resJPEGMedHeight': {'value': 2172, 'type': 'INT64'}, 'resOriginalRes': {'value': {'fileChecksum': 'AapCQMMBLvmDyGQ6XLmCacbz40eV', 'size': 942066, 'wrappingKey': 'JALtOdlZRDQe/4s06vpMjg==', 'referenceChecksum': 'AV9DPZDb1YO04tY6/esWbls/AY7Y', 'downloadURL': 'https://cvws.icloud-content.com/B/AapCQMMBLvmDyGQ6XLmCacbz40eVAV9DPZDb1YO04tY6_esWbls_AY7Y/${f}?o=AqpM_vj4XStwC1ttMl7HMKGL4-iH20-ERTYDdY6CTgP-&v=1&x=3&a=CAoguD13Zo3eGH1En1daNbg9RtFr-LMngdg25DOJcsowk7sSbRCFuaadrzIYhZaCn68yIgEAUgTz40eVWgQ_AY7YaiZ7N6Wjk3K-gdHlFOMyTsndc7U42WVW337yH1CcT_AYhGJjk_qLM3ImGiy3xsEVH9Bv9oYRj_p3tSUw-0x-qaeNRJxcBRJEH7kfum2O4NM&e=1730668432&fl=&r=e75a3864-206c-438d-8f32-646ee73de8be-1&k=JALtOdlZRDQe_4s06vpMjg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=ALMDWbd3qKskABVPyrb_n7Qcud0'}, 'type': 'ASSETID'}, 'resJPEGMedFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'resJPEGLargeRes': {'value': {'fileChecksum': 'Adbuj55kVrniibfHavG0rGR3fJOF', 'size': 951377, 'wrappingKey': 'EZPKSup0Gq5DkoW53jGsvg==', 'referenceChecksum': 'ARJfOD9nwktEDLvgRLjBqrI3lQdc', 'downloadURL': 'https://cvws.icloud-content.com/B/Adbuj55kVrniibfHavG0rGR3fJOFARJfOD9nwktEDLvgRLjBqrI3lQdc/${f}?o=AnPjWNx3foCv36nq2ohzfZiJGloHGY5hKM__BSjBgU3U&v=1&x=3&a=CAogFfM0WVZzoPOxhrD1EMzAa4UHjIkiVBLeFyvtlhfToXcSbRCFuaadrzIYhZaCn68yIgEAUgR3fJOFWgQ3lQdcaib1R3sLkPlx-PH-JHVkRvQCbTXELEvx7sIYxd-w6fHpVHWae5wCcXImwjvl6YyhIS-dAIIFm-NJNtpRzga1ynNd5cA7RRKCVqfeyHFgMhs&e=1730668432&fl=&r=e75a3864-206c-438d-8f32-646ee73de8be-1&k=EZPKSup0Gq5DkoW53jGsvg&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=8j36kImJxWtw8Fv7u7onp22FRcU'}, 'type': 'ASSETID'}, 'resJPEGThumbHeight': {'value': 509, 'type': 'INT64'}, 'resJPEGThumbWidth': {'value': 339, 'type': 'INT64'}, 'resOriginalWidth': {'value': 2730, 'type': 'INT64'}, 'resJPEGThumbFileType': {'value': 'public.jpeg', 'type': 'STRING'}, 'dataClassType': {'value': 0, 'type': 'INT64'}, 'resOriginalFingerprint': {'value': 'AapCQMMBLvmDyGQ6XLmCacbz40eV', 'type': 'STRING'}, 'resJPEGMedWidth': {'value': 1448, 'type': 'INT64'}, 'resJPEGThumbRes': {'value': {'fileChecksum': 'AXEq9i+T0Fohw+bA7/uClnZC5n8o', 'size': 50300, 'wrappingKey': 'qrp/YkICizf0lsqVWxOj1Q==', 'referenceChecksum': 'AbNoJ0NZW+TB/xtGjh8aX579LRH8', 'downloadURL': 'https://cvws.icloud-content.com/B/AXEq9i-T0Fohw-bA7_uClnZC5n8oAbNoJ0NZW-TB_xtGjh8aX579LRH8/${f}?o=AljRqjjCfazHAyTuvXg-gHBpbfXt7_CVE7k5t5FrTqFa&v=1&x=3&a=CAogB8Y-RyjR0mGiM3xxClalmRmsbTFf6mc4Uddknzx0OTMSbRCGuaadrzIYhpaCn68yIgEAUgRC5n8oWgT9LRH8aiZeJhxFOzw4_BrxUnBSdv1Cs8R0t-hmuUHm6rjavEx9FAWdnQFE8nImPxxEBtD15wUHjRE2fafIn1GZt2MfXzZfZ0eXNFGCs_UOI3bjg9M&e=1730668432&fl=&r=e75a3864-206c-438d-8f32-646ee73de8be-1&k=qrp_YkICizf0lsqVWxOj1Q&ckc=com.apple.photos.cloud&ckz=PrimarySync&y=1&p=41&s=uX8K4IKdAR0wQlXX186mG8Xh6lo'}, 'type': 'ASSETID'}, 'resOriginalFileType': {'value': 'public.image', 'type': 'STRING'}, 'resOriginalHeight': {'value': 4096, 'type': 'INT64'}, 'resJPEGLargeFingerprint': {'value': 'Adbuj55kVrniibfHavG0rGR3fJOF', 'type': 'STRING'}, 'resJPEGMedFingerprint': {'value': 'Aa2/3QpNXWlWGViTcg+EVtEYBq4t', 'type': 'STRING'}}
[478] Failed to execute script 'icloudpd' due to unhandled exception!
2024-11-03 15:13:53 ERROR    ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2024-11-03 15:13:53 INFO     Sending Pushover failure notification
2024-11-03 15:13:53 DEBUG    Pushover failure notification sent successfully
2024-11-03 15:13:53 DEBUG    Web cookie exists
2024-11-03 15:13:53 INFO     Web cookie expires: 2024-12-28 @ 20:13:08
2024-11-03 15:13:53 INFO     Multifactor authentication cookie expires: 2024-11-28 @ 20:13:08
2024-11-03 15:13:53 INFO     Days remaining until expiration: 25
2024-11-03 15:13:53 DEBUG    iCloud login counter = 1

@johnny2678
Copy link

johnny2678 commented Nov 3, 2024

icloudpd 1.24.3 has a fix for itemtype error.

I see - container is still on 1.24.2

I'm sure it will be updated soon.

2024-11-03 16:07:42 INFO     ***** boredazfcuk/icloudpd container v1.0.991_02-11-2024 started *****
2024-11-03 16:07:42 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2024-11-03 16:07:42 INFO     Alpine Linux 3.20.3
2024-11-03 16:07:42 INFO     Python version: 3.12.7
2024-11-03 16:07:43 INFO     icloud-photos-downloader version: 1.24.2
2024-11-03 16:07:43 INFO     Checking for updates...
2024-11-03 16:07:43 INFO      - Current version is up to date
2024-11-03 16:07:43 INFO     Loading configuration from: /config/icloudpd.conf
2024-11-03 16:07:43 DEBUG    Running user id: 0
2024-11-03 16:07:43 DEBUG    Running group id: 0
2024-11-03 16:07:43 DEBUG    Local user: user:1001
2024-11-03 16:07:43 DEBUG    Local group: users:100
2024-11-03 16:07:43 DEBUG    Force GID: false
2024-11-03 16:07:43 DEBUG    LAN IP Address: 172.17.0.28
2024-11-03 16:07:43 DEBUG    Default gateway: 172.17.0.1
2024-11-03 16:07:43 DEBUG    DNS server: 1.1.1.1
1.1.1.1

@McGerk
Copy link

McGerk commented Nov 3, 2024

The update is out. Works great, no more error messages.
thanks!

@Tiger770
Copy link

Tiger770 commented Nov 4, 2024

Confirmed here as well. Updated to the latest version and my system continued on with the download of new files without issue.

@johnny2678
Copy link

Ditto. Confirmed

Thanks to all that worked on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants