[Digikam-devel] [Bug 308712] Geolocation window corrupts XMP files

james at lab6.com james at lab6.com
Sat Oct 20 17:44:36 BST 2012


https://bugs.kde.org/show_bug.cgi?id=308712

--- Comment #3 from james at lab6.com ---
I did a test with the same image in Geeqie. That too issued the same truncated
XMP file when writing metadata. In the terminal window was the message:

  Error: XMP Toolkit error 4: Invalid UTF-8 sequence length 
  Error: Failed to encode XMP metadata.
  Error: XMP Toolkit error 4: Invalid UTF-8 sequence length
  Error: Failed to encode XMP metadata.

The image in question was taken by a Samsung Galaxy S3 which for some reason
embeds the caption "ΓΈ;" (including two nonprintable characters) in every
photo. I re-tested Digikam with an image from a Canon 550D (which embeds no
such nonsense), and the bug did not occur.

Googling these error messages turned up this:
http://dev.exiv2.org/boards/3/topics/1073

Is it possible that exiv2 is being fed non-UTF-8 characters, triggering the
error?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list