-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not parse cli {}
expression
#254
Comments
It's hard to say exactly what's going on. But it sort of looks like the upload was unsuccessful AND the attempt to message informatively about that is erroring. So possibly an error while throwing an error. When this happen, has the upload worked? I suspect not. Right after this happens gargle should have the last response stored internally available via Hopefully this gets you started on some troubleshooting. I would also double check that you are using the most recent CRAN versions of all relevant packages (gargle and cli and googledrive, most especially). |
Thank you for your comment, it was very helpful. Using |
Well, we should still be surfacing that error properly. If you would be willing to send me the error object (to my maintainer email), I'd be very interested in inspecting it and figuring out how it violates our expectations and fixing that. |
I sent you an email. |
…255) * General modernization of some errors; better handling of HTML error Fixes #254 * Use a bullet * Whitespace * More internal consistency Seems weird to have a mix of parent.frame() and caller_env(), so prefer the latter. * Re-document() * Possibly safer Content type might look like `"text/html; charset=UTF-8"` (even though httr seems to just return `"text/html"` in that case) * Add a snapshot test * Style * Add a test to surface the actual html * NEWS bullets
In the last couple of days I have started to see some transient errors upon uploading a file to Google Drive via the googledrive package. The errors seem to be originating in the gargle package, which is why I am posting this here. Unfortunately, I cannot provide a reproducible example since the error doesn't happen every time. I am unable to identify any pattern in when it fails or doesn't. Below is the error and traceback. Any advice would be appreciated.
The text was updated successfully, but these errors were encountered: