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

PROBLEM TO IMPORT PAGE #30

Open
leomirandadev opened this issue Mar 25, 2020 · 5 comments
Open

PROBLEM TO IMPORT PAGE #30

leomirandadev opened this issue Mar 25, 2020 · 5 comments

Comments

@leomirandadev
Copy link

Hello @phpdave11 , i'm having problems with ImportPage function.

I'm refactoring my PHP code to GOLANG. I can import my PDF file on PHP project, but the same file don't import on GO project.

The error is it:
Failed to put imported objects: Unable to resolve object: Expected next token to be: endstream, got:

If you could help me, contact me on my linkedin

@phpdave11
Copy link
Owner

Would you mind posting the PDF that causes this error?

@leomirandadev
Copy link
Author

@leomirandadev
Copy link
Author

The exact error is panic: Failed to put imported objects: Unable to resolve object: Expected next token to be: endstream, got: U§þÛKLóËAC3ÖIiâë½ÎcU|ªú|Ýø¶ßÌsbí+·E22\}K¶v¤?vßpê

@leomirandadev
Copy link
Author

@phpdave11 Some idea, why doens't it work?

@phpdave11
Copy link
Owner

@leonardomirandaDev that PDF appears to be damaged. There is no trailer, and the file is only 8192 bytes. Can you please upload it again?

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

No branches or pull requests

2 participants