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

Remove pingImage usage, load number of pages lazily #191

Closed

Conversation

bobvandevijver
Copy link
Contributor

@bobvandevijver bobvandevijver commented Mar 8, 2022

Fixed version of #187.

@freekmurze
Copy link
Member

Do all the tests pass when you run them locally?

@freekmurze
Copy link
Member

I'm getting this test output with this code

  • Tests\PdfTest > it will correctly return the number of pages in pdf file
  Failed asserting that 0 matches expected 3.

@bobvandevijver
Copy link
Contributor Author

I will check, the tests won't run locally at all at this time...

@bobvandevijver
Copy link
Contributor Author

Here it is completely different...

  • Tests\PdfTest > it will correctly return the number of pages in pdf file
  Failed asserting that 6 matches expected 3.

It looks like the pingImage causes the PDF file to be loaded twice on my machine, so removing it completely would solve it.

@bobvandevijver
Copy link
Contributor Author

(btw, I tested it back when I originally opened this PR, and there the pingImage did work correctly when executed twice...)

@bobvandevijver bobvandevijver changed the title Silently ignore pingImage failure, load number of pages lazily Remove pingImage usage, load number of pages lazily Mar 8, 2022
@bobvandevijver
Copy link
Contributor Author

@freekmurze Any progress on this one?

@spatie-bot
Copy link

Dear contributor,

because this pull request seems to be inactive for quite some time now, I've automatically closed it. If you feel this pull request deserves some attention from my human colleagues feel free to reopen it.

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

Successfully merging this pull request may close these issues.

3 participants