7 Replies Latest reply: Jun 25, 2013 6:42 PM by KiwiMac
KiwiMac Level 1 Level 1 (10 points)

I have encountered an odd and frustrating problem.

 

I'm on the road on a 2 month shoot in SE Asia. I shot some work a few days ago whilst in Manila. Imported into a managed library on a WD My Passport drive, backed up to a Vault on a second drive and backed up wirelessly via Backblaze.

 

All was well until last night when I had a chance to do some editing. The entire import from that session now show as referenced files with missing masters! They have little triangles with arrows in the bottom right. You can see them in the viewer etc in Aperture but you cannot work on them, export them, email them or anything - you just get an error message saying "One or more of the selected version has a original file which is still being imported. Please wait for the file copy to complete and try again." or "The selected original image is either offline or not found. Please reconnect it and try again."

 

The drives are connected correctly (and indeed all other images apart from that shoot are fine). I ran Disk Utility and repaired permissions and drives. I switched it off and on again. I rebuilt the library, the data base and permissions. I restored the library from the Vault. None of which made any difference.

 

I searched the wireless backups on Backblaze and the files are missing from there too.

 

Yet a few days ago I emailed some of those files to a friend and edited some of them too, so they were all there and were fine.

 

Can anyone offer any kind of explanation and/or suggestion for recovery?!

 

Thanks

  • 1. Re: Managed Files Become Referenced With No Masters!
    léonie Level 9 Level 9 (51,720 points)

    Have you rebooted your Mac since the import? If not, don't do it, until you checked the temporary directories that Aperture writes to, if it cannot write to the disk.

     

    I suspect, Aperture may not have been able to write to your drive and wrote instead to a temporary directory.

     

    • Launch the Terminal and enter the command:

    open $TMPDIR

     

    This will open a hidden folder in the system with cryptic names, used as a cache by many apps. Look for a folder

    com.apple.Aperture > Temporary items

     

    Are there any image files?

     

    • Also try

    open /tmp

     

    and have a look.

     

    Also look inside the Aperture Library package, if the photos actually have been imported:

    • Select the Aperture library on the external dive, ctrl click it, select "Show package contents"
    • Open the folder "Masters" in the window that will open.
    • Look for the folder 2013 > 06 > the date you imported your Manila photos.

     

    Are they actually in the "Masters" folder?

    • If yes, try to repair the permissions in your library.
    • If not, can you reimport from your card?

     

     

    How are you editing, btw?

    I have seen this error message only in connection with plug-ins and Mt.Lion. It can happen, if the plug-ins are not properly sandboxed and incompatible with the latest system version.

     

    What is your set-up? Aperture version, MacOS X version?

     

    Can you edit the images with Aperture's own adjustments?

  • 2. Re: Managed Files Become Referenced With No Masters!
    KiwiMac Level 1 Level 1 (10 points)

    Hi

     

    Sadly I have restrted the Mac many times since the files were improrted!

     

    I tried that command anyway and got

     

    -bash: /var/folders/z1/sc01v4mn6_x2md3m_f318sl00000gn/T/: is a directory

    Marcuss-MacBook-Air:~ marcopolo10$

     

    All of which means nothing at all to me!

     

    I won't have access to that drive until tomorrow (as I am flying tonight and do not have a USB3 cord handy) so I cannot check the other bit but will do then.

     

    I have to say that if it cannot do what it should do, it would be much more sensible if (a) it told you and (b) it wrote things somewhere permament for you to move later!

  • 3. Re: Managed Files Become Referenced With No Masters!
    léonie Level 9 Level 9 (51,720 points)

    That command is showing you the exact folder you should be looking at.

    /var/folders/z1/sc01v4mn6_x2md3m_f318sl00000gn/T/

     

     

    Your Terminal is behaving differently from mine: for me this command opens a Finder window at that location.

    Does

         open -a Finder $TMPDIR

    work?

     

    If not, try to open that folder from the Finder's "Go" menu.

     

    Finder > Go > Go to Folder ⇧⌘G

     

    Then paste the path above into the textfield.

    /var/folders/z1/sc01v4mn6_x2md3m_f318sl00000gn/T/


     

    All of which means nothing at all to me!

    Your mac a temporary storage area called TMPDIR, where programs can write data to. This area is outside the users home directory, so applications can share it. To prevent malware from guessing the name (security by obscurity) the folders are named in a random way. For each user the symbolic name - the shell variable $TMPDIR  will map to a different folder.

     

    I have to say that if it cannot do what it should do, it would be much more sensible if (a) it told you and (b) it wrote things somewhere permament for you to move later!

    Right - the question is, if Aperture could write anywhere or did not notice that the write failed.

    Did you erase the card, after importing,or could you restore from your card?

  • 4. Re: Managed Files Become Referenced With No Masters!
    Frank Caggiano Level 7 Level 7 (23,830 points)

    Have you tried running the Aperture libray functions ? Open Aperture while holding down the command and option keys. Select repair library.

     

    When you restored from the vault did you keep the original library?

  • 5. Re: Managed Files Become Referenced With No Masters!
    léonie Level 9 Level 9 (51,720 points)

    What about the second part of my question? Could you have a look at the "Masters" folder in the library, before you stowed your drive away in the luggage for your flight?

     

    I would never do that btw. I would not trust the drive with my image files to be save in the checked in luggage. I lost a camera this way and an iPod. And even, if it is not stolen, the luggage may be late to arrive. On some travels I had to wait three days for the luggage to finally arrive. So any thing I really need for taking photos goes into the jand luggage.

  • 6. Re: Managed Files Become Referenced With No Masters!
    léonie Level 9 Level 9 (51,720 points)

    Frank,

    I am glad you are looking into this discussion.

     

    Has the behaviour of the "open" command from the Terminal changed?  

     

    I never got an error message like KiwiMac posted above when using "open path to some folder" from the Terminal in bash

     

    -bash: /var/folders/z1/sc01v4mn6_x2md3m_f318sl00000gn/T/: is a directory

    Marcuss-MacBook-Air:~ marcopolo10$

    Léonie

  • 7. Re: Managed Files Become Referenced With No Masters!
    KiwiMac Level 1 Level 1 (10 points)

    Apologies for the late reply; I have had several days of inadequate internet so could not respond.

     

    I will try and answer all the points below!

     

    1) No, I can't edit the images, email them or indeed anything else

     

    2) The Temp Dir (your second command worked) has no image files in

     

    3) Yes, I have run all the Aperture librarary maintenance functions and sadly no improvement

     

    4) Only the USB 3 cord was in the checked luggage rather than the drive itself. I won't check my cameras or computer kit which is why I am travelling around pretending to airlines that my carry on bag weighs 7kg rather than 17kg...!!

     

    5) When I restored from the vault I copied the original library first. Aperture also kept the old library automatically so now I effectively have 3 libraries!

     

    6) I opened the Library package and searched the Masters folder - the images are not in it.