On Thu, Sep 08, 2005 at 10:20:24AM +0200, Filip Van Raemdonck wrote: > > Trying to import my home directory, f-spot apparently ran into some file > which it believes not to be a valid PNG image. However, instead of telling > me so (and which file it is!) it just crashes
Here's another stack trace, for a TIFF file which isn't one (but f-spot thinks it is) (the PNG file turned out to be just ASCII text, too): Found Unknown Tiff Marker 0 Converting Something System.Exception: Invalid IFD0 Offset [0] in <0x00274> FSpot.Tiff.Header:.ctor (System.IO.Stream stream) in <0x0004c> FSpot.Tiff.TiffFile:.ctor (System.String path) Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x00014> FSpot.Tiff.TiffFile:Date () in <0x00027> PhotoStore:Create (System.String path, Gdk.Pixbuf thumbnail) in <0x000c5> FileImportBackend:Step (.Photo photo, Gdk.Pixbuf thumbnail, System.Int32 count) in <0x00048> ImportCommand:Step () in <0x0016d> ImportCommand:DoImport (.ImportBackend imp) in <0x000c2> ImportCommand:Start () in <0x00305> ImportCommand:HandleSourceChanged (System.Object sender, System.EventArgs args) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in <0x00096> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch) in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) in <0x00000> <unknown method> in (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr) in <0x0001d> Gtk.Dialog:Run () in <0x00603> ImportCommand:ImportFromFile (.PhotoStore store, System.String path) in <0x0004c> MainWindow:ImportFile (System.String path) in <0x00385> Driver:Main (System.String[] args) In case a file can't be dealt with, it should just get skipped instead of causing a crash... Regards, Filip -- "Microsoft is a cross between the Borg and the Ferengi. Unfortunately, they use Borg to do their marketing and Ferengi to do their programming." -- Simon Slavin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]