Apple Event: May 7th at 7 am PT

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

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?

Mid 2009 15" Macbook Pro, 2.53 GHz, 4GB, Mac OS X (10.6.3), it's 10.6.4 - you don't have it in your options above..

Posted on Jun 16, 2010 2:37 PM

Reply
11 replies

Jun 16, 2010 3:12 PM in response to dixiesk

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

Jun 19, 2010 10:02 AM in response to Jeffrey Mays

1/ locate your aperture library
2/ right click it & choose 'show package contents'
3/ open database/ folder
4/ backup everything you see there (e.g. by copying to desktop/aperture-backup)
5/ delete *.appdb and *.db (I've also seen people deleting previews / thumbnails)
6/ cmd+option click on your library and choose rebuild library... if it's successful, you should see progress like 'x out of y' after few minutes. If not, kill it
7/ copy your database part back (e.g. faces.db) to see if it works with your new library

hope this helps

good luck!

Aperture 3 rebuild library - SQLITE MISUSE

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