-
Notifications
You must be signed in to change notification settings - Fork 174
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
TypeError: expected str, bytes or os.PathLike object, not NoneType #18
Comments
Hi, That error is to be expected. The Python application which runs inside my container is generating the error. I'm not sure why it generates this error as I'm not a Python expert, but it doesn't seem to affect anything. That's why I add the:
line to the log file. Is it not downloading the photos in your photo stream? |
Actually,.. I've just worked out why this issue is happening and amended the code to fix it. New code has been built on Dockerhub and I've pushed new ARM32/ARM64 images too. If the problems remains, just update this issue and I'll take another look at it. |
thank you |
@boredazfcuk What was the problem and how it was fixed? Same issue reported icloud-photos-downloader/icloud_photos_downloader#175 |
The issue was due to me not specifying the I created a function that had the sole purpose of generating a 2FA cookie (not performing the download) and the command that generated the cookie was basically:
I expected this to generate the cookie and then exit. It partially worked, as it would create the cookie after completing the 2FA process, but then it would throw the error. The next step was to generate my cookie like this:
However, I found that icloudpd would actually create the full directory structure for my Photo Stream in /tmp/test... So like
Which wasn't what I wanted. The command then evolved into:
So that the empty file structure would just get thrown into the bit bucket. The final version I settled on was actually this (I'm surprised it worked to be honest):
Adding the |
Hi, when authenticating I am getting this weird error
please help
The text was updated successfully, but these errors were encountered: