-
Notifications
You must be signed in to change notification settings - Fork 573
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
[MacOS] Unknown reason authentication error #700
Comments
Does your password have a -B in it by any chance? |
Good question! But it does not. It doesn't contain anything other than letters/numbers. Same for username. |
I did some Googling, and the "Error: No such option: -B" is odd and I could only find one other person who mentioned it. |
To the best of my knowledge, the ever-repeating misleading message | Usage: icloudpd appears on Apple Silicon machines (only?) and has no other negative effects It is somehow caused by the interaction of the Python runtime system (multiprocessing libraries) and Apple's Rosetta machine code translation. |
Interesting. I'm on an Intel MacBook Pro so I don't think in this case it could be that. |
Last time I saw |
not related to ADP - as it is not in use here def main(): .# followed by your code .------------------------------------ |
I went back to the original repo for pyicloud and found it works fine with no errors or the strange "not option -B" error. So before moving on, summary is:
|
I have had the same problem for a while (icloudpd, version 1.14.5 on Apple M2 Pro, Python 3.11.5)
I should clarify that icloudpd still works, the pictures are downloaded as expected, but the output is all mangled and unreadable. Happens both with zsh and bash. I also tried : different |
Resource leak was noticed on mac before (#668), although symptoms were different. |
Thanks @AndreyNikiforov, just tested icloudpd==1.14.2 and the problem is not present. |
I think it has to do with the existence of security keys in the apple-id. I had a similar error and after removing both security keys from my apple-id icloudpd worked again. |
+1 with this issue (icloudpd, version 1.16.2), Apple M2 |
Any plan to support security keys (FIDO2/webauthn)? https://support.apple.com/en-ca/guide/iphone/iph5acc5b28c/ios |
If this error is caused by FIDO security keys being enabled as the 2FA method on the icloud account, then we can close this issue in favor of #583 |
It’s not linked. I have never had FIDO 2FA enabled on my account.
|
I have the same issue on my Intel Mac mini, v 1.16.2, no FIDO security key. |
Upgrade to 1.17.1. Versions prior to 1.17.0 stoped working recently due to changes in Apple API, See #729 |
Overview
I previously used icloudpd without issue. I copied/pasted the command I used last time (don't know which version) that worked but it doesn't work this time in 1.16.2. It fails trying to login with 2FA. I tried many times, and manually logged into iCloud to be sure username and password are indeed correct.
Note in the error it says "Failed to send two-factor authentication code" however I received the SMS and also every one of my Apple devices prompted me asking to Allow/Deny too.
Steps to Reproduce
Expected Behavior
Expected it would work, or give a better reason for failure. Especially unsure what the "Error: No such option: -B" that pops up means.
Actual Behavior
Didn't work
Context
The text was updated successfully, but these errors were encountered: