gustible, On 01/22/2011 10:44 PM, gustible wrote:
I experienced the same problem - the external HD on which my photos are stored was unmounted. Without realising this, I started Shotwell. All the event-photo links were destroyed. In the database, the eventid in the Photos table was set to -1 for every photo. Most events were still present in the events table - although not all. This was on Shotwell 0.7.2 - the current version shipping with Ubuntu. I wrote a script in Python (sorry) to recreate the events that were lost, or alternatively, to recover the lost events - feel free to use the (warrantyless) script - can be found here:http://www.gustible.com/2011/01/23/shotwell-a-script-to-fix-broken-events
The ticket for this bug is http://trac.yorba.org/ticket/2968 . A few users have reported this, but unfortunately we're completely unable to reproduce it at Yorba. Can you try the following?
1. Start Shotwell with an empty library (e.g. 'shotwell -d ~/foo'). 2. Import a couple of photos from your external hard drive. 3. Close Shotwell. 4. Unmount the external hard drive. 5. Start Shotwell again. Are the event-photo links destroyed in this case? adam _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
