Bug 101095

Summary: pdftotext unable to parse PDF file: `Syntax Error: Can't get Fields array<0a>`
Product: poppler Reporter: Paul Menzel <pmenzel+bugs.freedesktop.org>
Component: utilsAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Paul Menzel 2017-05-19 09:05:12 UTC
With poppler 0.48 and 0.54, parsing a PDF file, which I am not allowed to share, fails with the error below.

```
$ pdftotext -v # Debian Sid/unstable
pdftotext version 0.48.0
Copyright 2005-2016 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011 Glyph & Cog, LLC
$ pdftotext test.pdf 
Syntax Error: Can't get Fields array<0a>
```

Building the Poppler 0.54.0 from source doesn’t fix the issue.
Comment 1 Paul Menzel 2017-05-19 09:11:43 UTC
I forgot to add, that the utility from Xpdf is able to parse the PDF file.

```
> xpdf/pdftotext -v
pdftotext version 3.04
Copyright 1996-2014 Glyph & Cog, LLC
```
Comment 2 Albert Astals Cid 2017-05-19 18:35:04 UTC
No file -> no fix

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.