Skip to content

InvalidOperation: Invalid Literal for Decimal '0.0000-74251147'  #386

@jcampbell05

Description

@jcampbell05

It seems some PDFs can have invalid references such as this. I'm not sure how this happens as this is a PDF a user has uploaded to our service.

Ghostscript when it encounters this reference, treats the value as if it was "0.0". Even though it maybe wrong (it warns us though). It would be nice if PYPDF2 could do this too.

Let me know where I can patch this.

screen shot 2018-01-03 at 19 28 59

Metadata

Metadata

Assignees

No one assigned

    Labels

    is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions