[poppler] pdftoppm 0.86.1 / pdftoppm: Syntax Error: Expected the optional content group list

Albert Astals Cid aacid at kde.org
Wed May 24 22:07:13 UTC 2023


El dimecres, 24 de maig de 2023, a les 19:26:00 (CEST), Jim Wigginton va 
escriure:
> If the PDF is syntactically broken then maybe the error message could be
> tweaked? "*Expected the optional content group list, but wasn't able to
> find it*" makes it sound as if the content group list is required and
> optional is used as an adjective? Either the content group list shouldn't
> be expected or it's optional.

"Optional Content Group" is a PDF thing, nowhere in that sentence says that 
the expected thing is optional.

Cheers,
  Albert

> 
> On Sat, May 20, 2023 at 5:30 AM Albert Astals Cid <aacid at kde.org> wrote:
> > El dijous, 18 de maig de 2023, a les 0:24:14 (CEST), Jim Wigginton va
> > 
> > escriure:
> > > When I try to run pdftoppm 0.86.1 (pdftoppm -png "GSK - Lamictal.pdf"
> > > output) on the attached PDF I get the following error:
> > > 
> > > Syntax Error: Expected the optional content group list, but wasn't able
> > 
> > to
> > 
> > > find it, or it isn't an Array
> > > 
> > > 
> > > Would this work in newer versions of poppler / pdftoppm? I can't compile
> > > the most recent version of poppler because my version of cmake isn't new
> > > enough (despite being the newest available via apt-get) but maybe there
> > 
> > are
> > 
> > > newer versions of poppler / pdftoppm that this would work on despite not
> > > being the newest version? If I were to try to find out myself I'd have
> > > to
> > > brute force compile a bunch of different versions, which I'd rather not
> > 
> > do.
> > 
> > > I suppose I could also try to compile a newer version of cmake but if
> > > the
> > > PDF just isn't gonna work on any version then that all is just wasted
> > > effort.
> > > 
> > > Any ideas?
> > 
> > As far as I can see the PDF is syntactically broken and thus we warn about
> > it,
> > so there's nothing for us to fix.
> > 
> > Do you disagree with my assessment?
> > 
> > Cheers,
> > 
> >   Albert






More information about the poppler mailing list