Open goldingn opened 1 year ago
In this particular installation issue, we got past the openSSL error by reinstalling reticulate from github as per: https://community.rstudio.com/t/reticulate-and-openssl-problem/152866/2
But the fact that the install step reported success rather than flagging that there was an error seems like it could be improved here?
Thanks for this @goldingn !
To confirm, it sounds like the solution is to install reticulate
from the dev GH version, is that right?
Sorry to hear about the false positive, trying to parse the errors is a bit tricky, as I'd ideally like the installation to know something was wrong on the processx side of things - e.g., it might pass an error flag in one of the variables, but in this case my fear is that it will still regard as "sucessful", despite the clear failing error/output message:
Collecting package metadata (current_repodata.json): ...working... failed
and
CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue.
My ideal thought is to capture the failure via some error
slot in the callr
/processx
object, but I think that is somehow being obscured by the fact that the error is happening in Python/CLI somewhere. I'll see if I can replicate the issue with my current installation with TF2...which might be to my own detriment, but it sounds like it is a relatively easy solution.
At the moment my thought is to try and grep
those error messages directly, perhaps? What do you think?
To confirm, it sounds like the solution is to install reticulate from the dev GH version, is that right?
Yes, exactly.
Yeah I figured it might be a pain if it's not returning an error code correctly.
Grepping sounds good. If it's difficult to be sure of the result, in stone instances we could just mince the wording on the message, e.g. "may not have worked" and suggest they look at the logs. That's a bit icky, but might be the best option if it turns out to be really difficult.
Trying to install greta deps on a windows machine, with a clean R session. We get:
but actually there are errors on the install:
here's the full set of console output and the session info: