[Poppler-bugs] [Bug 97803] New: Recent versions of pdftoppm have trouble with reading input from stdin

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 14 09:22:17 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97803

            Bug ID: 97803
           Summary: Recent versions of pdftoppm have trouble with reading
                    input from stdin
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: brecht at mos6581.org

Using this PDF file: http://www.mos6581.org/rinohtype/_downloads/demo.pdf

This works: 

    pdftoppm -f 5 -singlefile -gray demo.pdf >demo.pgm

This fails to parse the PDF properly:

    cat demo.pdf | pdftoppm -f 5 -singlefile -gray - >demo.pgm

This has the same effect:

    pdftoppm -f 5 -singlefile -gray - <demo.pdf >demo.pgm


These warnings are output:

Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15445): Illegal character ')'
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Unknown operator 'Enote'
Syntax Error (15445): Unknown operator ']'
Syntax Error (15445): Too few (0) args to 'TJ' operator

This used to work with poppler 0.41.0. I have tried a couple of versions since
then, all of which suffer from the same problem. 0.47.0 is still broken.

I believe the other utils have similar problems with reading from stdin.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160914/bd55f17e/attachment.html>


More information about the Poppler-bugs mailing list