traitecoevo / taxonlookup

A versioned and dynamically updating taxonomic lookup table for land plants
http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12517/abstract
Other
31 stars 6 forks source link

Test with new httr #11

Closed richfitz closed 8 years ago

richfitz commented 9 years ago

From: Hadley Wickham h.wickham@gmail.com Date: Wed, Jun 10, 2015, 9:48 AM Subject: httr 1.0.0 To:

Hi all,

I'm preparing to release httr 1.0.0. This is a big release because it replaces RCurl with curl, a modern binding to libcurl written by Jeroen Ooms. This should fix many strange and lingering bugs.

I've run R CMD check on all reverse dependencies, and notified you individually if I found any problems. But I'd still recommend installing it (devtools::install_github("hadley/httr")) and testing yourself, just to make sure I haven't missed anything. Please let me know if you find any problems.

I'm planning to submit httr to CRAN on June 24.

Thanks!

Hadley

wcornwell commented 9 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
richfitz commented 9 years ago

Cool, thanks. Will look into this tomorrow probably.

wcornwell commented 9 years ago

Looks everything works actually, just with this warning

1: In curl::curl_fetch_disk(url, x$path, handle = handle) :
  progress callback must return boolean
richfitz commented 9 years ago

I fixed that by reinstalling httr and curl.

wcornwell commented 9 years ago

I'm still getting the warnings

sckott commented 9 years ago

i get the same warnings with all updated versions of curl and httr

wcornwell commented 9 years ago

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

ccleung commented 9 years ago

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
wcornwell commented 9 years ago

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.

richfitz commented 8 years ago

Confirmed working with hadley/httr, so any version >= 1.0.0.9000 should not have this problem.