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
Related
I got this error after running npm run serve,
!! functions: Failed to load function definition from source: FirebaseError: Failed to load function definition from source: Failed to generate manifest from function source: Error: Service account object must contain a string "private_key" property.
Heres the screenshot of the logs
it seems service account issue heres my initialization
admin.initializeApp({ credential: admin.credential.applicationDefault(), });
i found the solution by commenting all of my codes , then theres new errors says , index.js not found , since im using typescript , and then i realised that im running the firebase deploy functions command using the wrong lib folder generated by typescript,
thats why i got these 2 erros:
Failed to generate manifest from function source: Error: Service account object must contain a string "private_key" property.
RangeError: Maximum call stack size exceeded.
Error ImageThere is no error when the code is being run using Firebase configuration directly. when I am putting firebase configuration key in the environment variable ,then it throw an error "Firebase:Error(auth/invalid-api-key)"
after adding environment variable you have to restart the live server.
Getting this error when I try and run a test. I had to uninstall and reinstall chrome some time back and this then started happening. My chromedriver version is correct for my browser also
[ ERROR ] Calling method 'end_suite' of listener
'C:\Users\JRyan64\Projects\esp-case-management\tests\robot\Execution\ResultsListener.py'
failed: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in
position 2640: character maps to
Tests.Robot.Tests.Cumulus.ESP.GS Portal.ADUX-11813.Test :: As a Po...
| FAIL | Parent suite setup failed: WebDriverException: Message:
unknown error: Failed to create Chrome process.
In this case there might be multiple reasons why you are getting this error:
running as root or administrator
chromedriver is not accessible, check $Path variable in "Environment Variables" or simply run chromedriver from command line to check if it's accessible.
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.
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.