Home > esp ghostscript > esp ghostscript 815.02 unrecoverable error exit code 1

Esp Ghostscript 815.02 Unrecoverable Error Exit Code 1

& Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux commands Error in using GS (ghostscript) command in Unix UNIX for Dummies Questions & Answers Thread Tools Search this Thread Display Modes #1 01-17-2010 rak007 Registered User Join Date: Jun 2009 Last Activity: 27 August 2010, 4:43 AM EDT Posts: 6 Thanks: 0 Thanked 0 Times in 0 Posts Error in using GS (ghostscript) command in Unix We are sometimes facing issues while using the gs command in Unix. PFB the explanation of the issue 1.Assume we are using the following command to merge few .out files to make a single .pdf file gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile= ABCD.pdf A.out B.out C.out D.out 2.This command ends up in error as follows (which makes no sense to us) Code: ERROR: /rangecheck in --cvrs-- Operand stack: --dict:7/7(L)-- F1 9.0 --dict:6/6(L)-- --dict:6/6(L)-- OUMRXC+Albany WT J --dict:10/12(ro)(G)-- --nostringval-- --dict:7/7(L)-- --dict:7/7(L)-- 1445 --dict:7/7(L)-- --nostringval-- FontMatrix --nostringval-- FontBBox --nostringval-- FontName -2147483647 16 (\000\000\000\000\000\000\000\000) 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 --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1119/1686(ro)(G)-- --dict:0/20(G)-- --dict:107/200(L)-- --dict:107/200(L)-- --dict:104/127(ro)(G)-- --dict:241/347(ro)(G)-- --dict:20/24(L)-- --dict:4/6(L)-- --dict:25/32(L)-- --dict:33/50(ro)(G)-- --dict:24/40(L)-- Current allocation mode is local ESP Ghostscript 815.02: Unrecoverable error, exit code 1 3.Now the file ABCD.pdf has been created with size of few Kbs. It was found that the file ABCD.pdf is a merged output of files A.out and B.out which meant that there

error, exit code 255 I got this issue today whilst running http://www.unix.com/unix-for-dummies-questions-and-answers/127936-error-using-gs-ghostscript-command-unix.html CentOS 5.4 x64 post investigation of images not being scaled when processing a specific PDF, the solution unfortunately is to http://blog.oneiroi.co.uk/linux/esp-ghostscript-815-02-unrecoverable-error-exit-code-255/ build ghostscript and imagemagick from the latest sources. wget http://ghostscript.com/releases/ghostscript-8.71.tar.gz wget http://image_magick.veidrodis.com/image_magick/ImageMagick-6.6.3-0.tar.gz Unpack, configure, make && make install To fix compatibility with pear imagick ln -s /usr/local/lib/libMagickCore.so /usr/lib64/libMagick.so.10 ln -s /usr/local/lib/libMagickWand.so /usr/lib64/libWand.so.10 ln -s /usr/local/bin/gs /usr/bin/gs Comments Please enable JavaScript to view the comments powered by Disqus. Copyright © 2016 David Busby, CISSP Design credit: Shashank Mehta

] Hi Ken, On Mon, Jan 31, 2011 at 1:58 PM, Ken Sharp wrote: > Hello Nikola, > > At 02:26 31/01/2011 -0800, you wrote: > > I'm not sure which list to post this http://ghostscript.com/pipermail/gs-devel/2011-January/008882.html to, so sorry if this is the wrong >> one. >> > > There is currently no good place to post these kinds of questions, though > we are actively investigating other solutions. > > I think your problem is https://stat.ethz.ch/pipermail/r-help/2006-October/114222.html not specific to Ghostscript however, so you might > care to try posting in the Usenet group 'comp.lang.postscript' where there > are a number of knowledgeable PostScript developers. > > I'm using GS (actually ps2pdf, which uses ghostscript) to esp ghostscript generate a >> document of some 3200 pages. 20 pages before the end (although it varies >> depending on version of GS), I get the following error: >> >> ERROR: /stackoverflow in {.findcategory} >> Operand stack: >> --nostringval-- >> > > [snip] > > Current allocation mode is local >> Current file position is 19015430 >> ESP Ghostscript 815.02: Unrecoverable error, exit code 1 >> > > This is a very elderly version of Ghostscript, and one which esp ghostscript 815.02 I believe was > never supported by Artifex. The current version is 9.0 and we are about to > release 9.01. I would recommend that you upgrade to start with. Some of the systems this is supposed to work on I can't change. I can upgrade my own system, but I can't say the same for the others. On my own I'm using 8.71 and the crash happens much later with the following message: Error: /stackoverflow in /findfont Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop --nostringval-- 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1836 300198 3 %oparray_pop Dictionary stack: --dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:192/200(L)-- Current allocation mode is local Current file position is 112114568 GPL Ghostscript 8.71: Unrecoverable error, exit code 1 Note the file position here is an order of magnitude greater than the one in 815.02 (I only just noticed that, I misread and thought 815.02 crashed later in the document. I re-checked where it crashes, it is about 500 pages in, which is just about the stack size. 8.71 crashes 30 pages before the end, which is 3170 pages in. Has the stack size been changed in this version?) > Each odd page of the document contains an image which was converted from

by: [ date ] [ thread ] [ subject ] [ author ] Background: OS: Linux Ubuntu Dapper R : Version 2.3.1 (2006-06-01) Emacs 21.4.1 ESS Colleagues This is neither a bug report, nor a complaint, so I think this is the appropriate list. I am getting an odd font problem with a pdf generated using pdf(file = "../figures/PCNM.models.larvae.fluor.zoo.stability.2001.and.2002.pdf", title="", family="serif", pointsize=10, width=6.75, height=8.625) The figure produced from my code is here: (I can't really send all of the code as there are several subroutines for the analysis that are not relevant here anyway). ------------------------------------------------ The pdf loads into acroread or xpdf fine, so is not corrupted, but ghostscript gives an error: ERROR: /invalidfont in --.type1execchar--ESP Ghostscript 815.02: Unrecoverable error, exit code 1 Operand stack: --dict:4/4(L)-- --dict:16/17(ro)(G)-- 108 a71 -string- 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-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- %finish_show --nostringval-- --nostringval-- 7 9 1 --nostringval-- (gs_show_enum) %op_show_continue Dictionary stack: --dict:1124/1686(ro)(G)-- --dict:0/20(G)-- --dict:85/200(L)-- --dict:104/127(ro)(G)-- --dict:241/347(ro)(G)-- --dict:20/24(L)-- --dict:4/6(L)-- --dict:20/20(L)-- --dict:12/13(L)-- Current allocation mode is local ---------------------------------- Also Imagemagick cannot display or convert the file to .png: smc at nakrasana:~/dynamic_data/projects2005/sardine_egg_distribution/journal$ convert PCNM.models.larvae.fluor.zoo.stability.2001.and.2002.pdf PCNM.models.larvae.fluor.zoo.stability.2001.and.2002.png ERROR: /invalidfont in --.

 

Related content

esp ghostscript 815.02 unrecoverable error

Esp Ghostscript Unrecoverable Error p error exit code I got this issue today whilst running CentOS x post investigation of images not being scaled when processing a specific PDF the solution unfortunately is to build ghostscript and imagemagick from the latest sources span span wget http ghostscript com releases ghostscript- tar gz wget http image magick veidrodis com image magick ImageMagick- - tar gz Unpack configure make make install To fix compatibility with pear imagick span span ln -s usr local lib libMagickCore so usr lib libMagick so ln -s usr local lib libMagickWand so usr lib libWand so ln