OHDSI / CohortDiagnostics

An R package for performing various cohort diagnostics.
https://ohdsi.github.io/CohortDiagnostics
40 stars 45 forks source link

Java errors on deployed shiny app #1030

Closed solis9753 closed 1 year ago

solis9753 commented 1 year ago

Creating a DiagnosticsExplorer app is working fine locally, but on the shinyapps.io server it raises java errors when attempting to retrieve result tables. For example see below some screenshots for different functionalities of the app.

When trying to view the characterisation table: Screenshot 2023-02-06 at 3 47 50 PM

When trying to view the orphan concepts table: Screenshot 2023-02-06 at 3 48 07 PM

Note that none of the tables can be viewed on the deployed shiny app, yielding similar errors as above.

Also note that I am uploading results in an sqlite database, and as per previous suggestion Java should not be invoked. #993

In the second screenshot, there is an error in a tryCatch statement returning a value[[3L]] label suggesting that there's an error when trying to read from the connection. I am suspecting that the shiny settings are not read correctly, but cannot pin point where exactly and why is the issue occurring.

I apologise for the lack of a repro but would appreciate some pointers.

azimov commented 1 year ago

The shinyapps.io server should now be better supported by the latest release of OhdsiShinyModules. I am able to test on a Posit Connect platform but not the pay for use shinyapps.io as I quickly fill up the time. Please post any future shiny rekated issues over on OHDSI/OhdsiShinyModules