-
Notifications
You must be signed in to change notification settings - Fork 37
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
webshot.js returned failure value: 1 #115
Comments
The basic check fails add suggested here fails too.
|
> library(webshot)
> webshot("https://www.r-project.org/", "r.png")
Auto configuration failed
139826745849792:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libproviders.so): libproviders.so: cannot open shared object file: No such file or directory
139826745849792:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
139826745849792:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=providers, path=providers
139826745849792:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=providers
Error in webshot("https://www.r-project.org/", "r.png") :
webshot.js returned failure value: 1 > packageVersion("webshot")
[1] ‘0.5.2’ (Same with version 0.5.4) Related to ariya/phantomjs#15449. It appears that phantomjs is not maintained anymore. Following https://stackoverflow.com/a/72679175/6888231, this solution solves the issue for me Sys.setenv(OPENSSL_CONF="/dev/null") The reason is the updated OpenSSL of my system. |
This solution works for me too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having a similar issue as #112 when rendering a Rmarkdown file with leaflet() to pdf. Rendering the minimal example below returns the error
Error in (function (url = NULL, file = "webshot.png", vwidth = 992, vheight = 744, : webshot.js returned failure value: 1
. I've installed the latest version from CRAN and ranwebshot::install_phantomjs(force = TRUE)
.The text was updated successfully, but these errors were encountered: