blastula icon indicating copy to clipboard operation
blastula copied to clipboard

An unknown option was passed in to libcurl

Open andresimi opened this issue 1 year ago • 2 comments

Hello, I am getting this error when trying to send emails that I could not resolve.

smtp_send(prepare_test_message(), 
                     to = "[email protected]", 
                     from = "[email protected]", 
                     credentials = creds_file("gmail_creds"))
Error in handle_setopt(h, ...) : 
An unknown option was passed in to libcurl

When I run on terminal

[andresimi@andresimi bin]$ which curl
/usr/local/bin/curl
[andresimi@andresimi bin]$ which libcurl
/usr/bin/which: no libcurl in (/opt/conda/bin:/opt/conda/bin:/home/andresimi/.local/bin:/home/andresimi/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin)

I am pretty sure curl, and libcurl-devel were installed via dnf.

Do you have any idea? Thanks

Versions R 4.3.3 Fedora 39 Blastula 0.35 curl 8.2.1 libcurl 8.2.1

andresimi avatar May 04 '24 16:05 andresimi

I am still struggling with blastula, it simply does not send the emails. Does anybody knows what is going on? Best!

andresimi avatar Jul 12 '24 21:07 andresimi

If you are on RHEL 9 this is likely caused by: https://github.com/rstudio/blastula/issues/340

jeroen avatar Oct 22 '24 12:10 jeroen