llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

PyPDF2 Error : Cannot read an empty file

Open areeb1245 opened this issue 1 year ago • 2 comments

I got it to work perfectly. But since last night, I am getting this error that I am unable to figure out why.

PyPDF2.errors.EmptyFileError: Cannot read an empty file.

But the file clearly has data in it. It suddenly stopped working for some reason.

areeb1245 avatar Mar 07 '23 19:03 areeb1245

@areeb1245 could it be due to a version of pypdf2? (e.g. could you try downgrading a version?) let me know if you do, i'm happy to pin the version in our pdfreader

jerryjliu avatar Mar 08 '23 18:03 jerryjliu

Hey @areeb1245 are you still experiencing this issue? If not, could you close the ticket?

Disiok avatar Mar 18 '23 17:03 Disiok

We currently do not use pypdf2 anymore. Closing this issue for now

logan-markewich avatar Jun 05 '23 15:06 logan-markewich