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
FileNotFoundError: [Errno 2] No such file or directory (file_size = os.stat(download_path).st_size) #338
Comments
Also experiencing this with photos downloaded by a previous version of the application - more to do with a change in the way they're named (I am downloading originals in every case):
well, this is true, |
@GuusDeGraeve, @4gra what version of the app are you running? How are you running it (source code, docker, exe)? Is that error persistent (reproducible all the time on your set up)? Did you try prior/other versions and/or other methods? A lot of questions, but I hope they help narrowing down the problem. |
It's been two years since I created this issue and I stopped using this package since I kept getting the error and there was no response on my issue here. But to answer your question, I remember I was using the package within a docker container. I was using the latest version at the moment I created the issue (I don't remember an actual version number). I believe the issue I created explains the problem pretty well and even pinpoints a possible cause. It could as well be that the issue I faced at the time was fixed in later versions, I can't test it at the moment. |
It's the latest version from Persistent on repeated runs (5 or 6?) on the same file; then as I moved individual files aside, it would pick a new 'victim' and crash in the same way. Shortly after that I wrote a small shell script to rename all the I back up two libraries, both in the multiple thousands. Another observation is that I normally run it with I've only ever downloaded originals; first explicitly using the command line flat, and now implicitly since the default behaviour changed. And once I'd renamed all files their base filenames (i.e. no longer containing The original version didn't ever have this problem, but it's very old dating from 2018-2019. I upgraded to use the new 2FA methods with the iCloud library.
I'm happy to try a few things artificially (other versions etc) by renaming files back, but is there anything particularly useful to try? |
@4gra pls check 1.8.1 and reopen this task if regression was not fixed. |
Upgraded to 1.8.1, did |
Overview
Script suddenly crashes on photos of a specific type (whitagram). After downloading hundreds of photos, the script suddenly crashes (and keeps crashing) on a specific photo created with the Whitagram app (an app that adds white borders around the photo). I think it occurs when you have size set to "medium" and specifically when a version of the file does not have a medium size or something? It seems to only happen with these Whitagram photos, when I try to remove this photo from iCloud, it just crashes at the next Whitagram photo.
Steps to Reproduce
Expected Behavior
The script should not crash in this case, and even if a photo fails, I think it should be catched and just skip the photo to continue with the next one.
Actual Behavior
The script completely crashes.
The text was updated successfully, but these errors were encountered: