You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/12/07 22:36:00 UTC

[jira] [Assigned] (ARROW-10834) [R] Print method fails for SubTreeFileSystem

     [ https://issues.apache.org/jira/browse/ARROW-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neal Richardson reassigned ARROW-10834:
---------------------------------------

    Assignee: Jonathan Keane

> [R] Print method fails for SubTreeFileSystem
> --------------------------------------------
>
>                 Key: ARROW-10834
>                 URL: https://issues.apache.org/jira/browse/ARROW-10834
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 2.0.0
>         Environment: R version 4.0.3 (2020-10-10)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 18.04.3 
> Running as a container in AWS fargate.
>            Reporter: Gabriel Bassett
>            Assignee: Jonathan Keane
>            Priority: Minor
>             Fix For: 3.0.0
>
>
>  
> {code:java}
> arrow::arrow_with_s3(){code}
>  returns TRUE.
> {code:java}
> arrow::s3_bucket("<bucket name>", role_arn="<role with permission>"){code}
>  causes the error:
>  
>  
> {code:java}
> ERROR while rich displaying an object: Error in get(name, x$base_fs): object '.class_title' not found
> Traceback:
> 1. FUN(X[[i]], ...)
> 2. tryCatch(withCallingHandlers({
>  . if (!mime %in% names(repr::mime2repr)) 
>  . stop("No repr_* for mimetype ", mime, " in repr::mime2repr")
>  . rpr <- repr::mime2repr[[mime]](obj)
>  . if (is.null(rpr)) 
>  . return(NULL)
>  . prepare_content(is.raw(rpr), rpr)
>  . }, error = error_handler), error = outer_handler)
> 3. tryCatchList(expr, classes, parentenv, handlers)
> 4. tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 5. doTryCatch(return(expr), name, parentenv, handler)
> 6. withCallingHandlers({
>  . if (!mime %in% names(repr::mime2repr)) 
>  . stop("No repr_* for mimetype ", mime, " in repr::mime2repr")
>  . rpr <- repr::mime2repr[[mime]](obj)
>  . if (is.null(rpr)) 
>  . return(NULL)
>  . prepare_content(is.raw(rpr), rpr)
>  . }, error = error_handler)
> 7. repr::mime2repr[[mime]](obj)
> 8. repr_text.default(obj)
> 9. paste(capture.output(print(obj)), collapse = "\n")
> 10. capture.output(print(obj))
> 11. evalVis(expr)
> 12. withVisible(eval(expr, pf))
> 13. eval(expr, pf)
> 14. eval(expr, pf)
> 15. print(obj)
> 16. print.R6(obj)
> 17. .subset2(x, "print")(...)
> 18. self$.class_title
> 19. `$.SubTreeFileSystem`(self, .class_title)
> 20. get(name, x$base_fs)
>  
> {code}
>  
> {code:java}
> SessionInfo(){code}
>  
> {code:java}
> R version 4.0.3 (2020-10-10)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 18.04.3 LTS
> Matrix products: default
> BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
> LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so
> locale:
>  [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C 
>  [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 
>  [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 
>  [7] LC_PAPER=en_US.UTF-8 LC_NAME=C 
>  [9] LC_ADDRESS=C LC_TELEPHONE=C 
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
> other attached packages:
> [1] dtplyr_1.0.1 dplyr_1.0.2
> loaded via a namespace (and not attached):
>  [1] magrittr_2.0.1 tidyselect_1.1.0 bit_4.0.4 uuid_0.1-4 
>  [5] R6_2.5.0 rlang_0.4.9 tools_4.0.3 data.table_1.13.2
>  [9] arrow_2.0.0 htmltools_0.5.0 ellipsis_0.3.1 bit64_4.0.5 
> [13] digest_0.6.27 assertthat_0.2.1 tibble_3.0.4 lifecycle_0.2.0 
> [17] crayon_1.3.4 IRdisplay_0.7.0 purrr_0.3.4 repr_1.1.0 
> [21] base64enc_0.1-3 vctrs_0.3.5 IRkernel_1.1.1 glue_1.4.2 
> [25] evaluate_0.14 pbdZMQ_0.3-3.1 compiler_4.0.3 pillar_1.4.7 
> [29] generics_0.1.0 jsonlite_1.7.1 pkgconfig_2.0.3
> {code}
>  
>  
> I had to use the work-around documented here: https://issues.apache.org/jira/browse/ARROW-10371?jql=project%20%3D%20ARROW%20AND%20text%20~%20%22libcurl4-openssl-dev%22 (Download cmake 3.19.1, build it, and set CMAKE=<build location>.) to install arrow.
>  
> I'm sorry I don't have more ideas about the error. Without reading the code I'm not even sure what's going on in this part of the code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)