Coder Social home page Coder Social logo

Comments (4)

cpsievert avatar cpsievert commented on June 26, 2024 2

Also, we'll be submitting a new version of Shiny to CRAN today that downgrades this error to a warning (unless shiny::devmode() is enabled). In the meantime, you can install the development version:

remotes::install_github("rstudio/shiny")

from shiny.

gadenbuie avatar gadenbuie commented on June 26, 2024 1

Thank you both for the report. Both cases are likely the result of duplicate input or output IDs. We recently introduced in 1.8.1 a developer console that surfaces duplicate IDs, but it unintentionally broke apps that previously worked (with potentially undefined behavior). #4019 fixes this issue by allowing apps with duplicate IDs to work as before -- we'll be releasing a version of shiny that includes this fix soon.

In the mean time, you can verify that you're encountering this issue by running your app with Shiny's dev mode enabled. Simply call shiny::devmode() before running the app. In this mode, a client-side error console will surface any runtime errors found by Shiny. In @john-harrold's case the app will show you that the FG-ui_fg_msg output ID is duplicated in Plot panel.

image

Alternatively, you can open your app in a browser window. Then open the Console tab in the developer tools (right click on the page and choose "Inspect" or "Inspect Element" to open the browser's dev tools). There you'll see an error message like this:

image

from shiny.

john-harrold avatar john-harrold commented on June 26, 2024 1

OK I feel rather foolish. It looks like I found this before but didn't change it. I probably thought I put it there on purpose :)

image

Also shiny::devmode() is cool.

Thank you for your quick response. I'll go submit an update to CRAN now.

from shiny.

Martin-Jung avatar Martin-Jung commented on June 26, 2024

Don't have a reproducible example, but just to confirm that this happens to my app as well (windows and linux). After updating to shiny 1.8.1 the app simply does not load anymore, getting stuck at the preloader. Using a bs4dash app.
Had to downgrade to shiny 1.8.0 to make it work again.

from shiny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.