You are not logged in.

#1 2019-10-28 18:46:34

atsol
Member
Registered: 2019-09-24
Posts: 13

[SOLVED] Ghostscript problem with texlive2019 and pstricks.pro

after updating to GS 9.50 embedding pdf images with xelatex on texlive with pstricks in use
produces the error below and pstricks fails to work. Has anyone see something like this?

Previous GS version was working fine. I tried to downgrade GS but did not work (it was missing some
libraries). Anyway the proper route is to correct this bug.

I run xelatex as root hoping to bypass the "Permission denied" seen below, but it did not work.
Again I got the "Permission denied" error.

%%%
Operand stack:
   (/usr/local/texlive/2019/texmf-dist/dvips/pstricks/pstricks.pro)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   run   --nostringval--   2   %stopped_push   --nostringval--   run   run   false   1   %stopped_push   1990   1   3   %oparray_pop   1989   1   3   %oparray_pop   1977   1   3   %oparray_pop   1833   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   run   --nostringval--   2   %stopped_push   --nostringval--   1990   1   3   %oparray_pop   run
Dictionary stack:
   --dict:736/1123(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--
Current allocation mode is local
Last OS error: Permission denied
Current file position is 69
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
(see the transcript file for additional information)
Output written on ode-pde.pdf (44 pages).
%%%%%%

Last edited by atsol (2019-10-31 07:16:14)

Offline

#2 2019-10-29 12:22:02

Nickolas0
Member
Registered: 2019-02-16
Posts: 30

Re: [SOLVED] Ghostscript problem with texlive2019 and pstricks.pro

The proper route is to report this in right place: https://bugs.ghostscript.com/

Offline

#3 2019-10-29 12:41:16

loqs
Member
Registered: 2014-03-06
Posts: 17,754

Re: [SOLVED] Ghostscript problem with texlive2019 and pstricks.pro

Nickolas0 it could be an intentional change in ghostscript see https://www.ghostscript.com/doc/current … ersion9.50

Offline

#4 2019-10-29 13:08:59

Nickolas0
Member
Registered: 2019-02-16
Posts: 30

Re: [SOLVED] Ghostscript problem with texlive2019 and pstricks.pro

@loqs yes in that case the proper route is to report it to xelatex, texlive or pstricks. This isn;t Arch bug.

Offline

#5 2019-10-30 06:23:06

atsol
Member
Registered: 2019-09-24
Posts: 13

Re: [SOLVED] Ghostscript problem with texlive2019 and pstricks.pro

Good. I will do that. Report it to pstricks. By the way I tested the texlive that comes with Arch and it has the same problem.

Thanks.

Offline

#6 2019-10-31 07:15:49

atsol
Member
Registered: 2019-09-24
Posts: 13

Re: [SOLVED] Ghostscript problem with texlive2019 and pstricks.pro

I talked to Herbert Voss of pstricks and here is the solution for the record:
We modify texlive/2019/texmf-dist/dvipdfmx/dvipdfmx.cfg
line 159, from
D  "rungs -q -dNOPAUSE -dBATCH ...
to
D  "rungs -q -dNOSAFER -dNOPAUSE -dBATCH ...

Offline

Board footer

Powered by FluxBB