RhetTbull / osxphotos

Python app to work with pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata.
MIT License
1.99k stars 94 forks source link

Potential issue with download-missing (not sure if related to Big Sur) #313

Open narensankar0529 opened 3 years ago

narensankar0529 commented 3 years ago

So I just updated to Big Sur, and coincidentally there were a few pictures that hadn't been download to Photos yet. My script first runs to check if there are any missing files and downloads them. And then does a second export to export the entire library.

And the logs reported a failure as attached. Not sure if this is related to Big Sur or not. Or related to exiftool not being found correctly log.txt

RhetTbull commented 3 years ago

I think this is the same issue as #311. Working on fix now.

RhetTbull commented 3 years ago

@narensankar0529 Looking over the logs again I think this may be two separate issues. The second failure appears to be due to the exiftool issue fixed in #311. The first however appears to be an issue with the --download-missing.

Are you still seeing this issue when downloading missing photos?

narensankar0529 commented 3 years ago

It is not clear. I think it was a race condition where the export ran right after the pictures were taken on an iPhone. So I have not seen this again, but it is hard to replicate since I think this happened right at the moment when Photos updated the database and the pictures were being downloaded and the export ran.