Unhandled Exception: GLib.GException: Value for PNG text chunk Thumb::URI cannot be converted to ISO-8859-1 encoding.

Bug #691695 reported by Haggai Eran
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: f-spot

Hi,

I'm using Ubuntu Maverick (f-spot version 0.8.0-1). Some of my photos do not appear in browse mode, and when I try to open them f-spot crashes with the following output:

Unhandled Exception: GLib.GException: Value for PNG text chunk Thumb::URI cannot be converted to ISO-8859-1 encoding.
  at Gdk.Pixbuf.Savev (System.String filename, System.String type, System.String[] option_keys, System.String[] option_values) [0x00000] in <filename unknown>:0
  at FSpot.Utils.XdgThumbnailSpec.CreateFrom (Hyena.SafeUri uri, Hyena.SafeUri thumb_uri, ThumbnailSize size, FSpot.Utils.PixbufLoader loader) [0x00000] in <filename unknown>:0
  at FSpot.Utils.XdgThumbnailSpec.LoadThumbnail (Hyena.SafeUri uri, ThumbnailSize size, FSpot.Utils.PixbufLoader loader) [0x00000] in <filename unknown>:0
  at FSpot.Utils.XdgThumbnailSpec.LoadThumbnail (Hyena.SafeUri uri, ThumbnailSize size) [0x00000] in <filename unknown>:0
  at FSpot.ThumbnailLoader.ProcessRequest (.RequestItem request) [0x00000] in <filename unknown>:0
  at ImageLoaderThread.WorkerThread () [0x00000] in <filename unknown>:0

The path to the photo does not include only ISO-8859-1 characters, but is UTF-8 encoded. Is this the cause of the problem? I don't remember any problems with my paths in the previous versions of f-spot.

Regards,
Haggai

Revision history for this message
David Raviv (davrav) wrote :

I can confirm that.
f-spot worked fine with UTF-8 path until I've installed Maverick with f-spot 0.8.0. Currently thumbnails does not appear and the application crushes each time I choose to display an image yielding the aforementioned stuck trace.

Please let me know if you need further testing to be performed.
Thanks, David.

Revision history for this message
Andrew Ivanov (aa.ivanov) wrote :

I can confirm I'm suffering the above described issue ever since I upgraded to 10.10. I can open none of the images in f-spot and thumbnails regeneration also fails.

I have attempted to pull f-spot from the team's PPA (https://launchpad.net/~f-spot/+archive/f-spot-ppa). The current version there is 0.8.2. However the behavior does not change with this new version.

Perhaps renaming folders to remove the offending non-latin symbols and then manually correcting all records in f-spot's database will get it back to a (kind of) working state. I have not tested that though.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in f-spot (Ubuntu):
status: New → Confirmed
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.