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
Password and 2FA works perfectly and I have iCloud Web access enabled .
But it fails with these error messages. Any idea what I am doing wrong here?
Thanks in advance!!
2024-08-22 00:17:15 INFO Great, you're all set up. The script can now be run without user interaction until 2FA expires.
You can set up email notifications for when the two-factor authentication expires.
(Use --help to view information about SMTP options.)
2024-08-22 00:17:17 DEBUG Looking up all photos and videos from album All Photos...
2024-08-22 00:17:17 INFO Downloading 1152 original photos and videos to /data ...
0%| | 0/1152 [00:00<?, ?it/s]Traceback (most recent call last):
File "starters/icloudpd_ex.py", line 122, in <module>
File "starters/icloudpd_ex.py", line 118, in main
File "click/core.py", line 1157, in __call__
File "click/core.py", line 1078, in main
File "click/core.py", line 1688, in invoke
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 738, in main
File "icloudpd/base.py", line 1333, in core
File "icloudpd/base.py", line 841, in download_photo_
IndexError: Replacement index 1 out of range for positional args tuple
[2] Failed to execute script 'icloudpd_ex' due to unhandled exception!
root@podman:~#
The text was updated successfully, but these errors were encountered:
I suspect that --folder-structure {:%Y}/{:%Y-%m-%d} is the issue. {} selects parameter and only one parameter is passed to formatting function, but your formatting string asks for two. You can use --folder-structure {:%Y/%Y-%m-%d} instead.
This is a way to test formatting in any online python interpreter:
Password and 2FA works perfectly and I have iCloud Web access enabled .
But it fails with these error messages. Any idea what I am doing wrong here?
Thanks in advance!!
Launch
Running latest
Error Message
The text was updated successfully, but these errors were encountered: