pdfminer.six icon indicating copy to clipboard operation
pdfminer.six copied to clipboard

TypeError: can't multiply sequence by non-int of type 'float'

Open pierocavalcanti opened this issue 1 year ago • 0 comments

Error raised by running the following code:

from langchain.document_loaders import PDFMinerPDFasHTMLLoader

loader = PDFMinerPDFasHTMLLoader(file_path)
data = loader.load()[0]

Raise the TypeError: can't multiply sequence by non-int of type 'float' From library file/lines: pdfminer/pdfdevice.py:110

Can't upload the file itself.

pierocavalcanti avatar Oct 16 '23 11:10 pierocavalcanti