Skip to content

pdf.getDocumentInfo().title sometimes None #511

@clach04

Description

@clach04

Test case in #511 (comment) (original no longer available test case Details in https://github.com/mstamy2/PyPDF3/issues/13).

pdf = PdfFileReader(f)
info = pdf.getDocumentInfo()
info.title  # reports None
info['/Title']  # works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has MCVEA minimal, complete and verifiable example helps a lot to debug / understand feature requestsis-robustness-issueFrom a users perspective, this is about robustness

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions