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

Bug#314169: gs: gs -sDEVICE=ppmraw fails with unrecoverable error



reassign 314169 ghostscript
found 314169 gs/8.01-5
found 314169 ghostscript/9.00~dfsg-2
tags 314169 + confirmed help
quit

Hi,

Uwe Muench wrote:

> when calling gs with the option -sDEVICE=ppmraw, 
> 	36> gs -sDEVICE=ppmraw fax-eltern-1.ps
> it fails with this error message: 

So it does. [1]

> The same happens when trying to open the PS file with 'xv', because
> that program calls 'gs' with the option -sDEVICE=ppmraw.

For curiosity's sake, what version of xv do you have?  It seems it was
removed from the archive after 3.10a-26 or so but snapshot.debian.org
only has 3.10a-20.

gs experts: is this an error in usage or is something terribly wrong?
Even in the former case the error message could be improved.

Thanks for a clear report.

Regards,
Jonathan

[1]
$ gs -dSAFER -sDEVICE=x11 debian-cd.ps
GPL Ghostscript  9.00 (2010-09-14)
[...]
Substituting font Helvetica-Bold for Arial-Bold.
Loading NimbusSanL-Bold font from /usr/share/fonts/type1/gsfonts/n019004l.pfb... 2587224 1248792 6359328 4089934 5 done.
>>showpage, press <return> to continue<<

>>showpage, press <return> to continue<<

>>showpage, press <return> to continue<<

>>showpage, press <return> to continue<<

GS>quit
$ gs -dSAFER -sDEVICE=laserjet debian-cd.ps
GPL Ghostscript  9.00 (2010-09-14)
[...]
Substituting font Helvetica-Bold for Arial-Bold.
Loading NimbusSanL-Bold font from /usr/share/fonts/type1/gsfonts/n019004l.pfb... 2610424 1253752 3911248 1642131 5 done.
GPL Ghostscript  9.00: **** Could not open the file  .
Error: /invalidfileaccess in --showpage--
Operand stack:
   1   true
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--   1777   0   4   %oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1153/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   --dict:108/300(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 180508
GPL Ghostscript  9.00: Unrecoverable error, exit code 1
GPL Ghostscript  9.00: **** Could not open the file  .
GPL Ghostscript  9.00: ERROR -9 closing laserjet device. See gs/src/ierrors.h for code explanation.




Reply to: