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

Jim Wigginton jim.wigginton at prescriptionlifeline.org
Wed May 24 17:26:00 UTC 2023


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.

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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20230524/0b5fc6f4/attachment.htm>


More information about the poppler mailing list