On Sun, 2010-07-25 at 01:34 +0100, Mateusz Loskot wrote: > Hi, > > I use Ubuntu 10.4 and I built F-Spot from sources pulled directly > from the Git repository > (last commit: d3243c5fbbe13cba161f919f9212fb04504f7b56) > > I use Pentax system and I shoot in RAW, so I tried to import my photos > stored as PEF files. Unfortunately, I'm getting unsupported format > exception. > > Here is stdout/stderr output: > [...] > Am I missing any required extension or PEF format is not well supported?
I've run the F-Spot under debugger and I got more detailed log. ==================================================================== mlos...@dog:~/dev/f-spot/_git/install$ ./bin/f-spot --basedir /tmp --photodir /tmp --debug ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 00:03:02.657] BaseDirectory is now /tmp [1 Info 00:03:02.664] PhotoDirectory is now /tmp [1 Info 00:03:02.693] Initializing Mono.Addins [1 Debug 00:03:03.994] Mono.Addins Initialization took 1.297176 [2 Debug 00:03:04.437] Exception executing command: SELECT id FROM tags WHERE name = 'Hidden' [1 Debug 00:03:04.528] Db Initialization took 0.191783 [1 Debug 00:03:04.916] 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 00:03:04.917] QueryToTemp took 0.000833 : 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 00:03:04.917] Reloading the query took 0.00304 [3 Debug 00:03:05.133] PhotosPerMonth took 0.000553 [3 Debug 00:03:05.134] TimeAdaptor REAL Reload took 0.204901 [1 Debug 00:03:05.366] 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 00:03:05.367] QueryToTemp took 0.000821 : 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 00:03:05.445] Reloading the query took 0.07971 [4 Debug 00:03:05.596] PhotosPerMonth took 0.00062 [4 Debug 00:03:05.596] TimeAdaptor REAL Reload took 0.228404 (f-spot:10903): 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. [1 Debug 00:04:04.257] Received controller event: SourceChanged [1 Debug 00:04:04.260] Received controller event: PhotoScanStarted [1 Debug 00:04:04.329] Invalid thumbnail, reloading: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF [1 Warn 00:04:04.338] Loading of Metadata failed for file: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF - TagLib.UnsupportedFormatException: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF (image/x-pentax-pef) (in `TagLib') at TagLib.File.Create (IFileAbstraction abstraction, System.String mimetype, ReadStyle propertiesStyle) [0x0013f] in /home/mloskot/dev/f-spot/_git/master/lib/TagLib/TagLib/src/TagLib/File.cs:1489 at FSpot.Utils.Metadata.Parse (Hyena.SafeUri uri) [0x00071] in /home/mloskot/dev/f-spot/_git/master/src/Utils/Metadata.cs:29 [1 Debug 00:04:05.062] Received controller event: PhotoScanFinished [1 Debug 00:04:05.171] Loading image took 0.863772 [1 Debug 00:04:26.428] Received controller event: PhotoScanStarted (f-spot:10903): GLib-WARNING **: Invalid file descriptor. [1 Debug 00:04:26.502] Invalid thumbnail, reloading: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF [1 Warn 00:04:26.502] Loading of Metadata failed for file: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF - TagLib.UnsupportedFormatException: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF (image/x-pentax-pef) (in `TagLib') at TagLib.File.Create (IFileAbstraction abstraction, System.String mimetype, ReadStyle propertiesStyle) [0x0013f] in /home/mloskot/dev/f-spot/_git/master/lib/TagLib/TagLib/src/TagLib/File.cs:1489 at FSpot.Utils.Metadata.Parse (Hyena.SafeUri uri) [0x00071] in /home/mloskot/dev/f-spot/_git/master/src/Utils/Metadata.cs:29 [1 Debug 00:04:27.195] Received controller event: PhotoScanFinished [1 Debug 00:04:27.248] Loading image took 0.747945 [1 Debug 00:04:27.428] Received controller event: PhotoScanStarted (f-spot:10903): GLib-WARNING **: Invalid file descriptor. [1 Debug 00:04:27.454] Invalid thumbnail, reloading: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF [1 Warn 00:04:27.454] Loading of Metadata failed for file: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF - TagLib.UnsupportedFormatException: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF (image/x-pentax-pef) (in `TagLib') at TagLib.File.Create (IFileAbstraction abstraction, System.String mimetype, ReadStyle propertiesStyle) [0x0013f] in /home/mloskot/dev/f-spot/_git/master/lib/TagLib/TagLib/src/TagLib/File.cs:1489 at FSpot.Utils.Metadata.Parse (Hyena.SafeUri uri) [0x00071] in /home/mloskot/dev/f-spot/_git/master/src/Utils/Metadata.cs:29 [1 Debug 00:04:28.139] Received controller event: PhotoScanFinished [1 Debug 00:04:28.201] Loading image took 0.747981 [1 Debug 00:04:30.608] Received controller event: ImportStarted [5 Warn 00:04:30.692] Loading of Metadata failed for file: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF - TagLib.UnsupportedFormatException: file:///home/mloskot/tmp/pef-test/IMGP2644.PEF (image/x-pentax-pef) (in `TagLib') at TagLib.File.Create (IFileAbstraction abstraction, System.String mimetype, ReadStyle propertiesStyle) [0x0013f] in /home/mloskot/dev/f-spot/_git/master/lib/TagLib/TagLib/src/TagLib/File.cs:1489 at FSpot.Utils.Metadata.Parse (Hyena.SafeUri uri) [0x00071] in /home/mloskot/dev/f-spot/_git/master/src/Utils/Metadata.cs:29 Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at FSpot.FileBrowsableItem.EnsureMetadataParsed () [0x0001d] in /home/mloskot/dev/f-spot/_git/master/src/Core/FileBrowsableItem.cs:40 at FSpot.FileBrowsableItem.get_Time () [0x00000] in /home/mloskot/dev/f-spot/_git/master/src/Core/FileBrowsableItem.cs:64 at PhotoStore.CreateFrom (IBrowsableItem item, UInt32 roll_id) [0x00000] in /home/mloskot/dev/f-spot/_git/master/src/PhotoStore.cs:147 at FSpot.Import.ImportController.ImportPhoto (IBrowsableItem item, FSpot.Roll roll) [0x0002d] in /home/mloskot/dev/f-spot/_git/master/src/Import/ImportController.cs:348 at FSpot.Import.ImportController.DoImport () [0x000f0] in /home/mloskot/dev/f-spot/_git/master/src/Import/ImportController.cs:264 ==================================================================== Perhaps it will help a bit more. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org _______________________________________________ f-spot-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/f-spot-list
