omegahat / RDCOMClient

GNU General Public License v2.0
80 stars 35 forks source link

RDCOMClient not working with shinyapps.io #4

Open thushandh opened 7 years ago

thushandh commented 7 years ago

Hi , My shiny app is run perfectly locally . when i deploy the app in shinyapps.io the following error message is coming up ..

Preparing to deploy application...DONE Uploading bundle for application: 185263... Error: Unable to retrieve package records for the following packages:

Please help me solve this issue . Thank You ..

duncantl commented 7 years ago

There really is not much information about where the error message comes from.

SlavKoz commented 6 years ago

Duncan, excellent work on the package. I am not able to get it on shinyapps.io though, however i suspect it is simply due to the fact that shinyapps.io is a Linux Ubuntu server. My simple app is:

library(shiny)
library(devtools)
library(RDCOMClient)

ui <- fluidPage(
   titlePanel("RDC"), sidebarLayout(sidebarPanel( ),mainPanel(plotOutput("distPlot"))))
server <- function(input, output) {}

shinyApp(ui = ui, server = server)

and the server response is:

Preparing to deploy application...DONE
Uploading bundle for application: 243075...DONE
Deploying bundle: 1110882 for application: 243075 ...
Waiting for task: 498556488
  building: Building image: 1111526
  building: Building package: RDCOMClient
################################ Begin Task Log ################################ 
################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 498556489 failed: Error building image: Error fetching RDCOMClient (0.93-0.2) source. <CRANPackageSource repo='http://cran.rstudio.org'> unable to satisfy package: RDCOMClient (0.93-0.2)
In addition: Warning message:
In FUN(X[[i]], ...) :
  Failed to infer source for package 'RDCOMClient'; using latest available version on CRAN instead
Execution halted

Is it the Linux hiccup and nothing can be done or is it something particular about the way I installed it? I tried various ways, from cran, from 'omegahat' (no success with your server), from github and everything works fine locally on my windows machine, but fails on shinyapps.io

Any idea?

omegahat commented 6 years ago

Hi RDCOMClient is really for Window. It requires the DCOM mechanism.

On Sat, Dec 2, 2017 at 10:53 AM, SlavKoz notifications@github.com wrote:

Duncan, excellent work on the package. I am not able to get it on shinyapps.io though, however i suspect it is simply due to the fact that shinyapps.io is a Linux Ubuntu server. My simple app is:

library(shiny) library(devtools) library(RDCOMClient)

ui <- fluidPage( titlePanel("RDC"), sidebarLayout(sidebarPanel( ),mainPanel(plotOutput("distPlot")))) server <- function(input, output) {}

shinyApp(ui = ui, server = server)

and the server response is:

Preparing to deploy application...DONE Uploading bundle for application: 243075...DONE Deploying bundle: 1110882 for application: 243075 ... Waiting for task: 498556488 building: Building image: 1111526 building: Building package: RDCOMClient ################################ Begin Task Log ################################ ################################# End Task Log ################################# Error: Unhandled Exception: Child Task 498556489 failed: Error building image: Error fetching RDCOMClient (0.93-0.2) source. unable to satisfy package: RDCOMClient (0.93-0.2) In addition: Warning message: In FUN(X[[i]], ...) : Failed to infer source for package 'RDCOMClient'; using latest available version on CRAN instead Execution halted

Is it the Linux hiccup and nothing can be done or is it something particular about the way I installed it? I tried various ways, from cran, from 'omegahat' (no success with your server), from github and everything works fine locally on my windows machine, but fails on shinyapps.io

Any idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/omegahat/RDCOMClient/issues/4#issuecomment-348712041, or mute the thread https://github.com/notifications/unsubscribe-auth/ABa5aE4UIE8odQP4ELQQa0ep41CDY2fRks5s8ZyNgaJpZM4N2qGo .

SlavKoz commented 6 years ago

thank you, in other words it will not work whatever I try? Have you ever heard anything that would work with Linux shinyapps?

duncantl commented 6 years ago

If you serve your shiny app on a Windows machine, then it can work. But the server has to be Windows. And you will need to install the other software to which you are connecting with DCOM.