How to prevent iPhoto from getting corrupted?

This is the second time in the last couple months where I've had to rebuild/repair my iPhoto library, i.e. I get prompted at iPhoto startup that the library cannot be read, with the suggestion to rebuild or repair my library by starting with Command + Option.  While I've found plenty of links on how to rebuild/repair the library, my concern is that it's not addressing the root cause.  
1. What are the reasons a library would be corrupt?  Is it because the iPhoto database doesn't match with what's in the filesystem?  If so, what specifically doesn't match - file permissions, file properties, etc.?  Or, is it something with the filesystem itself that's corrupted, causing iPhoto to not be able to find a file(s)?
2. How can I prevent corruption in the future?
I was able to rebuild/repair or restore from Time Machine backup, but again, my concern is without knowing the root cause, I could be losing data and not realizing it, or even propagating errors in the Library.
I'm using OS X ver. 10.8.3.  iPhoto 11, ver. 9.4.3 (720.91).

iPhoto is built around an SQL database. This db is liable to damage if it's interrupted while writing to the db. What can cause this? A crash or force quit are the most likely. Other possibiities: if the db is sitting on an inappropriately formatted disk, if the disk it's on is damaged and so on.
As you've had to rebuild/restore twice in a short space of time (by comparison, I've been using iPhoto since v1 and I've never had to) I would suspect that the fix isn't fixing and the damage is also present in the back up.
In your case I would make a new database and here's how to do it with the minimum interruption:
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.  

