Error: Chromote: timed out waiting for event Page.loadEventFired
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 178
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
I'm using renderthis::to_pdf to print a pdf from an HTML file. However, I get Error: Chromote: timed out waiting for event Page.loadEventFired. Is there a way to fix this? The HTML file is 33.9MB.
library(pdftools) # version 3.4.0
library(renderthis) # version 0.2.1
library(chromote) # version 0.2.0.9
renderthis::to_pdf(from = "presentation/my_pres.html",
to = "presentation/my_pres.pdf",
delay = 1,
complex_slides = TRUE,
partial_slides = TRUE)
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.3.1
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with renderthis::to_pdf on the reported 33.9MB HTML file, comparing complex_slides and partial_slides settings. Trace where the Page.loadEventFired timeout occurs in the renderthis/chromote path. Done means identifying a reproducible fix or clearly documenting the supported limitation and workaround for multi-slide PDF output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100