Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message: Object list not found. Possible secured file. #209

Closed
diasisac opened this issue Aug 21, 2018 · 11 comments · Fixed by #400
Closed

Message: Object list not found. Possible secured file. #209

diasisac opened this issue Aug 21, 2018 · 11 comments · Fixed by #400

Comments

@diasisac
Copy link

diasisac commented Aug 21, 2018

Ao enviar PDF libraries/pdfparse
sem titulo

@Pesche007
Copy link

Same here, PDF file is not secured and can be opened as normal

@CarlosHDOliveira
Copy link

Same here, no solution?

@chumleesockson
Copy link

Same here.

@murcoder
Copy link

murcoder commented Jun 29, 2020

Same here. I'm using a non secured PDF 1.6 file.
The Error occurres at PdfParser/Parser.php::102. It seems like, the regex in parseContent() can not find the xref data.
After saving the file as PDF 1.3 the parsing works fine until accessing the content, then it runs into mb_convert_encoding(): Illegal character encoding specified. Any idea?

I'm using version 0.16.0

xdebug-screenshot


EDIT by @k00ni: Embedded screenshot for better reading.

@k00ni
Copy link
Collaborator

k00ni commented Jun 29, 2020

I am not aware of any solution.

Could you provide us upload the PDF which triggers the exception? It must be free to use and will be part of our test suite.

@k00ni
Copy link
Collaborator

k00ni commented Jun 29, 2020

We made some changes recently regarding the mb_convert_encoding(): Illegal character encoding specified error (#313).

I assume you use 0.16.0? Could you try again with master branch?

@murcoder
Copy link

murcoder commented Jun 29, 2020

We made some changes recently regarding the mb_convert_encoding(): Illegal character encoding specified error (#313).

I assume you use 0.16.0? Could you try again with master branch?

Thanks, this fixed the issue with version 1.3 PDF.
But the original v1.6 PDF file still runs into the error Object list not found. Possible secured file.

@k00ni
Copy link
Collaborator

k00ni commented Jun 29, 2020

OK, i will prepare a new release (0.16.1) so at least the encoding problem goes away. For the other one I need a PDF uploaded here so we can make a "failing" test to outline this problem still exist.

@k00ni
Copy link
Collaborator

k00ni commented Jun 29, 2020

FYI, new release 0.16.1 https://github.com/smalot/pdfparser/releases/tag/0.16.1 is available.

@ackwo
Copy link

ackwo commented Jun 30, 2020

Got the same error. Object list not found (0.16.1)

SLD-Paste_deutsch_03_2017.pdf

@andreescocard
Copy link

Same problem.

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

Successfully merging a pull request may close this issue.

8 participants