Bug 101095 - pdftotext unable to parse PDF file: `Syntax Error: Can't get Fields array<0a>`
Summary: pdftotext unable to parse PDF file: `Syntax Error: Can't get Fields array<0a>`
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 09:05 UTC by Paul Menzel
Modified: 2018-04-17 09:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.