auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GS9.54 and Preview


From: Ikumi Keita
Subject: Re: GS9.54 and Preview
Date: Sat, 08 May 2021 20:28:47 +0900

Hi Arash,

>>>>> Arash Esbati <arash@gnu.org> writes:
> Anybody having a similar problem?  I'm using the latest AUCTeX from
> Git.  GS is the version shipped with TL21 which is invoked via `rungs'.

I at last am enable to test on my windows 10. I actually got error.
- It doesn't cause error on FreeBSD 13 with gs 9.54.
- It does cause error on Windows 10 with even with gs *9.53.3*, which
  comes with TL2021.
- It works without error on Widows 10 with gs 9.50 which came with
  TL2020.

----------------------------------------------------------------------
TeX Output exited as expected with code 1 at Sat May  8 20:06:50
Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf 
"_region_.prv/tmpMJff29"/preview.dsc''
Error: /invalidfileaccess in --file--
Operand stack:
   PDFfile   (_region_.pdf)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   2022   1   3   %oparray_pop   
2021   1   3   %oparray_pop   2009   1   3   %oparray_pop   1865   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:757/1123(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: Permission denied
Current file position is 1814
GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1

Preview-PDF2DSC exited abnormally with code 1 at Sat May  8 20:07:03
----------------------------------------------------------------------

I think this is not a fault on AUCTeX side. On windows, "pdf2dsc"
command just fails with similar error:
----------------------------------------------------------------------
C:\Users\景太\Documents\test-tex>pdf2dsc circ.pdf aaa.dsc
Error: /invalidfileaccess in --file--
Operand stack:
   PDFfile   (circ.pdf)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   2022   1   3   %oparray_pop   
2021   1   3   %oparray_pop   2009   1   3   %oparray_pop   1865   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:757/1123(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: Permission denied
Current file position is 1814
GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1
----------------------------------------------------------------------
So it is strongly suspected that pdf2dsc is broken on windows, after
some point of gs 9.50. Maybe ghostscript folks doesn't check the
availability of pdf2dsc on windows when they release new version?

Regards,
Ikumi Keita



reply via email to

[Prev in Thread] Current Thread [Next in Thread]