blastula icon indicating copy to clipboard operation
blastula copied to clipboard

Error while setting up credentials on macOS

Open pythiantech opened this issue 4 years ago • 1 comments

I am trying to create smtp credentials and get the following error:

library(blastula)
create_smtp_creds_key(
  id = 'gmail',
  user = '[email protected]', #my gmail id
  provider = 'gmail'
)

Error in b_macos_list(self, private, service, keyring) : 
  embedded nul in string: 'M\0i\0c\0r\0o\0s\0o\0f\0t\0.\0S\0q\0l\0T\0o\0o\0l\0s\0|\0i\0t\0e\0m\0t\0y\0p\0e\0:\0P\0r\0o\0f\0i\0l\0e\0|\0i\0d\0:\0p\0r\0o\0v\0i\0d\0e\0r\0N\0a\0m\0e\0:\0M\0S\0S\0Q\0L\0|\0a\0p\0p\0l\0i\0c\0a\0t\0i\0o\0n\0N\0a\0m\0e\0:\0a\0z\0d\0a\0t\0a\0|\0a\0u\0t\0h\0e\0n\0t\0i\0c\0a\0t\0i\0o\0n\0T\0y\0p\0e\0:\0S\0q\0l\0L\0o\0g\0i\0n\0|\0d\0a\0t\0a\0b\0a\0s\0e\0:\0m\0a\0s\0t\0e\0r\0|\0s\0e\0r\0v\0e\0r\0:\0l\0o\0c\0a\0l\0h\0o\0s\0t\0|\0u\0s\0e\0r\0:\0S\0A\0'

Here's my session information:

R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] blastula_0.3.2

loaded via a namespace (and not attached):
 [1] crayon_1.3.4     digest_0.6.27    dplyr_1.0.2      assertthat_0.2.1 R6_2.5.0         lifecycle_0.2.0 
 [7] magrittr_2.0.1   pillar_1.4.7     rlang_0.4.9      rstudioapi_0.13  vctrs_0.3.5      generics_0.1.0  
[13] ellipsis_0.3.1   keyring_1.1.0    tools_4.0.2      glue_1.4.2       purrr_0.3.4      yaml_2.2.1      
[19] compiler_4.0.2   pkgconfig_2.0.3  htmltools_0.5.0  tidyselect_1.1.0 tibble_3.0.4   

Any idea how to overcome this?

pythiantech avatar Dec 20 '20 07:12 pythiantech

I am also having this issue. Please respond 🙏

andrewpking avatar Aug 25 '23 20:08 andrewpking