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 384762 - GIMP 2.2.13 fails to open *.psd-files (previously edited and saved in same version)
GIMP 2.2.13 fails to open *.psd-files (previously edited and saved in same ve...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other All
: Normal normal
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-12-11 17:18 UTC by singularity
Modified: 2008-01-15 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File that GIMP has made, but is unable to open (113.16 KB, image/psd)
2006-12-11 19:07 UTC, singularity
Details

Description singularity 2006-12-11 17:18:07 UTC
How to reproduce:

1. Open a .psd-file saved in a previous version of GIMP.

2. Edit the file and save the changes.

3. Trying to open it later results in this error message (roughly translated, that the plugin was unable to open the image):

GIMP Melding

Åpning av «/lager/prosjekter/Julekort/2006/Julekort-forside.psd» feilet:

Programtillegg kunne ikke åpne bilde
Comment 1 Sven Neumann 2006-12-11 18:58:06 UTC
Can you attach a small example file to this bug report?
Comment 2 singularity 2006-12-11 19:07:07 UTC
Created attachment 78149 [details]
File that GIMP has made, but is unable to open

The file I had a problem with is 22,2 MB.

I created this file for cutting and pasting into that, and it seems that attempting to open this results in the same error message.
Comment 3 singularity 2006-12-11 19:14:23 UTC
So it seems that the scope of this bug is somewhat larger than I first described.

GIMP 2.2.13 does not open .psd-files saved in the same version at all, not just files that has been changed after being created in a previous version.
Comment 4 Michael Natterer 2006-12-11 19:16:58 UTC
CVS HEAD fails to open the file and says:

Error: layer blend signature is incorrect. :-(

Confirming (even though i didn't try 2.2)
Comment 5 Mukund Sivaraman 2007-02-01 09:28:06 UTC
2.2.13 fails too.

Comment 6 Sven Neumann 2007-02-01 13:22:14 UTC
This seems to be a duplicate of bug #335130. If someone could port the patch attached there to the 2.2 branch, that should fix the issue.
Comment 7 Mukund Sivaraman 2007-02-03 06:00:19 UTC
singularity:

Please can you checkout a copy of the gimp-2-2 branch from Subversion and compile it and verify if this problem you reported is fixed? I have tested it here and it fixes the issue, but it'd be nice if you also confirm it.

Comment 8 Michael Schumacher 2007-02-03 20:08:14 UTC
Works for me with gimp-2-2.
Comment 9 Sven Neumann 2007-02-04 21:30:32 UTC
2007-02-03  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/psd_save.c: Backported fixes from bug #335130 to
          this branch to make psd_save work properly on 64-bit platforms;
          this should fix #384762; also fixed a warning about incompatible
          data types

This means that the next release in the 2.2 series (2.2.14) should write correct files again. Unfortunately the PSD files written with the broken version on 64bit machines are broken and I don't see any way to work around that problem in the loader plug-in. Closing as FIXED.