rstudio / shiny

Easy interactive web applications with R
https://shiny.posit.co/
Other
5.35k stars 1.87k forks source link

downloadHandler() not working anymore for all shiny application after the first failure #3254

Open csliangy opened 3 years ago

csliangy commented 3 years ago

There is one shiny application which contains multiple downloadHandlers. Sometimes the downloadHandler fails due to the unavailable content which is acceptable. But the issue is that all other downloadHandlers stop working since then across all applications.

The environment is R 3.5.2 on Ubuntu 18:

Warning in file(con, "r") :
  cannot open file '/tmp/Rtmp5E5rCz/www/css/download.css': No such file or directory
Warning: Error in file: cannot open the connection
wch commented 3 years ago

Can you provide a minimal reproducible example? See the "Creating Shiny Reprexes" section from here: https://community.rstudio.com/t/shiny-debugging-and-reprex-guide/10001