GNOME Bugzilla – Bug 637638
Resize during export to folder fails
Last modified: 2018-07-01 08:52:49 UTC
Created attachment 176745 [details] Screendump showing error During export to folder an error occurs if user selects resize image option. (e.g. Style / Size / 1200 pixels) Error Message is: Error interpreting JPEG image file (Wrong JPEG library version: library is 80, caller expects 62) Screendump attached.
This seems strongly associated with the image resize option. The same selection exports without error if resize is not enabled.
I also get this message when attempting to crop an image.
Can you repeat it but include the output from f-spot --debug when you do it?
Ouch. Sorry can't believe I forgot the --debug. I'm back on 0.8.0 at the moment but will re-upgrade and test.
It took a couple of attempts as I had to toggle back and forth between browse and edit before f-spot would allow me to make a selection. Debug out pasted below: [1 Debug 15:44:20.939] FSpot.Editors.CropEditor can be applied? False [1 Debug 15:44:31.044] FSpot.Editors.CropEditor can be applied? True [1 Debug 15:44:31.051] open uri = file:///jpegs/2010/12/18/Sunderland%20Parkrun%20--%20Sam%20Brown%20--%20Sat%2018%20Dec%202010%2010-21-50%20AM%20GMT-1.jpg [1 Warn 15:44:31.424] Caught an exception - GLib.GException: Error interpreting JPEG image file (Wrong JPEG library version: library is 80, caller expects 62) (in `f-spot') at PixbufUtils.Save (Gdk.Pixbuf pixbuf, System.String filename, System.String type, UInt32 jpeg_quality) [0x00079] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:504 at PixbufUtils.SaveToSuitableFormat (Hyena.SafeUri destination, Gdk.Pixbuf pixbuf, UInt32 jpeg_quality) [0x00053] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:474 at PixbufUtils.CreateDerivedVersion (Hyena.SafeUri source, Hyena.SafeUri destination, UInt32 jpeg_quality, Gdk.Pixbuf pixbuf) [0x00000] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:453 at FSpot.Photo.SaveVersion (Gdk.Pixbuf buffer, Boolean create_version) [0x00060] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/FSpot/Photo.cs:245 [1 Warn 15:44:31.445] Caught an exception - GLib.GException: Error interpreting JPEG image file (Wrong JPEG library version: library is 80, caller expects 62) (in `f-spot') at PixbufUtils.Save (Gdk.Pixbuf pixbuf, System.String filename, System.String type, UInt32 jpeg_quality) [0x00079] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:504 at PixbufUtils.SaveToSuitableFormat (Hyena.SafeUri destination, Gdk.Pixbuf pixbuf, UInt32 jpeg_quality) [0x00053] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:474 at PixbufUtils.CreateDerivedVersion (Hyena.SafeUri source, Hyena.SafeUri destination, UInt32 jpeg_quality, Gdk.Pixbuf pixbuf) [0x00000] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:453 at FSpot.Photo.SaveVersion (Gdk.Pixbuf buffer, Boolean create_version) [0x00060] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/FSpot/Photo.cs:245 (f-spot:10556): 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.
Created attachment 176834 [details] output using f-spot --debug
Created attachment 176835 [details] Screendump showing error attempting to crop
Output using --debug when exporting and resizing (1200 pixels) (f-spot:10780): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated [5 Debug 15:51:45.741] Resize Photos to 1200. [5 Debug 15:51:45.749] open uri = file:///jpegs/2009/12/20/Durham%20Home%20--%20beer%20--%20Sun%2020%20Dec%202009%2001-26-08%20PM%20GMT.jpg [5 Debug 15:51:46.114] open uri = file:///jpegs/2009/12/20/Durham%20Home%20--%20beer%20--%20Sun%2020%20Dec%202009%2001-26-08%20PM%20GMT.jpg [5 Error 15:51:46.605] GLib.GException: Error interpreting JPEG image file (Wrong JPEG library version: library is 80, caller expects 62) at PixbufUtils.Save (Gdk.Pixbuf pixbuf, System.String filename, System.String type, UInt32 jpeg_quality) [0x00079] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:504 at PixbufUtils.SaveToSuitableFormat (Hyena.SafeUri destination, Gdk.Pixbuf pixbuf, UInt32 jpeg_quality) [0x00053] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:474 at PixbufUtils.CreateDerivedVersion (Hyena.SafeUri source, Hyena.SafeUri destination, UInt32 jpeg_quality, Gdk.Pixbuf pixbuf) [0x00000] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/PixbufUtils.cs:453 at FSpot.Filters.ResizeFilter.Convert (FSpot.Filters.FilterRequest req) [0x00080] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/FSpot.Filters/ResizeFilter.cs:54 at FSpot.Filters.FilterSet.Convert (FSpot.Filters.FilterRequest req) [0x0001f] in /home/dougie/f-spot-0.8.2/src/Clients/MainApp/FSpot.Filters/FilterSet.cs:30 at FSpot.Exporters.Folder.FolderGallery.ProcessImage (Int32 image_num, FSpot.Filters.FilterSet filter_set) [0x00059] in /home/dougie/f-spot-0.8.2/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs:455 at FSpot.Exporters.Folder.FolderExport.Upload () [0x00221] in /home/dougie/f-spot-0.8.2/src/Extensions/Exporters/FSpot.Exporters.Folder/FSpot.Exporters.Folder/FolderExport.cs:208
f-spot is not under active development anymore, has not seen code changes for five years, and saw its last tarball release in the year 2010. Its codebase has been archived: https://gitlab.gnome.org/Archive/f-spot/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.