Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Library recovery: how can I recover a library after I get this message: There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

Library recovery: how can I recover a library after I get this message: "There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

Aperture 3, iOS 6.0.1

Posted on Nov 26, 2012 7:00 PM

Reply
Question marked as Best reply

Posted on Nov 26, 2012 7:05 PM

More details:

- I had to shut down the computer because Aperture vibrancy brush froze and there was no way to get control of the computer except for turning it off.

- I've tried to do the recovery thing mentioned in the instructions and it does not work--I get the same message again and again.

- By the way, the instructions seem to be wrong. I was told at the Genius Bar that it was command+alt+double click at the Aperture icon and not at the library in Finder.

- What other options are there??? The computer keeps freezing with brushes in the large photo files!!!

13 replies
Question marked as Best reply

Nov 26, 2012 7:05 PM in response to JaimeJV

More details:

- I had to shut down the computer because Aperture vibrancy brush froze and there was no way to get control of the computer except for turning it off.

- I've tried to do the recovery thing mentioned in the instructions and it does not work--I get the same message again and again.

- By the way, the instructions seem to be wrong. I was told at the Genius Bar that it was command+alt+double click at the Aperture icon and not at the library in Finder.

- What other options are there??? The computer keeps freezing with brushes in the large photo files!!!

Nov 26, 2012 9:34 PM in response to JaimeJV

By the way, the instructions seem to be wrong. I was told at the Genius Bar that it was command+alt+double click at the Aperture icon and not at the library in Finder.


That depends:

  • ⌥⌘- double clicking an Aperture Library will open the First Aid panel for the Aperture Library you selected in the Finder.
  • ⌥⌘- double clicking an Aperture Library will open the First Aid panel for the Aperture Library that you last opened with Aperture.

If you only have one Aperture library, both ways should give the same result.


Is " “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”" the library you want to be using? Then try to open the First Aid on this library by directly selecting this library.


Is there a crash log, besides the error message? Then post the first 50 lines, please.


What is your Aperture 3 version and your Mac OS X version? If you have not upgraded to the latest Aperture version, you might try that and see, if that will fix the problem with the brushes.


What did you do, before the problem first occured? Import images, installed other software, plug-ins?


You already rebooted, but I suggest, you also try to start up in Safe Boot mode and temporarily disable login items.

Aperture will not be able to run in Safe Boot mode, but this will reset the Graphics card.


The forced quit my have left your Preferences file corrupted, so I'd recommend to remove the Preferences file, if fixing the library does not work, see: Aperture 3: Troubleshooting Basics


Regards

Léonie

Nov 27, 2012 5:19 PM in response to léonie

Thanks Léonie!


My versions are 10.8.2 for Mountain Lion and 3.4.3 for Aperture.


Very helpful hints.


However, in my case ⌘- double clicking an Aperture Library will NOT open the First Aid panel on a library selected in Finder. Not sure what the bug is.


What I was doing when the problem happened was working on a 30 meg picture (Nikon D300 RAW) with the vibrancy pen. The computer simply froze and I had no way of dealing with that problem than to turn it off. When I turned it on again, the problem message showed up.


By the way, do you know why when I double click a library in Finder and I highlight "Open with" I get like 4 lines with Aperture and another 4 with iPhoto? Is there a way of clearing those lists? It's kind of annoying.


Again, many thanks for your guidance!!!

Nov 28, 2012 9:13 AM in response to Aye Es Oh

As for the duplicates of Aperture, are you sure you don't have multiple copies of the Aperture app on your computer?

I am seeing this too, Aye Es Oh; unfortunately, I have no idea how to fix it.

Only one copy of iPhoto installed, but it is showing five times in the "Open with" list. And the number of items is growing, each time I switch the library.


Rebooting and emptying caches did not fix it.


User uploaded file

Nov 28, 2012 11:48 AM in response to JaimeJV

However, in my case ⌘- double clicking an Aperture Library will NOT open the First Aid panel on a library selected in Finder.

Is this still a problem, or did you manage to rebuild the library by now?


If not, did you try really hold down both the keys ⌥⌘ firmly and for long enough, while double clicking the library, untill the panel appears?

Nov 28, 2012 12:58 PM in response to Frank Caggiano

Thanks a lot, Frank. The lsregister did the trick! 🙂 I am testing this on 10.8.2.


/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user


but then it worked like a charm!


Cheers

Léonie



And btw: I turned on the "-v" option for the lsregister to see, what was going on, and saw plenty of error messages (error -10811); so I repeated the command with "sudo". After that I still saw five iPhotos. Repeating as regular user finally got rid of the redundant iPhoto entries. It looks like registering as super user may be causing this trouble.



Nov 29, 2012 8:50 AM in response to Frank Caggiano

Frank,

I just noticed a little side effect of resetting the launchdb:


User uploaded file

When I try to open my LaTeX documents by double clicking, they now will open in Final Cut Pro of all things. Murphy's Laws again - when opening in a wrong application, why not in TextEdit or any other app that launches quickly? it just had to be Final Cut 😁

It was easily fixed by using "Open with" and "apply to all" in the Get Info panel, no problem, but be ready for surprises, when you use this utility.


Léonie

Library recovery: how can I recover a library after I get this message: There was an error opening the database for the library “/Users/Jim/Pictures/Libraries/K2 Library.aplibrary”???

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.