As a test launch iPhoto with the Option key held down and create a new, test library. Import some photos and test to see if the same problem persists. Does it?
If it doesn't then you need to repair your current library. apply the two fixes below in order as needed:
Launch iPhoto with the Command+Option keys held down and rebuild the library.
Select the options identified in the screenshot.
Using iPhoto Library Manager to Rebuild Your iPhoto Library
- Download iPhoto Library Manager and launch.
- Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
- Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
- In the next window name the new library and select the location you want it to be placed.
- Click on the Create button.
Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
Thanks again. I tried to create a new library as recommended, this library has the same problem with the slideshow.
I conclude that my original library was not corrupted.
However, I did start iPhoto with Cmd + Option and rebuild the authorization and the other options you mentioned.
That did not help either, the slideshow does not start.
The error message on the console shows this (perhaps it helps...)
04/07/13 22:31:08,088 iPhoto: *** -[__NSArrayM replaceObjectAtIndex:withObject:]: index 3 beyond bounds [0 .. 1]
Thanks for the support,
Reinstall iPhoto. To reinstall iPhoto delete the current application and, on all Macs running Snow Leopard or earlier , all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the:
HD/Library/Receipts folder (10.5 and earlier)
or from the /var/db/receipts/ folder (10.6) .
Deleting receipts is not necessary if your Mac came with Lion or later preinstalled.
Then install iPhoto from the source it came from originally.