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 692522 - "Error loading PSD file: No such file or directory": "End of element <xmpMM:DerivedFrom> not expected in this context"
"Error loading PSD file: No such file or directory": "End of element <xmpMM:D...
Status: RESOLVED DUPLICATE of bug 667038
Product: GIMP
Classification: Other
Component: Plugins
2.8.2
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-01-25 12:46 UTC by Daniel Hahler
Modified: 2013-02-06 23:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Hahler 2013-01-25 12:46:12 UTC
I am getting a "No such file or directory" message box when trying to open a .psd file and the following output in the console:

    While parsing XMP metadata:
    Error on line 49 char 55: End of element <xmpMM:DerivedFrom> not expected in this context

Line 49 is the following:

    <xmpMM:DerivedFrom rdf:parseType="Resource"/>

Making the "xmpMM:DerivedFrom" tag not self-closed ("/>" => ">", [1]) appears to fix it, but I am then running into another error ("Too many channels in layer: 1279").

To fix(?) the first error I used this command:

    sed -i 's~<xmpMM:DerivedFrom rdf:parseType="Resource"/>~<xmpMM:DerivedFrom rdf:parseType="Resource">~' /tmp/foo.psd
Comment 1 Michael Natterer 2013-01-27 19:49:36 UTC
Can you attach the file please?
Comment 2 Daniel Hahler 2013-01-30 13:21:55 UTC
I would like to avoid attaching the file, because it's not from myself.

But I can say that it's not the error that is causing the error in the first place:
with a file saves in compatibility mode, I get the following:

    % gimp tb-back-2.psd
    While parsing XMP metadata:
    Error on line 49 char 55: End of element <xmpMM:DerivedFrom> not expected in this context
    lcms: skipping conversion because profiles seem to be equal:
     sRGB IEC61966-2.1
     sRGB built-in


With the same file not saved in compatibility mode I get an error "Error loading PSD file: No such file or directory" (in a popup):

    % gimp tb-back-3.psd
    While parsing XMP metadata:
    Error on line 49 char 55: End of element <xmpMM:DerivedFrom> not expected in this context

So the error on the console is at least not fatal, but the real error does not get displayed (but apparently an irrelevant one).

Could it be that it is missing a font or other embedded things?

I saved the test files from this comment with CS6 (13.0 20120315.r.428).
Comment 3 Róman Joost 2013-02-06 23:17:37 UTC
Thanks for this report. I'll flag this report as a duplicate of #667038.

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