GNOME Bugzilla – Bug 692522
"Error loading PSD file: No such file or directory": "End of element <xmpMM:DerivedFrom> not expected in this context"
Last modified: 2013-02-06 23:17:37 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
Can you attach the file please?
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).
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 ***