Error after Rstudio Update "exeecutable file not found in $PATH"
- Dominant language
- C#
- Stars
- 627
- Forks
- 217
- Avg merge
- 17h
- Merged PRs (30d)
- 57
Description
### What would you like help with?
Hi Team,
I recently updated Rstudio and ever since, I've received 2 errors when trying to run `con <- adbc_connection_init(db)`.I've tried to uninstall and reinstall `adbcdrivermanager` to no avail. Randomly, I tried an old version of RStudio and it worked for a short amount of time.
Both of the errors have been flavors of the following:
```
con <- adbc_connection_init(db)
time="2024-07-18T09:39:27-07:00" level=error msg="Authentication FAILED" func=gosnowflake.authenticate file="auth.go:364"
Error in force(code) : 390195 (08004): The provided ID Token is invalid.
```
then (or sometimes only the following error)
```
Error in force(code) :
IO: exec: "open": executable file not found in $PATH
```
Additional information:
```
> R.version
platform aarch64-apple-darwin20
version.string R version 4.3.2 (2023-10-31)
```
```
go version
go version go1.21.6 darwin/arm64
```
```
which go
/opt/homebrew/bin/go
```
I suspect its user error of sorts, so any direction here would be helpful.
Thanks in advance!
Contributor guide
Research direction
Start with the R call `adbc_connection_init(db)` and compare the two reported failures: Snowflake authentication and the missing `open` executable. Check the RStudio environment, `$PATH`, `go` location, and the `adbcdrivermanager` setup; done means identifying a reproducible cause and documenting a confirmed fix or required environment configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, r
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100