Shiny: reactlog remains empty

Created on 5 May 2017  路  11Comments  路  Source: rstudio/shiny

While troubleshooting #1692, I tried to see the dependency graph (as I suspect a missing link between the reactive and the output element).

I ran

setwd(appdir)
options(shiny.reactlog=TRUE)
shiny::runApp()

in Rstudio.
Then I clicked 'Open in Browser' and pressed Ctrl+F3.

I can see the app in a browser tab and the react log in another.

However, the log only shows a slim gray top bar that increases size two- to three-fold upon mouseover,
a message

Press right-arrow to advance

in the top-middle, and a small legend

  • Normal
  • Invalidated
  • Running

(white, grey and green squares) in the bottom right.


Obviously I tried hitting right, repeatedly and/or holding it without any effect.
I also tried to use the app a bit and refreshing both tabs.
I also tried not clicking 'Open in Browser' having my app running in Rstudio and the reactlog in the browser.


The only remotely related information I could find is http://stackoverflow.com/q/39131833/2451238 which tells me that I am not the first to encounter this issue.

Most helpful comment

+1

All 11 comments

+1

It seems as if in our case the reason the reactive log does not show up is, that we do not have internet access on our machines. In the header of the reactive log jquery and d3 is loaded from the web.

Isn't it possible to make the needed libraries available offline?

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>

We have a new reactlog implementation coming that will work offline.

Occasionally the reactlog fails similarly for me (i.e. grey bar, legend, no nodes), each time I get this message at the browser console,

image

@nteetor If you install from "rstudio/[email protected]" does the problem go away?

Same question for you @mschilli87 ^

cc @schloerke

I don't see the error anymore. Because the problem wasn't consistent, I'll post another update if this does come up again.

@jcheng5

If you install from "rstudio/[email protected]" does the problem go away?

First I followed the steps in my first comment of this issue to ensure I can still reproduce it.
This confirmed I was still affected by this.
Then I installed v1.2-rc, restarted Rstudion and repeated the steps.
This time, I got a working reactlog!

So AFAICT this issue seems to be resolved in v1.2-rc. :tada:

Closing as everyone appears to be in a good position

I get the same issue in shiny 1.3.2.

@kambanane Please open a new issue as reactlog within shiny has been overhauled. If possible, please include a screenshot of the browser webpage and if there are any console errors in the new issue. Chrome DevTools Console .

Thank you!

Was this page helpful?
0 / 5 - 0 ratings