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

Promise does not get resolved #41

Open
danish-pyxis opened this issue Jul 14, 2020 · 4 comments
Open

Promise does not get resolved #41

danish-pyxis opened this issue Jul 14, 2020 · 4 comments

Comments

@danish-pyxis
Copy link

Promise in timesnap
p = timeHandler.goToTimeAndAnimateForCapture(browserFrames, marker.time);

does not get resolved after some frames and puppeteer hangs infinitely.

As a workaround, I have used a timeout to detect unhandled promise but its letting me destroy that process.

Can we discuss - why is this odd behaviour?

@tungs
Copy link
Owner

tungs commented Jul 18, 2020

Does this happen for all webpages? If it's for a specific web page, could you post it?

@danish-pyxis
Copy link
Author

The issue doesn't happen for all pages.
Page is a canvas based animation video. Let convert a page into public url and then I will share with you.

@ownagedj
Copy link

This also happens in the current version.
E.g. if a video is embedded which does not exist.

@atulmy
Copy link

atulmy commented Jun 11, 2022

Getting stuck at random frames, for examples:

Preparing page for screenshot...
 screenshot 254/1325
Page prepared
Capturing Frame 254 to /code/demo/puppeteer/timecut-temp-1654945656176/image-000000254.jpeg...

[stuck indefinitely here]

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

4 participants