Aperture 3 rebuild library - SQLITE MISUSE

I'm trying to rebuild my Aperture 3 library that became corrupt when I accidentally unplugged external drive.
Rebuild library database hangs at 'Rebuild Library: Restoring Keywords'. After a day of running I forced-quit Aperture and now I'm trying again.. stuck at the same screen
I'm getting plenty of messages in Console - Database Searches:
Sender[PID]: Aperture
Message: NsExceptionHandler has recorded the following exception: SQLITE_MISUSE -- sqlite3_step
Does anybody have a fix for this?

error details:
Jun 16 23:10:44 Macintosh Aperture[469]: NSExceptionHandler has recorded the following exception:\nSQLITE_MISUSE -- sqlite3_step\nStack trace: 0x7fff85ef9a2c 0x7fff805e80f3 0x7fff85b0fae7 0x7fff85b0fa74 0x10042fa7b 0x10026ce22 0x10047f472 0x100476e36 0x10047935c 0x100237e11 0x100454b1a 0x1004550e8 0x100460344 0x1004554a9 0x100063d60 0x100064b62 0x7fff85c8684e 0x7fff85ab7a90 0x7fff85aa4008 0x7fff85c7d7b8 0x7fff86637832 0x7fff86637767 0x7fff86835ddc 0x7fff86702421 0x7fff85cb514a 0x7fff85cb4f7a 0x7fff824bd323 0x7fff824bd21c 0x7fff824bd123 0x7fff85ffb741 0x7fff86607481 0x7fff86606bed 0x1002ab22e 0x7fff865cc8d3 0x1019668a6 0x100002494 0x2
Jun 16 23:11:14: --- last message repeated 81 times ---
Jun 16 23:11:14 Macintosh Aperture[469]: NSExceptionHandler has recorded the following exception:\nSQLITE_MISUSE -- sqlite3_step\nStack trace: 0x7fff85ef9a2c 0x7fff805e80f3 0x7fff85b0fae7 0x7fff85b0fa74 0x10042fa7b 0x10026ce22 0x10047f472 0x100476e36 0x10047935c 0x100237e11 0x100454b1a 0x1004550e8 0x100460344 0x1004554a9 0x100063d60 0x100064b62 0x7fff85c8684e 0x7fff85ab7a90 0x7fff85aa4008 0x7fff85c7d7b8 0x7fff86637832 0x7fff86637767 0x7fff86835ddc 0x7fff86702421 0x7fff85cb514a 0x7fff85cb4f7a 0x7fff824bd323 0x7fff824bd21c 0x7fff824bd123 0x7fff85ffb741 0x7fff86607481 0x7fff86606bed 0x1002ab22e 0x7fff865cc8d3 0x1019668a6 0x100002494 0x2

Similar Messages

  • The hard drive on my MacBookPro crashed.  The Apple store replaced it.  Since then I can't open iphoto.  It asks to rebuild library; when I click yes, I get: "Aperture cannot access this library; reset permissions." I don't own Aperture!

    The hard drive on my MacBookPro recently crashed.  The Apple store replaced it.  Since then I can't open iphoto.  It asks to rebuild library; when I click yes, I get: "Aperture cannot access this library; reset permissions." I don't own Aperture!  Any thoughts on how I can rebuild the iphoto library?  Currently I can't even get into it.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Problem using/opening Aperture 3.0 Library in Aperture 3.5.1

    I have Aperture 3.0 Library that I opened in Aperture 3.5.1 and got this:
    I did all repairs and rebuilds, but noting works. I can't access any PS file that I have, and the exports from the library looks like this:
    Any suggestions how to save my images?
    Thank you!

    I accessed the raw files from the library , .psd and .nef, and tried to open, fail. I sent the files to a friend to try from his computer, fail again.
    Marie,
    to save the embedded jpegs from your RAW images, as Frank Caggiano recommended,  try the following in Aperture:
    Save the original RAW files to a separate folder.
    Set Aperture's Preference in the "Preferences > Import" panel to "Post Import Processing > Camera Previews".
    Set Aperture to show the Browser, and not the Viewer or Split view. That is important. The idea is to prevent Aperture from opening the image after importing.
    Now import your folder with the saved RAW files by dragging it onto the "Projects" in the Library panel.
    You should be seeing perfect thumbnails without any corruption. Drag the thumbnails from the Aperture window to a folder on your Desktop. This should give you high quality JPEGs.
    Your test image gave me a 4928x3264 high resolution JPEG.

  • Crash while rebuilding library + possible solution

    because i had a very slowly responding aperture i went through all the comments on what to do, and in the end i deleted the cache files, defragged my hard disk and rebuild the library (using the aperture startup rebuild dialog)
    while it was doing the rebuilding of the library it crashed over and over after going through a few hours of rebuilding.
    i found out that my backup client to carbonite was the reason (still no excuse for aperture to crash) so i switched off the backup for a while, let the rebuild finish and switched it back on again.
    just posting this so if other people have the same problem to check switch off their backup clients (time machine is alright i noticed) and try again.
    oh, and it also did fix my unresponsive aperture.
    cheers,
    tom

    Just an upgrade. The problem is that when I click on the install button and later skip there is a screen that says:
    Install Failed
    Mac OS X could not be installed on your computer
    The Installer encountered an unknown error that failed the install.
    Contact the software manufacturer for assistance.
    Click restart to restart your computer and try installing again.
    Any way to resolve this problem (such as commands in the terminal-mode etc.)?

  • "Rebuild Library" option leads to external editor problems

    Due to an issue with the Aperture internal tray I used the option "rebuild library". After the rebuild is completed it is not possible to open the images with an external editor or plugin anymore.
    The message says that the image could not be handled as it has an unsupported format. Sorry, I cannot post the exact message as I use the german version of Aperture.
    After getting the old Aperture library from my backup I tried it again. Before "rebuild library" everything works fine (except for the tray), after the rebuild I receive the message.

    My affected images are masters inside the library and referenced ones - that doesn't matter. Images imported after the faulty rebuild work as usual. But it is still not possible to edit the older ones - those imported before the crash and rebuild. I couldn't find a workaround until now, except exporting and reimporting every single master, adjusting everything new and edit this new one with a plugin or the external editor.
    I tried to export a project as a whole and reimport it, it dosen't change anything. If I open the package of the aplibrary I see that the TIFF or PSD is created by the command "edit in external editor" and I can open this in photoshop, but Aperture isn't able to hand it over to the external editor or the plugin. It seems to be a database problem not a problem of image rendering.
    I also tried to rebuild the library again and repaired the user permissions of the database (CMD ALT during aperture start) - Doesn't help.
    I imported an affected mediabase into another Aperture installation on my notebook which was not affected before. But the imported images inside the project won't open with the external editor or any plugin too. So I think it has nothing to do with the general installation of Aperture. For sure it is an error inside the database caused by the automatic rebuild of the database after a crash.
    For all aperture users I can give the following two hints:
    1) Backup your Aperture database carefully.
    2) After a crash of Aperture and an automatic or any other rebuild of the database, check FIRST if your database is infected by our problem. Open some images with a plugin or the external editor. If this doesn't work, go back to your vault version.
    My mistake was to backup RIGHT AFTER the crash, without checking everything including the external editor command. Because of this I infected my vault version with the error too.....
    Apple is needed for solving this issue. It should be possible for the programmers to find the error inside an exported project/mediabase, which is affected with the problem. I would provide such a file to Apple for examination.
    Wolfram

  • Beachballing, rebuild library and Javascript issues

    I have constant beachballing in Aperture 3.03. I went to Aperture help to find out how to rebuild library and am told I need Javascript to read Help answers. What I get in Help is not clickable. How do I get/install Javascript for Aperture and how do I rebuild the library. I am hoping this will cure the constant beachballing.

    Hi Birgit (lovely name!),
    as to rebuild the library did you already try to launch Aperture pressing the option+cmd keys?
    This should force the Aperture First Aid Window where you can choose to repair permissions, repair and rebuild library.
    If you didn't, give it a try...press and keep pressing on option (is the key marked with 'alt')+cmd keys and click on the Aperture application icon to launch it...do not release the keys and the First Aid screen should open.
    Hope this helps you!
    Bye!
    Alberto

  • How long to rebuild library

    Hi y'all
    How long does a rebuild library take for a 150gb library?
    I suspect that it is just hung... has been over 24 hours and activity monitor reports Aperture is doing nothing.
    I've had the library for about 2 years and to my recollection i've never rebuilt the library.
    I'm on an 2.8ghz iMac 24" (the latest one) with 10.5.1 installed.
    Yes, i backed up my library to another drive before trying the rebuild.

    Thanks for your detailed instructions Thomas
    interestingly enough, i killed the Aperture app and was off to start the process you suggested. I noticed that the drive that i'd backed up to was unmounted. So i tried to remount it and it wouldn't show up on my desktop. I relaunched the finder and it didn't show up then either - so i decided a reboot was necessary. I tried a restart, but iTunes kept automatically restarting, even if i killed it - which prevented the restart from happening. So i did the hard power down and restarted my iMac that way. First thing i did was launch Aperture - and low and behold, it is rebuilding my library.
    Something was stuck in the guts of the OS somewhere and now it seems free.
    I will consider tho what to do about the size of the library and possibly moving some older stuff off to different libraries.

  • Downloaded new version itunes to Windows 7, now receiving error while computer is booting Apple Sync Notifier.exe- Entry Point Not Found the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite.dll., Help!

    Downloaded new version itunes to Windows 7, now receiving error while computer is booting Apple Sync Notifier.exe- Entry Point Not Found the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite.dll., Help! How do I remove this message every time I start up Windows? Would it help to
    re-install Itunes and what version??

    Refer to this thread - https://discussions.apple.com/message/15685210#15685210
    Quick answer "copy the file SQLite3.dll from the C:\Program Files (x86)\Common Files\Apple\Apple Application Support folder to the C:\Program Files (x86)\Common Files\Apple\Mobile Device Support folder"

  • Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    I have searched my computer for that file SQlite3.dll and also file QTCF.dll and I cannot find either one when I search my whole computer for it.  I cannot fix this!  I deleted Itunes and every time I try to download it, it goes through all this download till the end when it says that iTunes.exe-entry point now found and that Procedure entry point message comes up.  HELP!  This is driving me crazy.  How can I get itunes to work again when I can't find the danged .dll file to remove, move or rename!?!?!??

  • I need to minimize the space photos take on my MacBook Pro OSx 10.7.  They are in iPhoto, Aperture, Pictures/Photo Library, etc.  Are they taking space in all of these locations?

    I need to minimize the space photos take on my MacBook Pro OSx 10.7.  They are in iPhoto, Aperture, Pictures/Photo Library, etc.  Are they taking space in all of these locations?

    Are they taking space in all of these locations?
    It depends on how you are using iPhoto and Aperture. 
    iPhoto and Aperture each create their own library files, and the default location for them is in /users/youruseraccount/Pictures
    You can configure iPhoto and Aperture to use the same Library file, in which case your photos are only stored once.  But if you are using iPhoto & Aperture with independent library files, you may in fact be duplicating your storage.
    The second consideration is whether or not you have configured iPhoto and/or Aperture as reference libraries, in which case their library files only reference photos you have stored in other places on your hard drive.  Setting them up as reference libraries does not duplicate the photos inside the library files.

  • Iphoto won't display photos or run a slideshow. Thumbnails all OK etc. Tried rebuilding library and reset Mac Air but no result.  Ideas please!!!!

    Iphoto won't display photos or run a slideshow - just a black screen. Can't see photos to edit etc. Thumbnails all OK and all else seems visible in the usual way etc. Tried rebuilding library and reset Mac Air but no result.  Ideas please!!!!

    and was told to go home and rebuild the photo library (there are 2257 photos). Did this but problem is still there.
    When you rebuild the library did you rebuild the database?  Also did you repair the library's permissions? Is this the First Aid window that you got?
    Those are the two options to use.
    Here's another fix you can try:
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.>Click on the Add Library button,
    2 -  select the library you want to add from those in the selection window.
    3 - make sure that in the rebuild window the checkbox  "Scavange orphaned photos" is checked.
    4 - now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    5 - in the next  window name the new library and select the location you want it to be placed. Click on the Create button.
    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.
    You'll have to recreate your slideshow after using this method.

  • I'm trying to find a way to move pictures from Preview to iPhoto. Tried "rebuilding  library"...nothing happens.  Help!

    I'm trying to find a way to move pictures from Preview to iPhoto. Tried "rebuilding  library"...nothing happens.  Pictures ssomehow wound up in Preview after I needed to do a clean install (Snow Leopard) and moved files from an external drive. Help!

    If you saw the images with Preview in the other iPhoto Library, than try to open iPhoto with that Library:
    http://support.apple.com/kb/PH2505
    If the Photos are there, replace the iPhoto Library in your Pictures folder with the one from the external.  (posted by Keith)
    My response:
    The pictures don't appear in Preview in the other user account.  They also don't appear in the external drive (!!!????).  I discovered I can get the pictures into iPhoto by saving from Preview to the desktop, then importing into iPhoto, but only one at a time.
    Clearly the files are on the hard drive somewhere, but where?  The  'iPhoto library" icon that appears in my Pictures folder is a "package" which can't be opened on it's own....it's only able to be  imported into Preview.
    This feels like the Twilight Zone to me.....

  • Can I copy and store Aperture 3.5 library on an external drive ExFAT?

    Hi
    Can I copy and store Aperture 3.5 library on an external drive ExFAT?

    No, as Allan Eckert said. Storing your library on and external drive is no problem, but it requires MacOS Extended (Journaled):
    You may want to have a look a these support documents: 
    Use locally mounted Mac OS X Extended volumes for your Aperture library
    and
      Format external drives to Mac OS Extended before using with Aperture   http://support.apple.com/kb/HT3509?
    The same goes for iPhoto Libraries:
    iPhoto: Issues with FAT32-formatted drives

  • Can't open iphoto in airbook. Asking to upgrade then says must rebuild library then warning about missing files. When click rebuild all I get is continued- waiting for iphoto library- and, never rebuilds

    can't open iphoto in airbook. Asking to upgrade then says must rebuild library then warning about missing files. When click rebuild all I get is continued- waiting for iphoto library- and, never rebuilds

    -1.The photo library needs to be upgraded to work with this version of iPhoto.
    Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very large libraries may take an hour or more to complete.
    2. iPhoto is unable to open this library.
    The library has issues that require rebuilding to correct
    3. Warning
    Would you like to rebuild the library "iPhoto Library"? 
    The library "iPhoto Library" is missing required database files and must be rebuilt before it can be opened.
    4. Waiting for iPhoto library
    iPhoto will open as soon as the iPhoto library is available
    Time Machine might be backing it up

  • Photo disappear after rebuilding library

    Hi all,
    It's very sad thing to happen on x'mas.. hope i can get some help here.
    I don't know what cause the problem... so i'd better describe everything i've done.
    My friend sent me some photos in his iphone to my email.
    I then saved all those photos on my iphone.
    I've checked them on camera roll after downloading..and it still works.
    then i load the app "Polarize", and try to load the photos from camera roll.
    Then it said there's no photos..
    so then i went back to photo... it then started to "updating library" / rebuilding library...
    then i waited... after rebuild...several hundreds of photos are gone...
    I tried to restart...and they are still gone...
    Since my laptop has taken to maintenance, it hasn't been backed up for a while now...
    Please kindly suggest any solution...

    Make a temporary, backup copy (if you don't already have a  backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    OT

Maybe you are looking for

  • Problem with JTree and memory usage

    I have problem with the JTree when memory usage is over the phisical memory( I have 512MB). I use JTree to display very large data about structure organization of big company. It is working fine until memory usage is over the phisical memory - then s

  • Lightroom Sharpening vs. TopazLabs InFocus

    InFocus is very much like a TopazLabs version of FocusMagic: i.e. well done (but you have to get the sliders right, and I think using in conjunction with a layer mask is a smart move, to "remix" some of the areas that are overly sharp and/or have art

  • Keep getting invalid certificate notifications on certain sites on Safari. How do I get sites to trust?

    About a week ago my MB Pro (wife's computer) said date and location was lost. Wife went in and reset. A day later on my side I started getting invalid certification notices dropping down from menu bar. Mostly an annoyance and would either click cancl

  • Calling a DLL

    Hello, I am new to this and I require your help. I want to call a DLL inside my java class. I read that this can be possible by using JNI. Should I generate the header file every time I want to use a DLL and then write the code in C? is it possible t

  • Converting issues of QUAN clomn

    Dear All I tried to take a clue from a thread posted before but not working for me I want. 1,000 is printed as 1. But even after coding below in smartforms it gives me 1,000. GS_FKIMG is of type BDMNG GS_ITEM-FKIMG is of type FKIMG of type QUAN (13,3