f-spot 0.7.0-1 crashes on import

Bug #600329 reported by Alejandro Cuervo
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
New
Medium
Unassigned

Bug Description

Binary package hint: f-spot

Binary package hint: f-spot

Release: Ubuntu 10.04 64 bit
Version of Package: 0.7.0-1~ppa~lucid0

As soon as I press the import button f-spot crashes

alex@joemamma:~$ f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug **
[1 Info 11:48:46.766] Initializing Mono.Addins
[1 Debug 11:48:47.252] Mono.Addins Initialization took 0.473346
Xlib: extension "RANDR" missing on display ":0.0".
[1 Debug 11:48:48.496] Db Initialization took 0.415817
[1 Debug 11:48:49.582] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC
[1 Debug 11:48:49.583] QueryToTemp took 0.000702 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC
[1 Debug 11:48:49.583] Reloading the query took 0.004199
[2 Debug 11:48:49.819] PhotosPerMonth took 0.000471
[2 Debug 11:48:49.821] TimeAdaptor REAL Reload took 0.223466
[1 Debug 11:48:50.149] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC
[1 Debug 11:48:50.150] QueryToTemp took 0.000603 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC
[1 Debug 11:48:50.213] Reloading the query took 0.064115
[3 Debug 11:48:50.365] PhotosPerMonth took 0.000472
[3 Debug 11:48:50.365] TimeAdaptor REAL Reload took 0.211957

(f-spot:11580): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.Import.ImportController.ScanSources () [0x00000]
  at FSpot.Import.ImportController.get_Sources () [0x00000]
  at FSpot.UI.Dialog.ImportDialog.PopulateSourceCombo (ImportSource source_to_activate) [0x00000]
  at FSpot.UI.Dialog.ImportDialog.<ScanSources>m__32 () [0x00000]
  at GLib.Idle+IdleProxy.Handler () [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args)
[4 Debug 11:48:54.850] Finalizer called on Db. Should be Disposed
[4 Debug 11:48:54.851] Finalizer called on FSpot.Category. Should be Disposed
[4 Debug 11:48:54.851] Finalizer called on FSpot.Tag. Should be Disposed
[4 Debug 11:48:54.852] Finalizer called on Banshee.Database.QueuedSqliteDatabase. Should be Disposed
alex@joemamma:~$

Changed in f-spot (Ubuntu):
importance: Undecided → Medium
Revision history for this message
filip (bandit-s-fw) wrote :

I had also problems with the import of pictures taken with the camera of my girlfriend. (fspot 7.1)
I've changed the exif data with a little program called jhead. see http://blog.techfun.org/2009/11/how-...les-in-ubuntu/
i used this arguments : $jhead -mkexif -rgt "path to your photos"/*.JPG
"path to your photos" you have to complete accordingly to your photo directory.
these arguments makes a basic exif with just the thumbnail and the date the photo was taken.
After that i was able to import the photos.
warning: this will remove some data from the photo: like exposure, shutterspeed,...

I don't know if it is the same problem here. But for me it helped and maybe it can be used as a workarround until it get fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.