[tex-live] dviout hangs/fails when calling gswin32(c)

Christian Zietz czietz at gmx.net
Sun Jan 3 12:04:53 CET 2010


Hello,

in de.comp.text.tex a user reported problems with dviout under Windows 7
x64 when viewing DVI files generated from LaTeX source that includes EPS
graphics. I was able to confirm that problem (using Windows Vista x64)
and I have been asked to summarize my findings for this list.

dviout calls Ghostscript to convert EPS files into bitmaps for display.
However, gswin32 (used by default) simply hangs, thus also causing
dviout to hang. gswin32c fails with an error message, which I quoted
below. (Note that while the error message is from a portable version of
TL2009, the problem also occurs with the version installed on HD.)

I noticed that the path mentioned in the error message
(E:\tlpkg\tlgs\Resource) does not exist. Removing the reference to this
path from the dviout wrapper shipped with TL (bin\win32\dviout.bat, the
line setting the environment variable GS_LIB) resolved the problem both
for me and for the user asking for help.

Christian Zietz

gswin32c error message:
> While reading gs_res.ps:
> Error: /rangecheck in --getinterval--
> Operand stack:
>    (gs_res.ps)   (E:\\tlpkg\\tlgs\\Resource)   ()   0   1
> Execution stack:
>    %interp_exit   --nostringval--   --nostringval--   --nostringval--   %array_c
> ontinue   --nostringval--   --nostringval--   --nostringval--   false   1   %sto
> pped_push   --nostringval--   --nostringval--   --nostringval--   %array_continu
> e   --nostringval--
> Dictionary stack:
>    --dict:777/1123(G)--   --dict:63/200(L)--   --dict:777/1123(G)--   --dict:165
> /251(G)--   --dict:777/1123(G)--   --dict:23/40(ro)(G)--
> Last OS error: No such file or directory
> Current file position is 11736
> Unrecoverable error: undefined in .uninstallpagedevice
> Operand stack:
>     gs_res.ps  E:\tlpkg\tlgs\Resource    0  1
-- 
Christian Zietz  -  CHZ-Soft  -  czietz at gmx.net
WWW: http://www.chzsoft.com.ar/
PGP/GnuPG-Key-ID: 0x6DA025CA


More information about the tex-live mailing list