Skip to content

[BUG] pdf flow results in ==> message: 'PDFDocument: stream must have data' #319

@ashokrs

Description

@ashokrs

Installed Flowise on my ubuntu instance on AWS EC2.
Created a pdf flow workflow.
Put all the keys required.
Uploaded a pdf document via the PDF parser component.
Then, opened the chat interface and got an error.

at UnknownErrorExceptionClosure (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:443:37)
at Object.<anonymous> (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:446:2)
at __w_pdfjs_require__ (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:45:30)
at Object.<anonymous> (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:7939:23)
at __w_pdfjs_require__ (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:45:30)
at /usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:88:18
at /usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:91:10
at webpackUniversalModuleDefinition (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:18:20)
at Object.<anonymous> (/usr/lib/node_modules/flowise/node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:25:3)
at Module._compile (node:internal/modules/cjs/loader:1254:14) {

message: 'PDFDocument: stream must have data',
details: 'Error: PDFDocument: stream must have data'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions