This post makes it clear that the function bq_auth() should be used to authenticate BigQuery in R. However, I have created a BigQuery-Admin service account, downloaded a service account key, and have passed that key into the bq_auth() function, yet I continue to receive the error:
> bigrquery::bq_auth(path = '/Users/nicholas/Downloads/just_downladed_this_key.json')
trying token_fetch()
trying credentials_service_account()
adding 'userinfo.email' scope
Error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so
Reason: image not found
trying credentials_app_default()
file exists at ADC path: /Users/nicholas/.config/gcloud
Error: parse error: premature EOF
(right here) ------^
trying credentials_gce()
Error: argument is of length zero
trying credentials_byo_oauth()
Error: inherits(token, "Token2.0") is not TRUE
trying credentials_user_oauth2()
Gargle2.0 initialize
attempt from: bigrquery
adding 'userinfo.email' scope
loading token from the cache
Error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so
Reason: image not found
It looks like I've got an openssl / libssl issue on my hands...
Reinstalling the openssl library in R, and then rebooting R, did the trick. Running options(gargle_quiet = FALSE) to expose the logs of the error is what really did the trick tho, because it exposed the problem.
Related
while running this code:
gs4_auth(email = 'sandeep.maxxxx#xxx.com')
I got the following error:
gs4_auth(email = 'sandeep.maxxx#xxx.com')
getting below error:
trying token_fetch()
trying credentials_service_account()
Error caught by token_fetch():
Argument 'txt' must be a JSON string, URL or file.
trying credentials_external_account()
aws.ec2metadata not installed; can't detect whether running on EC2 instance
trying credentials_app_default()
trying credentials_gce()
trying credentials_byo_oauth()
Error caught by token_fetch():
inherits(token, "Token2.0") is not TRUE
trying credentials_user_oauth2()
Gargle2.0 initialize
attempt to access internal gargle data from: googlesheets4
adding "userinfo.email" scope
loading token from the cache
matching token found in the cache
I have been trying to load a shared object file ".so" into my R however it continuously comes up with an error (note, my Path is written as [PATH]).
Error in dyn.load("McCOIL_categorical_code.so") :
unable to load shared object '[PATH]/McCOIL_categorical_code.so':
dlopen([PATH]/McCOIL_categorical_code.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.2/Resources/lib/libR.dylib
Referenced from: [PATH]/McCOIL_categorical_code.so
Reason: image not found
Could anyone please advise? Thank you so much in advance!!
In my own Frama-C plugin, I would like to use ppx_compare for generation of compare functions. After adding the following line to my plugin's Makefile:
PLUGIN_REQUIRES = ppx_compare
the plugin is successfully compiled and installed, but running frama-c fails with the following error message:
[kernel] User Error: cannot load plug-in 'base': cannot load module
Details: The module `Base' is already loaded (either by the main program or a previously-dynlinked library)
[kernel] User Error: cannot load plug-in 'ppx_compare.runtime-lib': cannot load module
Details: interface mismatch on Base
[kernel] User Error: Deferred error message was emitted during execution. See above messages for more information.
[kernel] Frama-C aborted: invalid user input.
This seems to be a conflict of Frama-C's Base module and Jane Street's Base library. Is there any workaround for this problem?
I am now trying to use an R package named gepR. I followed instructions provided by the demo and encountered an error saying that: LoadLibrary failure: the specified module could not be found.
I have tried many solutions posted online, including edit environment variable of the system, put gepR.dll in the system directory (like C:/Windows/system), etc. But none of them works. So I think the error message is not about gepR.dll but some other files. I realized it may be caused by some missing files but I am not sure about how to do the troubleshooting.
Error message:
Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object: .../my/working/directory:
LoadLibrary failure: the specified module could not be found.
Really sorry that I know merely a little about how computers work and really need your help. Thanks!
I am struggling all day with RSelenium. I have read everything I could find on net about the issue. And after all I am getting some earnings and errors I didn't get in the first place. When I execute checkForServer(), I get the watning:
Warning message:
checkForServer is deprecated.
Users in future can find the function in file.path(find.package("RSelenium"), "example/serverUtils").
The sourcing/starting of a Selenium Server is a users responsiblity.
Options include manually starting a server see vignette("RSelenium-basics", package = "RSelenium")
and running a docker container see vignette("RSelenium-docker", package = "RSelenium")
When I execute startServer(), I get the same warning as above.
In the end, when I run the code remDr <-remoteDriver() and remDr$open(), I get error:
Selenium message: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases
Error: Summary: UnknownError
Detail: An unknown server-side error occurred while processing the command.
class: java.lang.IllegalStateException
Further Details: run errorDetails method
I have also tried with chrome, but without succes.