Skip to content
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

Error in curl::handle_setform(handle, .list = req$fields) #96

Closed
jasonajones73 opened this issue Sep 14, 2017 · 10 comments
Closed

Error in curl::handle_setform(handle, .list = req$fields) #96

jasonajones73 opened this issue Sep 14, 2017 · 10 comments
Labels
Milestone

Comments

@jasonajones73
Copy link

jasonajones73 commented Sep 14, 2017

I had no issues when using the resource_update function two weeks ago but I am now getting this error every time I try to execute:

Error in curl::handle_setform(handle, .list = req$fields) : 
  Insupported value type for form field 'last_modified'.

Is this something obvious that I am missing?

@sckott
Copy link
Contributor

sckott commented Sep 14, 2017

thanks @jasonajones73

to start off with, can you please paste your sessionInfo() into a code block

@jasonajones73
Copy link
Author

Sorry - was having browser issues for some reason. Is that what you are looking for?

@sckott
Copy link
Contributor

sckott commented Sep 14, 2017

yep, thx

@jasonajones73
Copy link
Author

> sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] curl_2.8.1      geojsonio_0.4.2 tigris_0.5.3    ckanr_0.1.0     sp_1.2-5       

loaded via a namespace (and not attached):
 [1] purrr_0.2.3      reshape2_1.4.2   sf_0.5-4         lattice_0.20-35  sparklyr_0.6.2   V8_1.5           htmltools_0.3.6  yaml_2.1.14      base64enc_0.1-3 
[10] blob_1.1.0       rlang_0.1.2      foreign_0.8-69   glue_1.1.1       DBI_0.7          rappdirs_0.3.1   dbplyr_1.1.0     bit64_0.9-7      bindrcpp_0.2    
[19] uuid_0.1-2       bindr_0.1        plyr_1.8.4       stringr_1.2.0    rgeos_0.3-23     psych_1.7.8      httpuv_1.3.5     maptools_0.9-2   parallel_3.4.1  
[28] broom_0.4.2      Rcpp_0.12.12     xtable_1.8-2     udunits2_0.13    backports_1.1.0  jsonlite_1.5     mime_0.5         bit_1.1-12       mnormt_1.5-5    
[37] hms_0.3          digest_0.6.12    stringi_1.1.5    dplyr_0.7.3      shiny_1.0.5      grid_3.4.1       rprojroot_1.2    rgdal_1.2-8      odbc_1.1.1      
[46] tools_3.4.1      magrittr_1.5     lazyeval_0.2.0   tibble_1.3.4     tidyr_0.7.1      pkgconfig_2.0.1  rsconnect_0.8.5  assertthat_0.2.0 httr_1.3.1      
[55] rstudioapi_0.7   R6_2.2.2         units_0.4-6      nlme_3.1-131     compiler_3.4.1

@ropensci ropensci deleted a comment from jasonajones73 Sep 14, 2017
@sckott sckott added the bug label Sep 14, 2017
@sckott sckott added this to the v0.2 milestone Sep 14, 2017
@sckott
Copy link
Contributor

sckott commented Sep 14, 2017

i do get the same error with that version of this pkg, just a sec

@sckott
Copy link
Contributor

sckott commented Sep 14, 2017

@jasonajones73 try reinstalling like devtools::install_github("ropensci/ckanr") then try again and see if that fixes it

@jasonajones73
Copy link
Author

Perfect! Just reinstalled and successfully updated a resource on the first attempt.

Thank you for your help and quick response!

@sckott
Copy link
Contributor

sckott commented Sep 15, 2017

@jasonajones73 great, glad it works!

@jasonajones73
Copy link
Author

@sckott Any chance that you will be revisiting the addition of the datastore_upsert API action?

@sckott
Copy link
Contributor

sckott commented Sep 27, 2017

you probably saw but there is some discussion here of that #4

can you open an issue for it specifically so it doesn't get lost in the pile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants