Closed richfitz closed 8 years ago
Problems:
> pl<-plant_lookup()
Error: key '0.3.1' not found, with error: Timeout was reached
In addition: Warning messages:
1: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
2: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
3: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
4: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
5: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
6: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
7: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
8: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
9: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
10: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
Cool, thanks. Will look into this tomorrow probably.
Looks everything works actually, just with this warning
1: In curl::curl_fetch_disk(url, x$path, handle = handle) :
progress callback must return boolean
I fixed that by reinstalling httr and curl.
I'm still getting the warnings
i get the same warnings with all updated versions of curl
and httr
There might be a particular versions of curl
and httr
that still throw this warning, but curl
0.8.9000 and httr
1.0.0.9000 don't throw the warning. But leaving open for now in case other people have this issue
I'm getting the same warnings with curl_0.9.1
and httr_1.0.0
.
E.g., if I run:
httr::GET('https://www.google.com', progress())
I will see "There were 50 or more warnings (use warnings() to see the first 50)".
And here are the warnings (the same warning repeated):
50: In curl::curl_fetch_memory(url, handle = handle) :
progress callback must return boolean
Yeah @ccleung it's been fixed here: https://github.com/hadley/httr/pull/252
But httr
1.0.0.9000 isn't up on CRAN. If you load the github version of httr
the warning should go away.
Confirmed working with hadley/httr, so any version >= 1.0.0.9000 should not have this problem.