Menu

#31 Version 3.77 can't find GhostScript

v1.0_(example)
closed
None
1
2021-11-22
2021-10-31
Mike
No

Version 3.77 (64-bit) fails to find either the DLL or the EXE for 64-bit GhostScript 9.50 under 64-bit Windows 10 (20H2). Copying GSWIN64C.EXE to GSWIN32C.EXE doesn't help. While the -gs option works, Version 3.77 also fails to properly parse the GSVIEW64.INI file for GhostScript's DLL/EXE. The registry keys GS_DLL and GS_LIB under

HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript\9.50

seem to be correct. I was also unsuccessful in getting Version 3.77 to find GhostScript by using the GS_DLL and GS_LIB environment variables.

Version 3.74 works correctly. Here the output from the "pstoedit -v -gstest":

pstoedit: version 3.77 / DLL interface 108 (built: Sep  4 2021 - release build - MS VC++ 1929 - 64-bit) : Copyright (C) 1993 - 2021 Wolfgang Glunz
pstoedit : path to myself:pstoedit 41 C:\Program Files\gs\pstoedit\pstoedit.DLL
loading plugin: C:\Program Files\gs\pstoedit\drvlplot.dll
creating Dynloader for C:\Program Files\gs\pstoedit\drvlplot.dll
loading dynamic library C:\Program Files\gs\pstoedit\drvlplot.dll completed successfully
loading plugin: C:\Program Files\gs\pstoedit\drvswf.dll
creating Dynloader for C:\Program Files\gs\pstoedit\drvswf.dll
loading dynamic library C:\Program Files\gs\pstoedit\drvswf.dll completed successfully
loading plugin: C:\Program Files\gs\pstoedit\stddrivers.dll
creating Dynloader for C:\Program Files\gs\pstoedit\stddrivers.dll
loading dynamic library C:\Program Files\gs\pstoedit\stddrivers.dll completed successfully
Could not open plug-in directory (C:\Program Files\gs\pstoedit/../lib/pstoedit or didn't find any plugin there

Looking up where to find the PostScript interpreter.
didn't find value in registry, trying gsview32.ini
looking in C:\Users\mitreude\gsview32.ini
nothing found in gsview32.ini file - using find_gs to lookup latest version of Ghostscript in registry
 return code for "Software\GPL Ghostscript" is 0
 enumerate gs versions: "9.50" is number 0 mapped to 95000
 return code for "Software\GPL Ghostscript" is 0
 return code for "Software\GPL Ghostscript" is 0
 enumerate gs versions: "9.50" is number 1 mapped to 95000
 return code for "Software\GPL Ghostscript" is 0
 return code for "Software\GPL Ghostscript" is 0
 enumerate gs versions: "9.50" is number 0 mapped to 95000
 return code for "Software\GPL Ghostscript" is 0
 return code for "Software\GPL Ghostscript" is 0
 enumerate gs versions: "9.50" is number 1 mapped to 95000
 return code for "Software\GPL Ghostscript" is 0
find_gs couldn't find GS in registry
Value found is:gswin32c

Looking up specific options for the PostScript interpreter.
First trying registry for common/GS_LIB
didn't find value in registry, trying gsview32.ini
looking in C:\Users\mitreude\gsview32.ini
still not found an entry - now trying GS_LIB env var.
GS_LIB not set
Value returned:

now calling the interpreter via: gswin32c -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dDELAYSAFER -dNOEPS -c quit
running-win x command line: gswin32c -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dDELAYSAFER -dNOEPS -c quit
Interpreter failure: -1
running-win x command line: gswin32cgswin32c.exe -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dDELAYSAFER -dNOEPS -c quit
Interpreter failure: -1
PostScript/PDF Interpreter finished. Return status -1 executed command : gswin32c -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dDELAYSAFER -dNOEPS -c quit

Discussion

  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-15
    • status: open --> accepted
    • assigned_to: Wolfgang Glunz
     
  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-22
    • status: accepted --> closed
     
  • Wolfgang Glunz

    Wolfgang Glunz - 2021-11-22

    fixed in 3.78

     

Log in to post a comment.

MongoDB Logo MongoDB