After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 637638 - Resize during export to folder fails
Resize during export to folder fails
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: Export
0.8.2
Other Linux
: Normal major
: ---
Assigned To: Tim Howard
F-spot maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-12-20 08:10 UTC by Dougie Nisbet
Modified: 2018-07-01 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screendump showing error (278.41 KB, image/png)
2010-12-20 08:10 UTC, Dougie Nisbet
Details
output using f-spot --debug (64.18 KB, text/plain)
2010-12-21 15:48 UTC, Dougie Nisbet
Details
Screendump showing error attempting to crop (840.37 KB, image/png)
2010-12-21 15:49 UTC, Dougie Nisbet
Details

Description Dougie Nisbet 2010-12-20 08:10:33 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.
Comment 1 Dougie Nisbet 2010-12-20 08:13:16 UTC
This seems strongly associated with the image resize option. The same selection exports without error if resize is not enabled.
Comment 2 Dougie Nisbet 2010-12-20 12:39:44 UTC
I also get this message when attempting to crop an image.
Comment 3 Tim Howard 2010-12-21 15:34:15 UTC
Can you repeat it but include the output from f-spot --debug when you do it?
Comment 4 Dougie Nisbet 2010-12-21 15:40:39 UTC
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.
Comment 5 Dougie Nisbet 2010-12-21 15:48:13 UTC
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.
Comment 6 Dougie Nisbet 2010-12-21 15:48:53 UTC
Created attachment 176834 [details]
output using f-spot --debug
Comment 7 Dougie Nisbet 2010-12-21 15:49:55 UTC
Created attachment 176835 [details]
Screendump showing error attempting to crop
Comment 8 Dougie Nisbet 2010-12-21 15:52:15 UTC
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
Comment 9 André Klapper 2018-07-01 08:52:49 UTC
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.