Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Convergence graph does not update on the sample dashboard #79

Closed
jish opened this issue Mar 12, 2013 · 13 comments
Closed

Convergence graph does not update on the sample dashboard #79

jish opened this issue Mar 12, 2013 · 13 comments

Comments

@jish
Copy link

jish commented Mar 12, 2013

Hi,

I used dashing a while ago and the convergence graph was updating fine. Now it will not update for new dashboards I create.

When I point my browser to http://dashingdemo.herokuapp.com/sample the convergence graph updates as expected.

However, when I create a new app, and point my browser to http://localhost:3030/sample the graph does not update.

gem install dashing
dashing new foo
cd foo
dashing start
open "http://localhost:3030/sample"
@pushmatrix
Copy link
Member

Hmm, it's working on my end. Are there any js errors?

@robertleib
Copy link

I see the same thing. The number is updating every time the job fires, but the underlying graph does not update. If I refresh the page int he browser, the graph updates.

@davefp
Copy link
Contributor

davefp commented Mar 13, 2013

Works For Me (tm). Can you post more info about your environment? Browser, OS, etc.

I wonder if there's some weird version mismatch going on somewhere. I've uploaded my Gemfile.lock, compare it to yours and see if there are any suspicious differences: https://gist.github.com/davefp/5149163

@skaldrom
Copy link

First of all: Thank you very much for this wonderful piece of software! Just great!
I have the same problem: In the example http://dashingdemo.herokuapp.com/sample, the graph is updated without problems. If I create a new local dashboard on Ubuntu-Linux, the graph only updates on a reload. I tried it with both, firefox and chrome. There are lot of differences in the Gemfile.lock, usually newer versions: https://gist.github.com/skaldrom/5183031
It happens with therubyracer and also with nodejs.
Any help would be greatly appreciated.

@trullock
Copy link

came here to say this, its to do with the receiveData prototype method. When called dashing invokes the base Widget's method instead of the derived class'. Not good enough with coffeescript to debug further :(

@gregology
Copy link
Member

I'm having the same issue running 1.9.3p374 on Ubuntu 12.04. Also, thank you team! It's such a lovely product 👍

@thenayr
Copy link

thenayr commented Mar 18, 2013

I spent a good amount of time looking into this yesterday, it appears as though the onData event binding is only being fired during the initial page load, I couldn't manage to make it fire continuously upon receiving new data.

@trullock
Copy link

Yeah, I couldn't work out why the derived method isn't replacing the Widget base method.

@thenayr
Copy link

thenayr commented Mar 19, 2013

@davefp I can confirm that switching to your Gemfile.lock indeed fixes the issue of the onData event not firing. Now to find out which gem is causing the conflict...

@trullock
Copy link

its broken with coffee-script-source 1.6.1 but works with 1.4.0

@skaldrom
Copy link

I can confirm that the graph widget works with coffee-script-source 1.4.0. Thanks a lot!!!

@thenayr
Copy link

thenayr commented Mar 20, 2013

Thanks @trullock

@pushmatrix
Copy link
Member

It works with coffee-script-source 1.6.2. I'm going to bump it to that.

@davefp davefp closed this as completed Aug 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants