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 627745 - F-Spot crashes when path contains non-7bit characters
F-Spot crashes when path contains non-7bit characters
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: General
0.7.2
Other Linux
: High critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-08-23 16:54 UTC by Patrick
Modified: 2018-07-01 09:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Crash log (24.25 KB, application/octet-stream)
2010-08-23 16:54 UTC, Patrick
Details

Description Patrick 2010-08-23 16:54:20 UTC
Created attachment 168569 [details]
Crash log

When opening F-Spot and opening an existing Picture, I often get this error/crash:

Unhandled Exception: GLib.GException: Value of PNG-Text-Chunk Thumb::URI could not be converted to ISO-8859-1 encoding.

The picture I clicked on has special characters in it's URI, that are not part of ISO-8859-1, but my computer actually works with UTF-8, so I haven't had any problems so far.

Here's the original message (partly in german), attached a complete debug output:
Unhandled Exception: GLib.GException: Wert für PNG-Text-Chunk Thumb::URI konnte nicht in ISO-8859-1-Zeichenkodierung umgewandelt werden.
  at FSpot.Utils.XdgThumbnailSpec.Save (Gdk.Pixbuf pixbuf, System.String filename, System.String type, System.String uri_opt, System.String mtime_opt) [0x00000] 
  at FSpot.Utils.XdgThumbnailSpec.CreateFrom (Hyena.SafeUri uri, Hyena.SafeUri thumb_uri, ThumbnailSize size, FSpot.Utils.PixbufLoader loader) [0x00000] 
  at FSpot.Utils.XdgThumbnailSpec.LoadThumbnail (Hyena.SafeUri uri, ThumbnailSize size, FSpot.Utils.PixbufLoader loader) [0x00000] 
  at FSpot.Utils.XdgThumbnailSpec.LoadThumbnail (Hyena.SafeUri uri, ThumbnailSize size) [0x00000] 
  at FSpot.ThumbnailLoader.ProcessRequest (.RequestItem request) [0x00000] 
  at ImageLoaderThread.WorkerThread () [0x00000]
Comment 1 Felipe Besoaín Pino 2010-08-24 17:59:57 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Patrick 2010-08-24 18:53:43 UTC
After talking to gonzalo_ in #f-spot on irc.gnome.org, he confirmed that the debug output contains the stacktrace.

He adviced me to provide the path to the picture I clicked:

It is:

/home/paddy/Photos/2010/100630-0822_Moldawien/100701_Donnerstag_Chișinau/DSCF_0019.JPG

The letter "ș" is a Romanian character which was only introduced in Unicode 3.0 and in ISO-8859-16 in 1999. ISO-8859-1 doesn't have it. I don't know why f-spot is trying to convert it to ISO anyway...
Comment 3 Artemy Tregubenko 2010-09-10 10:36:18 UTC
I too have this issue because most of my photos are in folders containing Cyrillic characters in their names.
Comment 4 Photon 2010-10-23 12:36:05 UTC
A bug report concerning this issue (including debug output) on Ubuntu's launchpad: https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/658268
Comment 5 Ruben Vermeersch 2010-10-23 12:58:47 UTC
Looks like the problem here is in the PNG writing code of GDK, which seems to insist on writing ISO-8859-1. Getting this wrong means we won't adhere to the thumbnail spec, but GDK is at fault here.

Can be fixed by doing a "best-effort" conversion and using that value. I don't think we use it in F-Spot anyway (need to check though).
Comment 6 André Klapper 2010-10-23 13:13:25 UTC
Other bugtracker link ===> "See Also" field
Comment 7 Arun Persaud 2012-10-18 04:02:14 UTC
Can't reproduce this with f-spot version b68c243c6e85434382f6f941f123d031530d2e21 (2012-10-17). I created a directory with pictures, named one Donnerstag_Chișinau and also created a directory with that name and put a picture in that directory. F-spot imported and showed those files OK, no crash... Would be great, if the reporters could confirm if this is still an issue.
Comment 8 Artemy Tregubenko 2012-10-20 10:39:08 UTC
Now it works fine for me
Comment 9 André Klapper 2018-07-01 09:00:58 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.