Open hmorgancooper opened 1 year ago
Ah, yeah, others have had this issue with Keyring when running Strategus - @anthonysena do you know the solution?
Are you running this on Linux? If so you may need to install some additional services on the machine: https://r-lib.github.io/keyring/index.html#linux.
It is linux and the keyring R package is installed and seems to work for interactive use. I get this error when I try creating a reprex on the same system as @hmorgancooper.
# keyring::key_set("ohdsi", "user")
keyring::key_get("ohdsi", "user")
#> Error in b__file_set_keyring_pass(self, private, key, keyring): Aborted setting keyring password
sessionInfo()
#> R version 4.1.2 (2021-11-01)
#> Platform: x86_64-conda-linux-gnu (64-bit)
#> Running under: Ubuntu 20.04.5 LTS
#>
#> Matrix products: default
#> BLAS/LAPACK: /share/sw/open/anaconda/3.10.2/lib/libopenblasp-r0.3.18.so
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=C
#> [4] LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C
#> [7] LC_PAPER=C LC_NAME=C LC_ADDRESS=C
#> [10] LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] assertthat_0.2.1 digest_0.6.31 withr_2.5.0 rappdirs_0.3.3
#> [5] R6_2.5.1 lifecycle_1.0.3 reprex_2.0.2 evaluate_0.20
#> [9] rlang_1.0.6 cli_3.6.0 rstudioapi_0.14 fs_1.6.1
#> [13] keyring_1.3.1 rmarkdown_2.20 tools_4.1.2 glue_1.6.2
#> [17] xfun_0.37 yaml_2.3.7 fastmap_1.1.0 compiler_4.1.2
#> [21] askpass_1.1 sodium_1.2.1 htmltools_0.5.4 knitr_1.42
Created on 2023-03-27 with reprex v2.0.2
Hey, I am getting this error when I try to run the script.
Error in b__file_keyring_autocreate(self, private, keyring) : The 'system' keyring does not exists, create it first! Calls: storeConnectionDetails ... b_file_keyring_is_locked -> <Anonymous> -> b__file_keyring_autocreate Execution halted
Is keyring something that needs to be set up to run the study?