Open dimidloc opened 2 years ago
Hi,
Sometimes, I try to upload a file via googledrive::drive_upload() and it's stuck in curl::curl_fetch_memory(). Here's the full trace:
googledrive::drive_upload()
curl::curl_fetch_memory()
Error in curl::curl_fetch_memory(url, handle = handle) : Operation was aborted by an application callback 10. curl::curl_fetch_memory(url, handle = handle) 9. request_fetch.write_memory(req$output, req$url, handle) 8. request_fetch(req$output, req$url, handle) 7. request_perform(req, hu$handle$handle) 6. method(url = x$url, body = x$body, x$token, encode = encode, user_agent, ...) 5. gargle::request_make(x, ..., user_agent = drive_ua()) 4. request_make(request, encode = "multipart") 3. googledrive::drive_upload(temp_file, type = "spreadsheet", name = name, ...) at utils.R#306
This happens even after drive_deauth(), followed by drive_auth() and granting the browser permissions.
drive_deauth()
drive_auth()
Versions:
> packageVersion('gargle') [1] '1.2.0' > packageVersion('googledrive') [1] '2.0.0'
I've also tried to clear the cache by rm ~/Library/Caches/gargle/*, to no avail.
rm ~/Library/Caches/gargle/*
Surprisingly, googlesheets4::gs4_create() works flawlessly.
googlesheets4::gs4_create()
Just a note that I've come here seeing exactly this as well. Other functions (in both googledrive and googlesheets4) work fine with the same auth.
googledrive
googlesheets4
Hi,
Sometimes, I try to upload a file via
googledrive::drive_upload()
and it's stuck incurl::curl_fetch_memory()
. Here's the full trace:This happens even after
drive_deauth()
, followed bydrive_auth()
and granting the browser permissions.Versions:
I've also tried to clear the cache by
rm ~/Library/Caches/gargle/*
, to no avail.Surprisingly,
googlesheets4::gs4_create()
works flawlessly.