-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error: Chromote: timed out waiting for event Page.loadEventFired #76
Comments
I sometimes get this as well with larger files. Can you check that things work with a relatively simple and small html page? Often times I just quit RStudio and restart and try again and it works. |
I restarted my computer, RStudio but still no luck. This is an attempt at making it work and probably not a fix. I commented a bunch of lines (e.g., b$Page$loadEventFired()) to diagnose the problem and now I'm able to make it work. Don't know why specifically, but I'm glad I'm able to export the slides now. Also, it appeared that the
I used the input "file:///pathto/presentation/my_pres.html#1". I hope this can help in finding a solution. |
It works! @gadenbuie what do you think about adding an argument like |
Good! Actually, I tried a bunch of values for sleep time. 8 was working, but I went for 10 to be sure. I was wondering if there was a function that could indeed confirm that the page is loaded... but im not aware of any. Also, not sure why |
I added an option in chromote called Even then, you probably don't want to elevate every timeout, just the page load timeout. The easiest way to do that would be to add an argument like @beausoleilmo if you could try that out and let us know if it works, that'd be great! I'd also be very happy to review a PR 😉 |
I'm using
renderthis::to_pdf
to print a pdf from an HTML file. However, I getError: Chromote: timed out waiting for event Page.loadEventFired
. Is there a way to fix this? The HTML file is 33.9MB.Chrome (Version 124.0.6367.201 (Official Build) (arm64)) is installed on my computer.
When setting complex_slides = FALSE and partial_slides = FALSE, I only get the first slide.
The text was updated successfully, but these errors were encountered: