Skip to content

Python 3 - problem when file name is str, not bytes #19

@manish59

Description

@manish59

import pdfparser.poppler as pdf

pdf.Document(r"Manish.pdf")
Traceback (most recent call last):
File "", line 1, in
File "pdfparser/poppler.pyx", line 116, in pdfparser.poppler.Document.cinit
TypeError: expected bytes, str found

Its in redhat
Can anyone help to fix this please.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions