Giter Site home page Giter Site logo

heroku-buildpack-shiny's People

Contributors

btubbs avatar kentonwhite avatar ramnathv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

heroku-buildpack-shiny's Issues

Build Pack broken or permission issue?

Hi,

I am new to heroku. I used your instructions to setup your example shiny app on shiny account. But in the app logs the error is:

2014-05-13T20:58:55.120686+00:00 app[web.1]: > shiny::runApp('.', as.numeric(Sys.getenv("PORT")))
2014-05-13T20:58:55.279235+00:00 app[web.1]: Error in dyn.load(file, DLLpath = DLLpath, ...) :
2014-05-13T20:58:55.279243+00:00 app[web.1]:   unable to load shared object '/app/vendor/R/lib64/R/library/httpuv/libs/httpuv.so':
2014-05-13T20:58:55.279245+00:00 app[web.1]:   libRcpp.so: cannot open shared object file: No such file or directory
2014-05-13T20:58:55.279247+00:00 app[web.1]: Calls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
2014-05-13T20:58:55.282022+00:00 app[web.1]: Execution halted

and

2014-05-13T20:59:05.855167+00:00 app[web.1]: > shiny::runApp('.', as.numeric(Sys.getenv("PORT")))
2014-05-13T20:59:05.973413+00:00 app[web.1]: Error in dyn.load(file, DLLpath = DLLpath, ...) :
2014-05-13T20:59:05.973428+00:00 app[web.1]: Execution halted
2014-05-13T20:59:05.973419+00:00 app[web.1]:   unable to load shared object '/app/vendor/R/lib64/R/library/httpuv/libs/httpuv.so':
2014-05-13T20:59:05.973421+00:00 app[web.1]:   libRcpp.so: cannot open shared object file: No such file or directory
2014-05-13T20:59:05.973423+00:00 app[web.1]: Calls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>

Config Vars

BUILDPACK_URL:   https://github.com/btubbs/heroku-buildpack-shiny.git
CPPFLAGS:        -I/app/vendor/glibc-2.7/string -I/app/vendor/glibc-2.7/time -I/app/vendor/cairo/include/cairo/include
LDFLAGS:         -L/app/vendor/gcc-4.3/lib64
LD_LIBRARY_PATH: /app/vendor/cairo:/app/vendor/fontconfig:/app/vendor/pixman:/app/vendor/libpng:/app/vendor/DirectFB:/app/vendor/freetype
PATH:            /app/vendor/R/bin:bin:/app/vendor/gcc-4.3/bin:/usr/local/bin:/usr/bin:/bin
PKG_CONFIG_PATH: /app/vendor/cairo/lib/pkgconfig:/app/vendor/fontconfig/lib/pkgconfig:/app/vendor/pixman/lib/pkgconfig:/app/vendor/libpng/lib/pkgconfig:/app/vendor/DirectFB/lib/pkgconfig:/app/vendor/freetype/lib/pkgconfig
R_HOME:          /app/vendor/R
R_INCLUDE:       /app/vendor/R/lib64/R/include

What is the main cause of this? How to do I solve this?

Thanks

Terrific

It works perfect. I just deployed a Shiny App to Heroku

http://myshinyapp1.herokuapp.com/

When I tried using git push heroku, I get an error message that the branch is not specified. I tried git push heroku master and it works. I am not sure if mine is an isolated case, but thought it would be useful to bring to your attention.

App Crashed

I've followed your instructions for this biuldpack multiple times, but upon deploying a Shiny app to Heroku, the app crashes with an H10 error and no descriptive cause. I see it's been a year since this repository has been updated. Do we know if it's still functional?

building error

Hi,

I got an error when trying to deploy an app:

/app/vendor/R/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory

I deployed as follows:
heroku apps:create APPNAME heroku config:set BUILDPACK_URL=https://github.com/btubbs/heroku-buildpack-shiny.git git push heroku
(The web socket command as described in the read.me is no longer needed - it returns an error in any case)

I then get the error:
/app/vendor/R/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory

Below is what's loaded in the environment on the heroku app

BUILDPACK_URL=https://github.com/btubbs/heroku-buildpack-shiny.git LDFLAGS=-L/app/vendor/gcc-4.3/lib64 TERM=xterm-256color CPPFLAGS=-I/app/vendor/glibc-2.7/string -I/app/vendor/glibc-2.7/time -I/app/vendor/cairo/include/cairo/include LD_LIBRARY_PATH=/app/vendor/cairo:/app/vendor/fontconfig:/app/vendor/pixman:/app/vendor/libpng:/app/vendor/DirectFB:/app/vendor/freetype COLUMNS=99 DYNO=run.5864 PATH=/app/vendor/R/bin:bin:/app/vendor/gcc-4.3/bin:/usr/local/bin:/usr/bin:/bin PWD=/app R_INCLUDE=/app/vendor/R/lib64/R/include PS1=\[\033[01;34m\]\w\[\033[00m\] \[\033[01;32m\]$ \[\033[00m\] LINES=23 HOME=/app SHLVL=2 PKG_CONFIG_PATH=/app/vendor/cairo/lib/pkgconfig:/app/vendor/fontconfig/lib/pkgconfig:/app/vendor/pixman/lib/pkgconfig:/app/vendor/libpng/lib/pkgconfig:/app/vendor/DirectFB/lib/pkgconfig:/app/vendor/freetype/lib/pkgconfig R_HOME=/app/vendor/R PORT=53747 _=/usr/bin/env

The full login output is:
Starting process with commandR -e "shiny::runApp('.', as.numeric(Sys.getenv("PORT")))" WARNING: ignoring environment value of R_HOME 2016-09-30T12:00:25.267616+00:00 app[web.1]: /app/vendor/R/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory State changed from starting to crashed State changed from crashed to starting Process exited with status 127 Starting process with commandR -e "shiny::runApp('.', as.numeric(Sys.getenv("PORT")))"WARNING: ignoring environment value of R_HOME /app/vendor/R/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory Process exited with status 127 State changed from starting to crashed

Any suggestions how to fix this ?
Thanks !

Is the build-pack broken?

Hi, I pushed an app yesterday and found that nothing was loading except a dark screen and a sidebar button. At first I assumed that there was an issue with my code, but then I checked out your test app http://shiny-example-1.herokuapp.com/ and noticed the same problem. I know you said there were problems with heroku's websocket timing out and the app 'going dark' but this seems to be happening right away now.

This was tested on Chromium and Firefox in Ubuntu 12.04.

thanks!

Slug size exceeds 300mb

I tried to deploy my app TargetShootingStatistics but it seems that the slug gets too big (approx. 310mb in my case).

Do you have the same issue when you re-deploy your sample application?
I can not think about a configuration issue because my app itself doesn't have a lot of data.

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.