Similar Messages

  • How to prevent iPhoto from importing automatically

    There are times I want to load photos onto my computer but do not want iPhoto to import them.
    How can I prevent iPhoto from importing photos automatically when photos are loaded onto my computer?
    Thanks for your help and suggestions.

    Matt,
    That's quite a full trash can. To clarify, we're talking about the iPhoto Trash at the bottom of the Source Pane (left column) and not the regular Finder trash can that lives on your Desktop, right? If there are photos you wish to save in the iPhoto trash, drag them to the word Library at the top of the Source Pane and they will be restored to the library. When you're ready you can try to empty the trash: from the menu bar choose iPhoto > Empty trash. However, you may have trouble with so many files at once. If the trash won't empty you'll have to move the files back to the library and delete them in smaller batches (say 500) until they're all gone.
    Where was the iPhoto library recovered photos folder? Did you see it in the Source Pane of the iPhoto window, or was it inside the iPhoto Library folder in the Finder?
    Regards.

  • How to prevent dust fr, How to prevent dust from getting inside the ports and earpiece?

    So I just got my iPhone 5 a coupe days ago and I just can't seem to keep dust from getting inside my phones port and speaker holes and also the earpiece. I have a case on the phone but obviously it doesn't protect those areas. I also bought a can of canned air but that only works when I used it at that moment but as soon as I'm out the house dust starts getting in those areas. I also had this problem with my precious iPhone 4. Can someone help??

    The only thing you can really do is get a case that protects the ports. Lifeproof, Otterbox (to a lesser degree) and Ballistic come to mind.
    I carried a 4 and a 4S for quite some time with no case at all with few problems as a result of dust. Every once in a while, I would get a dust bunny in the headphone jack. Had to clean that out with a toothpick. Clean the dock connector with a clean dry toothbrush.
    I have an Otterbox defender on my 5. Haven't had it long enough to swear to how well it will do as far as dust goes, but so far, so good. The re-designed speaker/mic grille should help some.

  • How to prevent Cell from getting focus when I click on a cell in JTable

    Hi,
    I have a new problem which I did not have when using jdk1.3. I have a non editable JTable. Now whenever I select a row the row gets highlighted - which is ok but at the same time the cell on which I click ( to select the row ) also gets focus.
    Previously I used to extend JTable and override the isManagingFocus method to return false. But now it doesnt seem to work
    What should
    Thanks
    --J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, I'm still using JDK1.3 and I don't get the behaviour you describe.
    When isManagingFocus is true then using the tab key will cause focus to move from cell to cell within the JTable and focus will never leave the JTable.
    When isManagingFocus is false then using the tab key will cause focus to move the the JTable to the next component on the JFrame.
    In both cases once focus is on the JTable an individual cell is always highlighted to indicate it has focus.
    The question is if your program only cares which row has been selected, why do you care if an individual cells appears to have focus?

  • How to Prevent CacheStore from Getting Called when Loading from DB

    Hi,
    I have a Cache with WriteBehind enabled. The issue is when I'm initializing the Cache from its Persistence Store (SQL Server 2005) I dont want it to call its CacheStore implementation. In the coherence book written by Alexander Seovic it recommends using another Cache to control writing to different Caches, sort of like a global flag, but that will just work in a WriteThrough scenario and not in a WriteBehind. One of my theories is to use a MapTrigger in which when i'm loading from the db I intercept the call and tell the object not write to the DB, maybe through writing directly to the Backing Map though i'm not sure if writing to the BackingMap prevents the Calling of the CacheStore. Please let me know. Tks.

    Hi user13402724,
    The documentation covers a scenario like this here: http://download.oracle.com/docs/cd/E14526_01/coh.350/e14509/appsampcachestore.htm#sthref512
    JK

  • I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    Thanks for taking the time to try to help me. . I checked and the Do not disturb is off. The check is still there stopping calls from coming in when phone is locked. Any other ideas? Thanks again!

  • How can I prevent iPhoto from launching when I insert an SD card

    I recently upgraded to a new iMac retina and am having trouble disabling iPhoto from launching when an SD card is inserted.
    I have gone to iPhoto setting and disabled iPhoto from launching when a camera is connected.
    I have also gone into image capture and selected no application as the hidden option for SD card actions when inserted.
    Unfortunately the issue persists... two questions: can I do a terminal level disable to prevent iPhoto from launching or can I remove iPhoto from my computer?

    Have you tried this?
    Open the Image Capture app
    Select your SD Card
    Click the little widget in the bottom right corner of the window
    Select the program to launch, or "No application"
    it worked for me

  • How to prevent iPhoto to make an automatic event when importing from Photo stream

    Hi everyone,
    My question is related to the Photo stream functionality in iPhoto.
    Is possible to prevent iPhoto from making an automatic event when I import a photo from Photo stream. It is really annoying because of the fact that I use "events" for keeping my important photo's together (as many of you do I asume). Ofcourse after importing I can just delete it from my event section but is there a way to prevent it?
    Thanks.

    No. Photostream creates an Event for each month.
    iPhoto has many other tools for managing and categorising your Photos.
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 40k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.
    Regards
    TD

  • How to prevent Oracle from using an index when joining two tables ...

    How to prevent Oracle from using an index when joining two tables to get an inline view which is used in an update statement?
    O.K. I think I have to explain what I mean:
    When joining two tables which have many entries sometimes it es better not to use an index on the column used as join criteria.
    I have two tables: table A and table B.
    Table A has 4.000.000 entries and table B has 700.000 entries.
    I have a join of both tables with a numeric column as join criteria.
    There is an index on this column in table A.
    So I instead of
      where (A.col = B.col)I want to use
      where (A.col+0 = B.col)in order to prevent Oracle from using the index.
    When I use the join in a select statement it works.
    But when I use the join as inline view in an update statement I get the error ORA-01779.
    When I remove the "+0" the update statement works. (The column col is unique in table B).
    Any ideas why this happens?
    Thank you very much in advance for any help.
    Regards Hartmut

    I think you should post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your query resp. update statement. Please use the \[code\] and \[code\] tags to enhance readability of the output provided:
    In SQL*Plus:
    SET LINESIZE 130
    EXPLAIN PLAN FOR <your statement>;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Usually if you're using the CBO (cost based optimizer) and have reasonable statistics gathered on the database objects used the optimizer should be able to determine if it is better to use the existing index or not.
    Things look different if you don't have statistics, you have outdated/wrong statistics or deliberately still use the RBO (rule based optimizer). In this case you would have to use other means to prevent the index usage, the most obvious would be the already mentioned NO_INDEX or FULL hint.
    But I strongly recommend to check in first place why the optimizer apparently seems to choose an inappropriate index access path.
    Regards,
    Randolf
    Oracle related stuff:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle:
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • I was having issues with my 80G Video iPod and had to restore it, but now it seems all of my music on it previously is "corrupt" . How did all my songs get corrupted and how do I fix them?

    I was having issues with syncing my 80G video iPod, so I restored it, and now all my songs in my library are "corrupted" and I can't get them back on my iPod. I keep getting error(-69). How did my songs all get corrupted, and how do I fix this without having to purchase these songs all over again?

    Go to the iTunes Store, log into your account, and click the Purchases link under the Quick Links. From there you should be able to re-download some or all of your purchased content. Note that not all content has been licensed for re-downloading in all countries at this time; you can see what content you can download here:
    http://support.apple.com/kb/HT5085
    You can also re-download content using an iOS device.
    For more information, see:
    http://support.apple.com/kb/ht2519
    This if course will not apply to songs you did not buy through the iTunes Store.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • How to prevent apps from syncing in the new version of itunes?

    Hey there.
    I brang my macbook to Applestore cause it had a problem and they downloaded the latest version of itunes. Everything's fine and my music, videos and apps are in the new itunes like before. But now, when I want to sync my iphone, a pop window asks me to give the password of the itunes account I used to download some of my apps or it will delete them and their data. The problem is that one of these accounts is an old friend's one and I actually lost all contact with him. So basically now I can't sync my iphone at all or it will delete all my apps.
    Has anyone any idea how to sort that out? Or at least knows how to prevent apps from syncing in this new version of itunes?
    Thanks for your help

    Onthe top menu
    View > Show Status Bar.
    The grey bar will now appear at the bottom with the info you want

  • I want to use my old iphone for my kids as an ipod.  How do I keep from getting text messages on it when it is turned on?  If it is on, and my droid razar is on, text messages will go to the iphone. It is either a 4 or 4s ...I don't have Siri, so I think

    I want to use my old iphone for my kids as an ipod.  How do I keep from getting text messages on it when it is turned on?  If it is on, and my droid razar is on, text messages will go to the iphone. It is either a 4 or 4s ...I don't have Siri, so I think it's a 4.  Thanks

    Another thing to remember is the phone is actually usable for 911 calls and maybe others. Not a real good idea. Especially for a child.
    It would depend however on the age of the child.
    Good Luck

  • How to prevent users from creating new folders in share folder directory?

    Hello guys
    I'd like to know How to prevent users from creating new folders in share folder directory but still keep their power of creating new folders in their personal 'my folder'?
    I tried changing the 'manage privilage ---- create folder' to deny certain user accounts, but by doing so, it also stops the user from creating new folders in their 'my folder', which is not good..
    I also tried going into these share folders and tried different access types such as 'change/delete', 'read', 'traverse folder' etc, but none of it work ideally. The 'change/delete' access still allows them to create new folders, 'read' access prevents creating new folders but also take away their power of saving reports..
    Any thoughts on how to take away their ability to ONLY create new folders in share folder areas without affecting their other privileges?
    Please advise
    Thank you

    Easy, on the shared folders root folder only give them 'read' or 'traverse folder' but on the the folder inside the shared folders root folder give them 'change/delete'. That means they can change anything inside those folders but not create any folders at the shared folders root level.

  • What HTTP caching headers will prevent iPhoto from re-downloading each image in a "Photo Feed" every time it checks the feed for new content?

    I've noticed a practical issue with iPhoto's File->"Subscribe to Photo Feed..." feature.
    Every time that iPhoto checks a subscribed RSS Photo Feed for new content it will re-download each and every photo in the feed.  This occurs even if iPhoto has already downloaded each image, they all have unique GUIDs set, and no content in the feed has changed since the last time it polled for it.
    My best guess is that this happens if the server offering the feed does not produce the proper cache-control parameters in the HTTP Headers that are sent by the server when the RSS feed is accessed by iPhoto.
    Does anyone know what parameter/value pairs need to be set in the HTTP headers to prevent iPhoto from re-downloading RSS enclosures that it already has?
    This is a very practical problem for feeds with a large number of photos of large file size.  Besides the obvious massive waste of bandwidth, the user receives an annoying error whenever they try to quit iPhoto before the feed and all of it's images have been re-downloaded yet again.

    Here is an example of the HTTP headers for two of the images in the feed.
    Any red flags in there that you think might be causing iPhoto to think it needs to re-download the images after it's already downloaded them once?
    HTTP/1.1 200 OK
    Content-Length: 1251893
    Date: Fri, 27 Jan 2012 15:37:49 GMT
    Server: Apache
    Set-Cookie: PHPSESSID=1b9d47ae170ba8c0a088ab7124a1677e; path=/
    Expires: Mon, 24 Jan 2022 15:37:49 GMT
    Cache-Control: max-age=315360000,public
    Pragma: public
    Last-Modified: Thu, 26 Jan 2012 23:34:38 GMT
    Accept-Ranges: none
    Connection: close
    Content-Type: image/jpeg;
    HTTP/1.1 200 OK
    Content-Length: 744151
    Date: Fri, 27 Jan 2012 15:39:01 GMT
    Server: Apache
    Set-Cookie: PHPSESSID=086c112f99ccecc266a47d66d6b47733; path=/
    Expires: Mon, 24 Jan 2022 15:39:01 GMT
    Cache-Control: max-age=315360000,public
    Pragma: public
    Last-Modified: Thu, 26 Jan 2012 02:54:40 GMT
    Accept-Ranges: none
    Connection: close
    Content-Type: image/jpeg;

  • Can anyone tell me how to remove iphoto from screensaver????

    Can anyone tell me how to remove iphoto from screensaver and all photos it has put into screensaver?

    Hi Ann,
    please check this document to determine the correct space for your question:
    Find Topic Spaces on SCN (Forums)
    If you need help moving it, let me know!
    Thanks,
    Kristen

Maybe you are looking for

  • Won't let me add Dell 2330d Printer

    When I try to add this printer it just crashes the add printer window in about 3 seconds. It sees the printer and then when i select it, then the whole window just closes automatically. am on os x 10.5.8 and there are no updates available from apple

  • Having Correlation Problem

    Hello, I am looking at blog /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi I have one problem , I am not able to achieve N:1 as given in Logical Flow: point 5-- Transforms n PO6 Idoc into a single file struc

  • Bring back VISUAL and STRUCTURED NAVIGATION

    Please, bring back complete visual navigation from Windows 7, e.g. visible window border - for resizing, panel borders and distinct panel backgrounds for different parts of window, etc. Please, bring back full functionality of Start menu from Windows

  • How to create datasource

    Hello,all:   Now we need to create a datasource, I create one copy a datasoucre by system standard datasource. When I check it,the short jump as follow:   1.Table SMOXRELP:segment is missing in BDOC;   2.Table SMOXRELP:field is missing in extract stu

  • Social Auth Implementation

    Hi I am implementing socialAuth code using the code provided in the following link. http://code.google.com/p/socialauth/wiki/GettingStarted. But when I use provider object (of class AuthProvider). It gives me compilation error during compiling verify