Skip to content
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

Shiny error in Error in ctx$invalidate #146

Open
mirandasherlock opened this issue Feb 16, 2023 · 4 comments
Open

Shiny error in Error in ctx$invalidate #146

mirandasherlock opened this issue Feb 16, 2023 · 4 comments

Comments

@mirandasherlock
Copy link

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

@PrishaTiwari05
Copy link

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

@jqrichmond
Copy link

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!!!

@jqrichmond
Copy link

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.

@gdurif
Copy link
Collaborator

gdurif commented Aug 30, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants