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 666865 - metadata issue - The end of element <xmpMM:DerivedFrom> was not expected in this context
metadata issue - The end of element <xmpMM:DerivedFrom> was not expected in t...
Status: RESOLVED DUPLICATE of bug 667038
Product: GIMP
Classification: Other
Component: libgimp
git master
Other Linux
: Normal minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2011-12-26 13:57 UTC by melchiaros
Modified: 2013-02-06 23:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
original image (614.00 KB, image/jpeg)
2012-09-30 15:45 UTC, Ari Pollak
Details
modified image (616.80 KB, image/jpeg)
2012-09-30 15:46 UTC, Ari Pollak
Details

Description melchiaros 2011-12-26 13:57:17 UTC
I´am on openSUSE12.1 64bit with GIMP2.7.5 git 1324799282


When I import a special picture(I attach, when it is not to big) I get the gdb message(german):

While parsing XMP metadata:
Fehler in Zeile 51 Zeichen 1: Das Ende von Element <xmpMM:DerivedFrom> wurde in diesem Zusammenhang nicht erwartet

Metadata parasite seems to be corrupt

Translated it should be:

While parsing XMP metadate:
Error in line 51 symbol 1: The end of element <xmpMM:DerivedFrom> was not expected in this context

Metadata parasite seems to be corrupt

--------------------------------------------------------------------------------

I could not decide if it is a problem of metadata tagging or a problem of the parser itself. So when attaching the picture is working please have a look.

When the picture is to big and you are interested, please give me a other upload possibility.
Comment 1 melchiaros 2011-12-26 13:58:53 UTC
Upload failed.
Comment 2 Michael Schumacher 2011-12-28 21:39:15 UTC
Can you attach a smaller image that causes the same problem?
Comment 3 melchiaros 2011-12-29 10:28:58 UTC
I will look for, but it is not so easy to find one that is under 1MB.
Comment 4 Ari Pollak 2012-09-30 15:44:55 UTC
I had a similar report at http://bugs.debian.org/682791:

# Take out of camera jpeg. - Correct behavior, no XMP is present
ametzler@argenau:~/IMAGES/gimp-bug$ LC_ALL=C gimp P1030069.JPG
While parsing XMP metadata:
Error: No XMP packet found
# Add XMP-iptcCore:Location
ametzler@argenau:~/IMAGES/gimp-bug$ cp P1030069.JPG P1030069-XMPLocation.jpeg
ametzler@argenau:~/IMAGES/gimp-bug$ exiftool  -overwrite_original_in_place -XMP-iptcCore:Location="Desktop" P1030069-XMPLocation.jpeg
    1 image files updated
ametzler@argenau:~/IMAGES/gimp-bug$ LC_ALL=C gimp P1030069-XMPLocation.jpeg
While parsing XMP metadata:
Error on line 49 char 1: End of element <exif:Flash> not expected in this context

Metadata parasite seems to be corrupt
# Lets make another try, using exiv2 instead of exiftool
ametzler@argenau:~/IMAGES/gimp-bug$ cp P1030069.JPG P1030069-xmp_set_with_exiv2.JPG
ametzler@argenau:~/IMAGES/gimp-bug$ exiv2 mo -M 'set Xmp.iptc.Location XmpText Desktop' P1030069-xmp_set_with_exiv2.JPG
ametzler@argenau:~/IMAGES/gimp-bug$ LC_ALL=C gimp P1030069-xmp_set_with_exiv2.JPG
While parsing XMP metadata:
Error on line 49 char 1: End of element <exif:Flash> not expected in this context

Metadata parasite seems to be corrupt
-------------------

Camera is a Panasonic Lumix G2
Comment 5 Ari Pollak 2012-09-30 15:45:49 UTC
Created attachment 225429 [details]
original image
Comment 6 Ari Pollak 2012-09-30 15:46:05 UTC
Created attachment 225430 [details]
modified image
Comment 7 Róman Joost 2013-02-06 23:19:52 UTC
Thanks for this report. I'll merge it with #667038 and flag this one as a duplicate.

*** This bug has been marked as a duplicate of bug 667038 ***