-
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
Building PDFs: net::ERR_ABORTED #49
Comments
The version of To closely replicate our flow, you could use pagedown::chrome_print(
input = "chapter1.html",
output = "chapter1.pdf"
) |
It does smell like there's something wrong with chrome/chromote going on here |
So it's working on Ubuntu 20.04 but not Ubuntu 22.04? Sounds like an issue with Chrome. Another check is to try and print some other webpage, like If you get a similar error, then that should at least help narrow down the source. |
So this is odd. This works
But this doesn't
Chapter1.Rmd now looks like
|
Can you try this?
|
|
You'll need the absolute path prefixed with |
Duh! I did that the first time, and got an error. Must have had a typo :(
works! |
But you still get the error when using
And check that the file path for
The |
My chapter1.Rmd is now minimal. It's only five lines:
This
works fine. But if I remove the explicit Interestingly,
works with no issues. So there is something odd around |
One more tiny piece of information on this: Ubuntu 20.04, Chrome Version 101.0.4951.54 (Official Build) (64-bit). Similarly having failures on build_pdf() -
Adding the manual explicit full file path to the input sails through:
Input is just a bog-standard set of slides for a presentation. Maybe the 404 that's bouncing reinforces the comment by gadenbuie above. |
@wesleyburr / @gadenbuie I had a "similar" issue with RStudio. Essentially when opening an HTML file, it used firefox. The issue was that the default browser for opening a file was firefox. Firefox can't open local assets on my machine, so could, I suppose, generate the above errors. I wonder if that is the issue? |
I'm having trouble building PDF slides.
The text was updated successfully, but these errors were encountered: