IPhoto'11 - v9.6.2 - cannot find a description of db schema

In a Ruby script I access the iPhoto database, I get a root_folder uuid from the RKFolder in the Library.apdb :
@root_folder_uuid = @db.execute("SELECT uuid FROM RKFolder table WHERE name = '#{@config["root_folder"]}' AND parentFolderUuid = 'TopLevelAlbums' ").flatten.first
then using this root uuid , I get get all albums uuid within the root folder, from the RKAlbum in the Library.apdb :
albums = @db.execute("SELECT uuid, name FROM RKAlbum table WHERE folderUuid = '#{@root_folder_uuid}' AND albumSubclass = 3 ")
Now , I need to get all photos within each album... when i look at the RKMaster table (where all photos records are stored) .. I don't see what is the relationship attribute between a photo record and an album....
any hints ? thanks for help

No the export functionality is not helpful for me... my script intend to extend what the app 'iPhoto to disk'  ( http://www.iphototodisk.com/ ) 
- get a list of albums and pictures in albums   (   'iPhoto to disk'  export the result on disk in a tree folder hierarchy ) it does it very well ( so I guess they did a reverse engineering .of the iPhotoLibrary)
BUT
in the same script , I want to sync the list and files with an AWS S3 bucket (used by one of my ruby web apps)
I can use 'iPhoto to disk' then export the files and folders to AWS S3..in a 2 steps process but it's an erase and copy over taks in this case , not a synchro
I could live with it , not my customer ...
Whatever , Photos is now coming out... so i'll wait and expect a better support from Apple on accessing Apple apps data....

Similar Messages

  • I downloaded 200  photos, an event folder was created, I could see all the photos and was in the process of editing them when I got a message that iPhoto unexpectedly quit.  I cannot find the photos anywhere on my computer now.  Is there anything to do?

    I downloaded 200  photos, an event folder was created, I could see all the photos and was in the process of editing them when I got a message that iPhoto unexpectedly quit.  I cannot find the photos anywhere on my computer now.  Is there anything to do?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • When I try to open iPhoto, a message comes up saying "What photo Library do you want iPhoto to use?"  I cannot find my photos anywhere now!!! HELP!!!

    When I try to open iPhoto, a message comes up saying "What photo Library do you want iPhoto to use?"  I cannot find my photos anywhere now!!! HELP!!!

    Hi Thomas,
    I actually just found my photo library in the trash?????  I have no idea how they got there, but I have moved them back to the Picture folder and all is well again. 
    Thanks for replying to my post.
    Cheers,
    Kathryn.

  • Concurrent Manager cannot find error description for CONC-System Node

    Hi friends,
    I m facing a problem while doing clustering for oracle EBS.i m using hpux11i with veritas cluster server for oracle DataBase cluster.i am doing 2 node cluster.i have installed oracle 11i apps with 9i DB.thru veritas i am able to do a db cluster failover.now i want to run oracle apps 11i too from both nodes(active/passive).so i configured a virtual IP address with a Virtual Hostname which will move along with the cluster failover.when i configure ora apps tier thru giving it virtual hostname concurrent manager dies with error--Concurrent Manager cannot find error description for CONC-System Node. i tried many things but unable to come up with a solution. pls help.
    regs
    Satish

    Please post the contents of your hosts file here.
    Is FND_NODES table populated correctly? Please run AutoConfig and make sure it completes successfully.
    Why are the Concurrent Managers Failing with 'CONC-System Node Name not Registered" Error After Applying Patch 6461517? [ID 1108452.1]
    OPP and SFM Managers do not Start [ID 1425409.1]
    Thanks,
    Hussein

  • Because I have deleted photos, Iphoto gives error that it cannot find the photos

    Because I have deleted photos in my albums, Iphoto gives an error for each file saying it cannot find the file. Is there a way to stop it from looking for deleted pics?

    Are you running a "referenced" library?
    If you are did you delete the source photo via the Finder and not from in iPhoto?  It sounds as if you did.  If that's the case then drag the thumbnail to the Apple Trash Bin and empty it.  That will stop the error message. 
    If you're running a managed library and deleted the original file via the Finder that's the reason.  The same fix applies.
    WARNING:  Never delete a photo that's in the iPhoto library via the Finder. That damages/corrupts the library as you've experienced.
    OT

  • My upgrade of iPhoto has not worked and cannot find my photos, any advice?

    Hi there
    I was trying to find out why my photostream was not working, ie I could not see images taken on my iphone 4S on my macbook. I looked into it and it seems my iphoto was an old version so I needed to upgrae it via the App Store (cost me around GBP 10.00) I followed all the instructions but the new version of iphoto does not seem to have located my images and I get the whirling circle in the centre of the screen (as it if it is waiting to do soemthing). This has gon on for days. I have shut down and restarted but nothing has happend. I am am sure my photos must still be on my Macbook but I cannot see them.
    Has this happened to anyone else?
    Any advice would be gratefully appreciated.
    Kind Regards
    S

    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • I updated today to 10.8.5 and I have iPhoto 8.  I now cannot find all of my pictues.  Help!

    I updated my iMac today to 10.5.8 and was currently using iPhoto 8.  Now I can't find many of my pictues.  Some are in iPhoto but many of my files are missing.  Help!

    Your Heading question does not relate to your actual post.   Do you have 10.8.5 OR 10.5.8.
    If the former, you may need to update/ upgrade iphoto.   Also, it is best practice to ask questions in the columns that naturally relate.  iPhoto questions belong to iLife > iPhoto.

  • When I send a photo from iphoto through e mail I cannot find a record in the sent box.  Where is the record of the sent photo?

    Where is the record of an e mail I send using i photo share?  It isn't in the 'sent' box of my e mail account

    What I am missing is the sharing history in iPhoto.
    It's hidden and buried in the Info drawer for the photo.
    And there's no way to search for those photos that have been emailed.  If you want a sent copy BCC yourself on every email you send out.
    OT

  • IPhoto 9.6 on Yosemite cannot find Entourage.

    Entourage no longer appears in the list of mail program under iPhoto > Preferences > Email photos using ... since downloading iPhoto 9.6,
    The only Option here is "Mail".
    How do I add Entourage to the options list?

    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - from the resulting first aid window repair permissions and if necessary rebuild your database
    LN

  • Where can I find the descriptions of Permision Schema Elements

    I can not fully understand the permisions in permission object.
    example:
    display->duration->minInclusive ?
    display->devicetype ?
    I do not know what theese fileds mean. Would you please help me for a reference doc?
    Technical reference does not include theese exlanations only listing the fields and schema.

    A full description of the permissions is in the User Manual (section 11.1 Permissions).  As you noted a fromal grammar (RNG) for the permisions XML is in the Tech Ref.
    (note: there is no "minInclusive" element in any of the permissions)

  • With Upgraded 9.3 cannot find photo file

    Just upgraded to iPhoto 9.3 and had the photo file automatically upgraded.  I can open the app with the iPhoto icon.  But I cannot find the photo file.  And cannot do either from another computer on my network.  All that shows is the app icon.  Where are the photos now?

    Where they always were - in the iPhoto Library. The .3 update changed nothing in that respect.
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • Cannot find out which subscription I have cannot c...

    Please help me as I have about a subscription which is not working but I cannot find any description of which subscription it actually is!!! - in account settings - in order history!!  It just says " subscription $16 credit" no other information. I cannot find out which countries I can ring all I am trying to do is call the UK from Australia and both mobile and landline drops out immediately, when I call the landline IT COMES UP AS CALLING MOBILE - BUT I AM NOT CALLING THE MOBILE NUMBER!  This is an extremely frustrating service.  I am also very annoyed that my credit is dwindling away and now down to $13 and I have not made any calls????

    Your case, you get an instance:
    public void myMethod(Super obj) {
      // obj is suposed to be a SubA or SubB instance
      // both derived from Super
      // using instanceof...
      if(obj instanceof SubA)
      else if(obj instanceof SubB)

  • My IPhoto library is gone and I cannot find it. I have found an earlier version witha few photos but the big one is gone. Any ideas?

    My IPhoto library is gone and cannot be found. There is an IPhoto in Applications marked "original". I can find the one I'm looking for using Time Machine but when I try to open it it says that it cannot be opened as there is a newer version installed. Any help would greatly be appreciated:-)

    Download and use  Find Any File  to search for the file "Library6.iPhoto" which is in every iPhoto Library package. If you find more than one check both to see if one is your missing library.
    OT

  • I cannot find my iPhoto upgrader in Finder...I was told to go to the Go menu and click on Utilities...this is not an offered option...and nothing comes up in the search box...

    I cannot find my iPhoto upgrader in Finder...I was told to go to the Go menu and click on Utilities...this is not an offered option...and nothing comes up in the search box...I have upgraded to OS X Yosemite, downloaded the iPhoto app to go with it, and the iPhoto upgrader...just can't find the upgrader...

    In the finder applications folder ==> Utilities  --  double click the iphoto library upgrader and then launch iphoto 9.6.1
    iPhoto '11 or later: About the Library Upgrader - Apple Support

  • I have 2 iphoto libraries but one is lost, missing, cannot seem to find it... tried an apple care person - they were no help - we use Time Machine for external backup... but cannot find my older iPhoto library! I desperately need some help!

    I have recently had something really odd happen within iphoto.  My photos from May-Oct 2013 appeared to be missing from my primary Iphoto library.
    last night I was trying to find any additional Iphoto libraries on my Imac... I could not find them... but then somehow the May-Oct 2013 library showed up and now I cannot find the "current" primary Iphoto library.   I sought help from apple care today but no solutoin from them after 2 hours trying.  I have timemachine that backs up my Imac each day to an external hard drive.   When I open Iphoto while holding down the "option" key - it lets me choose which Iphoto library... but only (1) library comes up...  I can't figure out what happened - but it seems that I must have more than one Iphoto library because yesterday I was able to see all my photos except the "gap in dates" from May-Oct 2013.  Today - I can only open a Library called Iphoto2014... and it contains the photos from the gap in dates.  I can't "see" any other options to open photos... but just yesterday there appeared to be a different library available.
    Any advice or steps i should take to locate my missing photos - would be soooooo much appreciated.

    I have recently had something really odd happen within iphoto.  My photos from May-Oct 2013 appeared to be missing from my primary Iphoto library.
    last night I was trying to find any additional Iphoto libraries on my Imac... I could not find them... but then somehow the May-Oct 2013 library showed up and now I cannot find the "current" primary Iphoto library.   I sought help from apple care today but no solutoin from them after 2 hours trying.  I have timemachine that backs up my Imac each day to an external hard drive.   When I open Iphoto while holding down the "option" key - it lets me choose which Iphoto library... but only (1) library comes up...  I can't figure out what happened - but it seems that I must have more than one Iphoto library because yesterday I was able to see all my photos except the "gap in dates" from May-Oct 2013.  Today - I can only open a Library called Iphoto2014... and it contains the photos from the gap in dates.  I can't "see" any other options to open photos... but just yesterday there appeared to be a different library available.
    Any advice or steps i should take to locate my missing photos - would be soooooo much appreciated.

Maybe you are looking for

  • Creating File objects from all files in a folder.

    Hi, I'm not too brilliant of a programmer, so this may be an obvious one that I could find in the API. My goal is to compare files for similarities and then give some output, that's not too important. My question is: How do I create an array of File

  • Photoshop CS5 Performance Problems with Optional Extension Plug-ins Installed

    If you installed any of the Optional Extension Plug-ins in Photoshop CS5 (they aren't a part of a default installation of Photoshop CS5) - we determined that some users have had serious performance issues due way these Optional Extension Plug-ins wer

  • Issue with Temse File status

    Hi Expert, We built an interface using PU12 and we have an issue with the TEMSE file created. When we run the interface on background, the temse file has the status ''IS BEING WRITTEN'' instead of '' CLOSED'' and we are missing data on the file. The

  • Apple TV Does Not Sort Artists The Same As iTunes

    I'm having an issue I hope somebody can tell me how to get around. Many CDs I import (and some songs purchased on iTunes) will have a songs on them with a "featured" aritst. So, for instance ... instead of the artist for the particular song being "R.

  • Adobe Aftereffects crashing at random intervals

    Hi, My colleuges Adobe CS4 Aftereffects is crashing at random intervals while using the program. I need to end multiple instances of aftereffect.exe and also the cs4 application before I can reload the program and carry on working with it. Any sugges