rstudio / bslib

Tools for theming Shiny and R Markdown via Bootstrap 3, 4, or 5.
https://rstudio.github.io/bslib/
Other
443 stars 50 forks source link

bslib wasm version breaks with Chrome / Edge #985

Closed clementlefevre closed 4 months ago

clementlefevre commented 4 months ago

Not sure this is the right place to address this : First shinylive is the solution i've been waiting for long here. I use a local static server to serve my parquet files that i download within shinylive and convert them into data.table via duckdb wasm and it rocks !

The server also forward the leaflet tiles very smoothly.

But using wasm bslib i get since few days the following error :

shinylive.js:34938 preload error:Warning: Error in : [EEXIST] Failed to make directory '/tmp': file already exists
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  61: <Anonymous>
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  60: <Anonymous>
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  59: fs::dir_create
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  58: <Anonymous>
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  57: mapply
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  56: write_file_attachments
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  55: bslib::bs_theme_dependencies
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  54: x
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  53: as.tags.shiny.tag.function
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  46: func
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  45: FUN
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  44: lapply
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  43: FUN
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  42: lapply
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  41: FUN
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  40: lapply
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  39: FUN
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  38: lapply
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  37: rewriteTags
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  36: tagify
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  35: renderTags
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  34: renderDocument
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  33: renderPage
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  32: appObj()$httpHandler
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  31: handler
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  30: handler
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  29: handler
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  28: handlers$invoke
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  12: handler
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:  11: app$call
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:   8: eval [<text>#4]
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:   7: eval
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:   6: efun
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
shinylive.js:34938 preload error:   1: <Anonymous>
_error @ shinylive.js:34938
error @ shinylive.js:34944
run_fn @ shinylive.js:33597
app_48efjiaxboad92in2w4b/:1 
[shiny.posit.co-1708250971500.log](https://github.com/rstudio/bslib/files/14322035/shiny.posit.co-1708250971500.log)

see attached Chrome logfile.

Run my own r-shinylive with bslib results in the same error (using bare shiny elements does work) shiny.posit.co-1708250971500.log

Any chance someone could point me to the correct repo to address this ? Or is there anything i am not aware of here ?

Thanks a lot in advance,

CL.

gadenbuie commented 4 months ago

Thanks for the report, @clementlefevre. It looks like there was an upstream issue in shinylive that should now be resolved: https://github.com/posit-dev/r-shinylive/issues/56

github-actions[bot] commented 2 months ago

This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. :raising_hand: Need help? Connect with us on Discord or Posit Community.