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

Bug#42153: marked as done ([doc] ps2pdf manpage does not mention problems with pipes and pdf files)



Your message dated Fri, 4 Feb 2011 17:34:42 +0100
with message-id <201102041734.44948.roucaries.bastien@gmail.com>
and subject line Done: [doc] ps2pdf manpage does not mention problems with pipes and pdf files
has caused the Debian Bug report #42153,
regarding [doc] ps2pdf manpage does not mention problems with pipes and pdf files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
42153: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=42153
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gs
Version: 5.10-2
Severity: normal

Ok here is simple the output of gs:

$ pdf2ps lgen.pdf l.ps
Unrecoverable error: invalidfileaccess in .setdevice
Operand stack:
    --nostringval--
    
    Unexpected interpreter error -9.
    Error object: (f80)op(393:.setdevice)0x809c420
    Operand stack at 0x81b9bd4:
    0x81d16c4: 0x13 devc --Gwrx--- 0x01af 0x0822aa6c
    Execution stack at 0x81b9af8:
    0x81d302c: 0x0f oper --F---e-- 0x0000 0x08084720 = %interp_exit
    0x81d3034: 0x03 file --G-rxe-- 0x0001 0x081c9090
    0x81d303c: 0x0e null --F---e-- 0x0000 0x080864b0
    0x81d3044: 0x0b int  --F------ 0x0119 0x00000001 = 1
    0x81d304c: 0x0b int  --F------ 0x0007 0x00000004 = 4
    0x81d3054: 0x0f oper --F---e-- 0x0000 0x08086490 = %oparray_pop
    0x81d305c: 0x05 mpry --G-rxe-- 0x0002 0x0821c5cc
    0x81d3064: 0x05 mpry --G-rxe-- 0x0039 0x0821cf2a
    Dictionary stack at 0x81b9b54:
    0x81d385c: 0x02 dict --Gwrx--- 0x7fff 0x081c5834
    0x81d3864: 0x02 dict --Gwrx--- 0xbfff 0x0822be90
    0x81d386c: 0x02 dict --Lwrx--- 0x4000 0x081cd740
    0x81d3874: 0x02 dict --Gwrx--- 0x7fff 0x081c5834
    
When I try to run gs manualy I'm going very quickly out of memory with
some option, but basicaly I would suppose this command should work.
But it doen't.

cat lgen.pdf | gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=- -sPAPERSIZE=a4 -c save pop - | cat >t.ps

The problem is - how to write a nicely working script for magicfilter.

This command works just fine:

gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=- -sPAPEOBRSIZE=a4 -c save pop -f lgen.pdf  | cat >t.ps

The problem of memory hungrinnes is also quite unpleasant:
 cat lgen.pdf | gs 
    
-- System InformationOBOA
Debian Release: potato
Architecture: i386
Kernel: Linux decibel 2.2.10 #4 Po èen 14 15:54:55 CEST 1999 i586

Versions of packages gs depends on:
ii  libc6           2.1.2-0pre1    GNU C Library: Shared libraries and timezone
ii  libpaperg       1.0.3-12.2     Library for handling paper characteristics [
ii  libpng2         1.0.2b-0.1     PNG library - runtime
ii  svgalibg1       1.3.1-2        SVGA display utilities
ii  xlib6g          3.3.3.1-10     shared libraries required by X clients
ii  zlib1g          1.1.3-3        compression library - runtime


--- End Message ---
--- Begin Message ---
Package: ghostscript
Version: 8.71~dfsg2-9

cat "test.pdf" | gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=- -sPAPEOBRSIZE=a4 -c save pop - > /dev/null

Work here



--- End Message ---

Reply to: