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

Bug#414002: Same error ... narrowed down (?)



Hi there

I'm getting the same error. The following is my input file ``f.tex''.

----------------------------------------------------------

\documentclass{article}

\usepackage{pstricks}
\usepackage{pstricks-add}

\begin{filecontents}{data/matrix.data}
/dotmatrix[
0 1 1 0 0 0 0 1 1 1
0 1 1 0 1 1 1 0 1 0
1 0 1 1 0 0 0 1 1 0
0 0 1 0 0 0 0 0 1 1
1 1 1 1 1 0 1 0 0 1
0 0 1 1 0 1 0 1 1 1
1 0 0 0 1 1 0 0 0 1
0 0 0 1 1 1 0 1 1 0
1 1 0 0 0 0 1 0 0 1
1 0 1 0 0 1 1 1 0 0
]def
\end{filecontents}

\begin{document}

\thispagestyle{empty}

\begin{pspicture}(10,10)
	\psMatrixPlot[colorType=1,xStep=1,yStep=1]{10}{10}{data/matrix.data}
\end{pspicture}

\end{document}

----------------------------------------------------------

Running ``latex f'' works and produces ``f.dvi'' (I have texlive
version 2011 installed). When I try to open ``f.dvi'' with ``evince''
on my Fedora 16 box I get blank page and it says ``.../f.dvi'' no
fonts defined.

Then, just for the sake of it, I run ``dvips f'' and get the file
``f.ps''. This file doesn't finish loading, is blank, and in the
terminal it says ``invalidfileaccess -9 ...''.

To be even more crazy, running ``ps2pdf f.ps'' spits out the following.

----------------------------------------------------------

Error: /invalidfileaccess in --run--
Operand stack:
   (data/matrix.data)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1894
1   3   %oparray_pop   1893   1   3   %oparray_pop   1877   1   3
%oparray_pop   1771   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   1894   1   6
%oparray_pop   --nostringval--
Dictionary stack:
   --dict:1157/1684(ro)(G)--   --dict:0/20(G)--   --dict:130/200(L)--
 --dict:174/300(L)--   --dict:38/200(L)--   --dict:110/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 112555
GPL Ghostscript 9.04: Unrecoverable error, exit code 1

----------------------------------------------------------

I therefore wonder whether the bug is in Ghostscript or somewhere
else, when and where it comes to the handling of colors (my ``dvi''
file has no colors ...).

Many thanks,
Andreas



Reply to: