documentcloud / docsplit

Break Apart Documents into Images, Text, Pages and PDFs
http://documentcloud.github.io/docsplit/
Other
831 stars 214 forks source link

Error converting to images, in 0.7.2 , but works in 0.6.3 #93

Closed michelson closed 9 years ago

michelson commented 11 years ago

Hi ,

I´ve deployed an application to amazon , with docsplit 0.7.2 version.

when I try to convert i get this:

docsplit images --size 100x --format jpg /webapps/staging/releases/20130908162322/tmp/uploads/20130908-1918-4159-2890/U.xlsx.pdf **\ Page has no /MediaBox attribute. Using the current page size. Error: /stackunderflow in --run-- Operand stack: --dict:8/8(L)-- 612.0 792.0 3 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- Dictionary stack: --dict:1157/1684(ro)(G)-- --dict:1/20(G)-- --dict:76/200(L)-- --dict:76/200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:21/25(L)-- --dict:2/6(L)-- Current allocation mode is local GPL Ghostscript 8.70: Unrecoverable error, exit code 1 gm convert: Postscript delegate failed (/webapps/staging/releases/20130908162322/tmp/uploads/20130908-1918-4159-2890/pdf_LXCLU.xlsx.pdf).

then i downgrade doscplit with the 0.6.3 version and works just fine.

my version of "gs" is 8.70, and "gm" 1.3.17 2012-10-13 Q8 with png support

any hints ?

eastxing commented 11 years ago

Please upgrade your ghostscript from 8.70 to 9.07 and try again.