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
shinyTree with "&" in list names disconnects on shinyapps.io #100
Comments
Did you check the shinyapps.io Logs? Maybe there is some useful information. And btw. the link you provided works for me. |
Hi @trafficonese thanks for the reply. Yes I checked the logs and the RStudio support team checked them too. Nothing about the connection problem, unfortunately. Here they are: 2020-09-29T09:45:46.358636+00:00 shinyapps[2781829]: Starting R with process ID: '24' And nothing after that. You don't get an "attempting to reconnect" at the bottom left of the screen? |
Oh sry I think I checked my local app. What if you replace all |
Sorry I can't test that right now, I will get back to it tomorrow evening. |
Do you mean to change the tree to this?
I have made that change and uploaded it to Shinyapps.io. Here is the app: https://psim.shinyapps.io/shinytree_test2/ |
Ok, that didn't help. The problem doesn't come from the
|
When a list passed to renderTree contains multiple & symbols, and the app is hosted on shinyapps.io, the server disconnects and a notification saying: "attempting to reconnect" keeps flashing. I passed this to the RStudio support and they reproduced the problem and recommended I file an issue here.
I can't reproduce the issue locally on macOS 10.15.6 or on Ubuntu 18.04 LTS running R 3.6.3 with shiny 1.5.0 and shinyTree 0.2.7 from CRAN. So it could be related to the Linux or Shiny server environment.
Here is a sample app:
And here is the app on shinyapps.io: https://psim.shinyapps.io/shiny_tree_test/
Removing any single line, even the Jewellery item for example, caused the issue to disappear on shinyapps.io.
I understand that this is a rare niche use case and debugging it may not be worth the time. For practical use the issue is fixed by removing the & from the list names.
The text was updated successfully, but these errors were encountered: