-
Notifications
You must be signed in to change notification settings - Fork 20
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
Chrome error -32000 browser window not found #193
Comments
SeleniumHQ/selenium#12889 (comment) suggests that this is a Chrome bug that may be fixed by including Can you try this? library(chromote)
old_chrome_args <- get_chrome_args()
set_chrome_args(c("--remote-debugging-pipe", old_chrome_args)
# ... the rest of your code ... |
I tried, it did not work. Output:
I did install the dev version of chromote (0.3.1.9000). |
That's interesting. The good news is it's a different error message, which means the command I suggested likely did work but uncovered another error, which might be in the renderthis package. Does this error happen with just this file or with any file you try on your computer? |
It happens to all files (all xaringan lectures). |
Oh I see the issue (fixed in e905638). Can you please update chromote again and try again? I suspect it will still fail but you'll at least get an error message (which actually might be the same -32000 error). |
OK, I removed and reinstalled chromote from dev (0.3.1.9000).
Furthermore:
Sorry about the code tags, not working so well. |
This error happens when you re-install a package that was likely already loaded in the R session. If you restart your R session and try After some more internet searches, I don't think Sidenote: to add sections of code to a GitHub issue, use this kind of markdown: ```
# ... your code here ...
``` |
OK, here it goes: Input:
Output:
Input:
Output:
Input:
Output:
|
Sorry @jorgetendeiro, I meant to run the code without adding the chromote::chromote_info()
renderthis::to_pdf("Lecture01.html", partial_slides = TRUE) |
I see. For good measure, I again uninstalled chromote, closed and restarted RStudio, then reinstalled the dev version. I'm on a different desktop, also on Linux, up to date (same recent issues with renderthis). For some reason, on this desktop chromote looks for chromium whereas on my other desktop it looks for chrome. The net effect is similar on both machines, though:
|
Thanks! Does |
No, unfortunately:
|
For the record, I found a new tool (for me). It works in Linux and apparently in Windows too (did not try): decktape. Like this:
the PDF takes longer to load, unsure why. |
Originally posted by @jorgetendeiro in #187
The text was updated successfully, but these errors were encountered: