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
When using readSDMX to read a url (subscription key removed) from the UIS api i get the following error:
Error in curlPerform(curl = curl, .opts = opts, .encoding = .encoding) : embedded nul in string: '\037<U+008B>\b'
I'm not sure what the source of the error is.
This same url was able to be read without error some weeks ago. Some other UIS api urls can be read without error, while others can't.
Edit: I wrongly specified (a working) url. Replaced with problem url.
The text was updated successfully, but these errors were encountered:
@northeastloon can you indicate version of rsdmx you use, and details of your R session? On my side for the timebeing i can't reproduce, it works well here.
Sorry, something went wrong.
I am using rsdmx version 0.5-10.
The same issue was replicated for my computers at work and at home (the latter using the latest version of r and rsdmx on windows 10).
My session info for my current session at work is:
R version 3.4.1 (2017-06-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] lubridate_1.7.1 rsdmx_0.5-10 forcats_0.2.0 stringr_1.2.0 dplyr_0.7.4 purrr_0.2.4 readr_1.1.1 tidyr_0.7.2 [9] tibble_1.4.1 ggplot2_2.2.1 tidyverse_1.2.1 loaded via a namespace (and not attached): [1] Rcpp_0.12.14 cellranger_1.1.0 pillar_1.0.1 compiler_3.4.1 plyr_1.8.4 bindr_0.1 bitops_1.0-6 [8] tools_3.4.1 jsonlite_1.5 nlme_3.1-131 gtable_0.2.0 lattice_0.20-35 pkgconfig_2.0.1 rlang_0.1.6 [15] psych_1.7.8 cli_1.0.0 rstudioapi_0.7 parallel_3.4.1 haven_1.1.0 bindrcpp_0.2 xml2_1.1.1 [22] httr_1.3.1 hms_0.4.0 grid_3.4.1 glue_1.2.0 R6_2.2.2 XML_3.98-1.9 readxl_1.0.0 [29] foreign_0.8-69 modelr_0.1.1 reshape2_1.4.3 magrittr_1.5 scales_0.5.0 rvest_0.3.2 assertthat_0.2.0 [36] mnormt_1.5-5 colorspace_1.3-2 stringi_1.1.6 RCurl_1.95-4.10 lazyeval_0.2.1 munsell_0.4.3 broom_0.4.3 [43] crayon_1.3.4
R version 3.4.1 (2017-06-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] lubridate_1.7.1 rsdmx_0.5-10 forcats_0.2.0 stringr_1.2.0 dplyr_0.7.4 purrr_0.2.4 readr_1.1.1 tidyr_0.7.2 [9] tibble_1.4.1 ggplot2_2.2.1 tidyverse_1.2.1
loaded via a namespace (and not attached): [1] Rcpp_0.12.14 cellranger_1.1.0 pillar_1.0.1 compiler_3.4.1 plyr_1.8.4 bindr_0.1 bitops_1.0-6 [8] tools_3.4.1 jsonlite_1.5 nlme_3.1-131 gtable_0.2.0 lattice_0.20-35 pkgconfig_2.0.1 rlang_0.1.6 [15] psych_1.7.8 cli_1.0.0 rstudioapi_0.7 parallel_3.4.1 haven_1.1.0 bindrcpp_0.2 xml2_1.1.1 [22] httr_1.3.1 hms_0.4.0 grid_3.4.1 glue_1.2.0 R6_2.2.2 XML_3.98-1.9 readxl_1.0.0 [29] foreign_0.8-69 modelr_0.1.1 reshape2_1.4.3 magrittr_1.5 scales_0.5.0 rvest_0.3.2 assertthat_0.2.0 [36] mnormt_1.5-5 colorspace_1.3-2 stringi_1.1.6 RCurl_1.95-4.10 lazyeval_0.2.1 munsell_0.4.3 broom_0.4.3 [43] crayon_1.3.4
#139 fix issue with curl & embedded nul
8e5f2f3
eblondel
No branches or pull requests
When using readSDMX to read a url (subscription key removed) from the UIS api i get the following error:
I'm not sure what the source of the error is.
This same url was able to be read without error some weeks ago. Some other UIS api urls can be read without error, while others can't.
Edit: I wrongly specified (a working) url. Replaced with problem url.
The text was updated successfully, but these errors were encountered: