News for hackers. Stuff that matters.
Re:MacOS Finder Shows Zero-Size Folders by PakG1 on Monday February 25, 2019 @02:01AM (#19243621)
My wife suddenly lost a ton of photos in her Photos app. I tried finding them, and eventually saw they still existed in the file system, but not in the app. No idea why. Continued researching this. After a few days, they disappeared from the file system too. Makes no sense. Running Sierra. So confused.
Re:MacOS Finder Shows Zero-Size Folders by MilaM on Monday February 25, 2019 @03:00AM (#19243884)
This happened to me too, independently on two Macs with different Photos libraries. It's a very strange bug where after a library migration Photos.app will delete some pictures and videos from the Masters folder inside the library. The deleted files still show in the UI because the app uses seperate thumbnails for that. But the original files are gone. I only noticed it because some videos where not playing anymore and also exports of the files did not work.

I tried to narrow down what went wrong. Launching a previous state of the library on Mojave from a backup deleted the same files with the following output in Console:

Photos Import failed during master recovery for path: 2018/10/08/20181008-093231/28f7a73f-1737-4pb6-9275-1c35dwb8a30a.JPG, Error Domain=com.apple.photos.reddwarf.ingest Code=1 "Removed version uuid: Gvj78Pses+eRzULLoWJ83g because imported master was either removed, or chosen as the candidate master during de-dup" UserInfo={NSLocalizedDescription=Removed version uuid: Gvj78Pses+eRzULLoWJ83g because imported master was either removed, or chosen as the candidate master during de-dup}

Re:MacOS Finder Shows Zero-Size Folders by latchkey on Monday February 25, 2019 @02:14AM (#19243677)
Try this (after doing a full backup of your wife's ~/Library folder):

Option-Command-O on the /Applications/Photos.app. It'll go into repair library mode and might fix things.

Re:MacOS Finder Shows Zero-Size Folders by PakG1 on Monday February 25, 2019 @02:55AM (#19243865)
Yeah, tried that already, no dice. :(
Re:MacOS Finder Shows Zero-Size Folders by saagarjha on Monday February 25, 2019 @05:13AM (#19244497)
I saw this happen with me as well. For some reason Photos somehow completely lost track a couple years of recent pictures. No idea what happened here.