Skip to content

Shiny error in Error in ctx$invalidate #146

Open

Description

@mirandasherlock

Hi,

I have been able to open the GUI through Shiny on Mac fine but am getting an error - the shiny window opens very briefly and then closes. If I click open in browser, it only briefly opens.

diyabcGUI::diyabc()
INFO [2023-02-16 18:04:24] log file: /var/folders/ln/ybtwh_cj0p96nvmncsmft3jh0000gn/T//RtmpXczqcG/diyabc_rf_gui.log
INFO [2023-02-16 18:04:24] Loading required package: shiny
Loading required package: shiny
INFO [2023-02-16 18:04:24] Listening on http://127.0.0.1:6237

Listening on http://127.0.0.1:6237
INFO [2023-02-16 18:04:26] Starting diyabc-RF-GUI app
WARN [2023-02-16 18:04:27] Error in ctx$invalidate: Reactive context was created in one process and invalidated from another.
Warning: Error in ctx$invalidate: Reactive context was created in one process and invalidated from another.
2: shiny::runApp
1: diyabcGUI::diyabc
INFO [2023-02-16 18:04:27] Exiting diyabc-RF-GUI app

I have tried this with a few other r version - 3.3, 3.6, 4.1 and 4.2. I am not sure if this is an issue with the shiny app or how I am executing it, but any help would be appreciated.

Best,

Miranda

Activity

  1. PrishaTiwari05 commented on Apr 20, 2023

    @PrishaTiwari05

    I'm facing the same issue, can't figure out what to do. Did you manage to troubleshoot?

  2. jqrichmond commented on May 24, 2024

    @jqrichmond

    Hi,
    I'm not seeing that this issue ever got resolved here but I'm wondering if either of you figured it out. I'm having the same problem. The shiny window opens for a few seconds then disappears, and I get the same error you're describing here. It's crazy b/c I had this working last fall using the same version of R and same version of DIY. The only thing that's changed is that I did a few MacOs software updates. Ergh!!!

  3. jqrichmond commented on May 28, 2024

    @jqrichmond

    I got around this error by disconnecting from my VPN, so I'm assuming it's somehow related to a security issue for my laptop. I'm not sure what, how, or why, but that seems to have resolved the issue. Perhaps you're running something in the background that isn't playing nice with the shiny app.

  4. gdurif commented on Aug 30, 2024

    @gdurif
    Collaborator

    Hi, I am really sorry for the very late reply.

    Due to work overload, the development, support and maintenance for the project diyabcGUI is currently paused. Feel free to contact us (by submitting an issue) if you want to take over the development for this project. Pull request are also welcome to fix bug or implement missing functionalities.

    I have updated the README file to announce this. This is the official announcement to clarify a situation that has been going on for quite some time.

    You can still use the command line version of the software which is still maintained/supported. Check the documentation page here.

    All my apologies for the trouble,
    Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions