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 736811 - Opening an EPS file fails - libgs*.dll packaging issue
Opening an EPS file fails - libgs*.dll packaging issue
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Windows Installer
2.8.14
Other Windows
: Normal blocker
: 2.8
Assigned To: GIMP Bugs
Jernej Simončič
: 739318 742133 780311 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-09-17 15:16 UTC by Andy
Modified: 2018-05-24 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andy 2014-09-17 15:16:07 UTC
Hi everybody,

Basic Information:

- Gimp 2.8.14
- Windows 8, 64 Bit
- Ghostscript 9.14, 64 Bit

Problem: 

Upon opening the eps image i get the following error:
Opening .... failed:
Could not interpret Postscript file 'C:\Users...eps

Thanks 
Andrew
Comment 1 Michael Schumacher 2014-09-24 07:53:54 UTC
Confirming. This was traced back to the libgs in the installer, iirc.
Comment 2 Michael Schumacher 2014-10-28 21:22:29 UTC
*** Bug 739318 has been marked as a duplicate of this bug. ***
Comment 3 Jako Grobler 2014-11-23 14:45:05 UTC
This is a regression. Please see: Bug 689207
Comment 4 Michael Schumacher 2015-01-09 14:33:02 UTC
*** Bug 742133 has been marked as a duplicate of this bug. ***
Comment 5 pickwick81 2015-12-16 14:55:59 UTC
I have the same problem with Gimp 2.8.16. To resolve, I tried both mentioned workarounds in bug 689207 and reinstalled first with /32 switch into "C:\Program Files (x86)", but that didn't resolve the problem. After reinstalling without any switch, so the 64 Bit version is installed, I copied the main DLL from a seperate 64 Bit Ghostscript 9.18 installation, renamed like mentioned in the bug and was finally able to import EPS files again.

According to the Task Manager, "/32" was properly recognized, because the executed Gimp.exe and file-ps.exe where shown to be 32 Bit apps and Dependency Walker said that libgs-8.dll was x86 as well. The default 64 Bit installation shows 64 bit for both exes and x64 in Dependency Walker for the DLL. So the installed architectures seem to be OK. Using Process Monitor I saw that in both versions file-ps.exe does something with libgs-8.dll, but in the 32 Bit installation it takes some more seconds until an error message is presented and it is different from the error mentioned in this bug for the 64 Bit versions. This makes clear again that I've successfully tried with both different architectures, but looks like there might be two different errors.

The 32 Bit version presented two error messages in one window:

First:

> Das Plugin »file-ps.exe« ist abgestürzt
> (C:\Program Files (x86)\GIMP 2\lib\gimp\2.0\plug-ins\file-ps.exe)

> Das abgestürzte Plugin hat GIMP eventuell instabil gemacht. Sie sollten sicherheitshalber Ihre Bilder jetzt abspeichern und anschließend GIMP neu starten.

Second:

> Das Öffnen von »C:\Users\tschoening\Documents\httpd\cgi-bin\login\referenz\sites\images\am-soft-kopf.eps« ist fehlgeschlagen:

> Prozedur »file-eps-load« hat sich ohne Rückgabewerte beendet

The 64 Bit version presented only one error message:

> Das Öffnen von »C:\Users\tschoening\Documents\httpd\cgi-bin\login\referenz\sites\images\am-soft-kopf.eps« ist fehlgeschlagen:

> PostScript-Datei »C:\Users\tschoening\Documents\httpd\cgi-bin\login\referenz\sites\images\am-soft-kopf.eps« konnte nicht interpretiert werden.

Though I installed an English version, the errors were presented in my native lang of the OS. The 64 Bit error is exactly like in the description for this bug, the 32 Bit error message is something like the following:

> The Plugin "file-ps.exe" has aborted
> (C:\Program Files (x86)\GIMP 2\lib\gimp\2.0\plug-ins\file-ps.exe)

> The aborted Plugin may have made GIMP instable.[...]

> The opening of »C:\Users\tschoening\Documents\httpd\cgi-bin\login\referenz\sites\images\am-soft-kopf.eps« failed:

> Procedure »file-eps-load« ended without returning any data.
Comment 6 boehmtho 2016-11-10 16:39:54 UTC
I have the same problem. Opening .eps files does not work out of the box with GIMP 2.8.18 64bit on Windows 10 64-bit. I did test that with a freh installation on another windows system. On both systems the problem could be fixed by using the gsdll64.dll from GhostScript. See https://bugzilla.gnome.org/show_bug.cgi?id=689207#c32
Looks like the problem need still to be fixed.

Regards
Comment 7 sylvie.alexandre 2017-02-09 11:20:21 UTC
Bonjour,

Same problem with Gimp 2.8.20 (Win 10 64bit Pro).

The problem, with this version is libgs-8.dll

Gimp 2.8.20 Win 64 works with an other DLL and open PS & EPS files.

Regards.

Merci


*******

A solution that works but is DIY...

From msys2 64 bit take :
libgs-9.dll and rename it libgs-8.dll
libopenjp2-7.dll

Put the 2 DLL in the Gimp \bin folder.
Comment 8 Michael Schumacher 2017-03-11 11:14:54 UTC
Elevating to blocker for a 2.8.22 installer.
Comment 9 Michael Schumacher 2017-03-20 16:23:53 UTC
*** Bug 780311 has been marked as a duplicate of this bug. ***
Comment 10 Michael Schumacher 2017-03-20 16:29:08 UTC
Current version of Ghostscript is 9.20.
Comment 11 Michael Schumacher 2017-05-19 07:52:45 UTC
We solved this for the 64-bit versions of GIMP 2.8.22, but couldn't find why the 32-bit versions kept crashing. So for now, 32-bit GIMP releases ship without (Encapsulated) Postscript support.
Comment 12 bugzilla 2018-03-08 19:31:44 UTC
we've 2.8.22 on 32bit-windows7 and also have always a failure of file-ps.exe within libgs-8.dll

we could solve it by replacing this version of libgs-8.dll by that one, which is shipped with 2.8.10

(a discussion in the net leads to this possible solution)

we haven't tested any later versions of the dll due to less of time and complicated extraction of the dll.

but it should now be possible to look at the changes between this versions to identify possible reasons for this crash.

if there's a simpler access any test- or later versions of this dll, we would test them, if the devellopers has no access to a 32bit-Windows-system
Comment 13 sylvie.alexandre 2018-03-08 20:24:53 UTC
(In reply to bugzilla from comment #12)
 
> if there's a simpler access any test- or later versions of this dll, we
> would test them, if the devellopers has no access to a 32bit-Windows-system

You can try the Gimp version 2.9.9 available from this page translated into English :

https://translate.google.com/translate?sl=fr&tl=en&js=y&prev=_t&hl=fr&ie=UTF-8&u=https%3A%2F%2Fsamjcreations.blogspot.ca%2F2018%2F03%2Fversion-de-developpement-gimp-299.html

This version can open EPS files.
Comment 14 GNOME Infrastructure Team 2018-05-24 14:39:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/586.