Bug#412584: texlive-pstricks: pst-map2dII causes Ghostscript ERROR: /invalidfileaccess in --file--
reopen 412584
retitle 412584 /invalidfileaccess with relative paths
clone 412584 -1
reassign 412584 gs-common
reassign 412584 gs-esp
thanks
Frank Küster <frank@kuesterei.ch> wrote:
> Arnout Boelens <aboelens@engin.umass.edu> wrote:
>
>> On Wednesday 28 February 2007, Frank Küster wrote:
>>> Arnout Boelens <aboelens@engin.umass.edu> wrote:
>>>
>>> > If I move everything from ../dataII to ./data (and remove the
>>> > \psset{path=../dataII}) it works here. The error shows up when I perform ps2pdf.
This seems to be a bug in tools that use gs, and in gs-esp, but gs-gpl
and gs-afpl have no problem. How to reproduce:
mkdir dataII
cd dataII
wget ftp://sunsite.cnlab-switch.ch/mirror/tex/graphics/pstricks/contrib/pst-geo/dataII/dataII.tgz
tar -xzf dataII.tgz
cd ..
mkdir psfiledir
cd psfiledir
wget http://people.debian.org/~frank/mapplot.ps
Now, to view how gs itself has no problem with the file
gs-gpl mapplot.ps #takes a while to draw the world map, gs-afpl works as well
But ps2pdf gives an error (gv too):
$ ps2pdf mapplot.ps
Error: /invalidfileaccess in --file--
Operand stack:
(../dataII/europe-cil.dat) (r)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1 6 %oparray_pop --nostringval--
Dictionary stack:
--dict:1121/1686(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:180/300(L)-- --dict:38/200(L)-- --dict:121/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 54204
GPL Ghostscript 8.54: Unrecoverable error, exit code 1
gs-esp, on the other hand, just calculates for approximately the same
time as the other implementations, but does not show a window or builds
up the map, and then exits silently without showing anything.
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: