[Pkg-javascript-devel] Bug#1016732: Please help to reproduce (Was: shiny-server: server-function don't run)

Nilesh Patra nilesh at debian.org
Sun Feb 12 17:46:06 GMT 2023


Hi Yadd,

On Sat, 28 Jan 2023 11:09:21 +0530 Nilesh Patra <nilesh at debian.org> wrote:
> On Fri, Jan 27, 2023 at 07:45:35PM +0000, Krüger, Sebastian wrote:
> > I'm not a Shiny user either (so far), however the plan is for our institute to provide Shiny applications for certain users. (I will probably write some of these applications at some point, and I also administrate the web server...).
> > 
> > My test system: I have a current Debian sid with R, cleaned from nodejs (apt...) and thus without shiny-server.
> > 
> > Now I install the shiny-server (apt install shiny-server).
> > 
> > In the packages r-cran-shiny and shiny-server are sample applications. I copied the examples from the r-cran-shiny package (e.g. /usr/lib/R/site-library/shiny/examples/01_hello) to /srv/shiny-server and could (after restarting shiny-server (systemctl restart shiny-server)) access the application via firefox: http://localhost:3838/01_hello/ .
> > 
> > These applications consist of a UI part (user interface) and a result part. In the UI part, the web user can set (e.g.) parameters for the display in the result part.
> > 
> > The problem: After installation, only the UI part is visible via the web browser.
> > The result part is probably not visible because it does not receive any data from the UI part.
> > 
> > With the help of a deb package for the Shiny sever from rstudio and the Debian package, I had at some point identified the sockjs installation as the problem...
> > 
> > To get the Shiny application running (in the current scenario), I got the latest version of sockjs from github, "comped" it with npm () and then replaced the javascript files under "/usr/share/nodejs/sockjs/lib/" (from the Debian installation) with the files from the sockjs (github) package tree ".../node_modules/sockjs/lib/".
> > 
> > After restarting the Shiny server, you can now also see the result part in the web browser and the Shiny application works. 
> > 
> > I am not a javascript/coffeescript friend or expert. The only thing I could see is that both my sockjs scripts and the Debian ones are based on the same github version (https://github.com/sockjs/sockjs-node/releases/tag/v0.3.24), but the Debian version was generated with coffescript 2.7.0 and "my" version was generated with coffescript 1.12.7.
> 
> Looks like the coffeescript thingy in #1016732 is still unfixed and I've re-opened the BR. Could you please
> consider taking another look?

Sorry for pinging you again, but would you be able to take a look at this please?
I don't know enough coffeescript to be able to check this and it'd be
awesome if you could consider taking a look.

-- 
Best,
Nilesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20230212/73e6b8e3/attachment.sig>


More information about the Pkg-javascript-devel mailing list