Skip to content

too many values to unpack (expected 4) #631

@epilys

Description

@epilys

Parsing a specific invalid pdf produces this exception.

Searching for it led me to this stackoverflow question that resulted in this pull request to the unmaintained pdfminer euske/pdfminer#159

Looking at the code in the pdfminer.six pdfparser.py, this can be ported. I can test a patch if you want, (I'd share the pdf file but I'm not sure it's legal to do so..)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions