Skip to content

Error: Chromote: timed out waiting for event Page.loadEventFired #76

Open
@beausoleilmo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions