Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions