On Sat, 2006-04-29 at 01:02 +0000, Sam Drinkard wrote:
Just tried to run a perl script to do some ripping and converting of a postscript file, and ghostscript bombed out with the error message below.  Can someone tell me is this really a ghostscript error, or is there more to it than this?  If need be, I can attach the perl script that caused the error, but I think it is OK.  Don't have another machine to test it on.  Oh yeah, FWIW, this is an  x86_64 machine.

Thanks...

Sam

$ perl pstojpg.pl wrf_plots.ps
Ripping pages
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 3221168 1790617 1711216 404182 0 done.
Using NimbusRomanNo9L-Regu font for NimbusRomNo9L-Regu.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 3755248 2307115 1748296 423554 0 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
Error: /invalidfileaccess in --.outputpage--
Operand stack:
   1   true
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--   0   3   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1064/1123(ro)(G)--   --dict:0/20(G)--   --dict:152/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 324324
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
Processing pages

Sorry to bother everyone.  I found the problem myself.  Should have looked before leaping.  I was missing a tmp directory.

Sam