Can't setup the database

59 vues
Accéder directement au premier message non lu

Arnaud Lamy

non lue,
26 août 2013, 10:26:2326/08/2013
à team_da...@googlegroups.com
Hi guys,

I'm on Debian 6 and I can't configure my database. Here's my pastebin: http://pastebin.com/SpGNGH79

My configuration is good, I can connect with mysql client. After the db:create I don't have any db created, any ideas ?

Thanks for your help !
--
Arnaud

Frederik Dietz

non lue,
29 août 2013, 11:11:5929/08/2013
à team_da...@googlegroups.com
Hi Arnaud,

on first glance it could be a problem in your database.yml. Could you post a snippet with a configuration example?

Cheers,
Frederik


--
You received this message because you are subscribed to the Google Groups "Team Dashboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to team_dashboar...@googlegroups.com.
To post to this group, send email to team_da...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/team_dashboard/CAKdXZFMpbrm7H0S8A%3DuuLNXk2R8sEHkcVC%3DZtzWdZLKJeROL0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Arnaud Lamy

non lue,
29 août 2013, 12:01:3129/08/2013
à team_da...@googlegroups.com
Hi,

Problem solved, must be my version of ruby (1.9.1). I installed 1.9.3 on debian 6 (not easy) ! Here's the link I follow:

http://cicolink.blogspot.fr/2011/06/how-to-install-ruby-on-rails-3-with.html

Now I have an issue with the graph widget and http_proxy.

Arnaud



For more options, visit https://groups.google.com/groups/opt_out.



--
Arnaud

Frederik Dietz

non lue,
29 août 2013, 12:20:0129/08/2013
à team_da...@googlegroups.com
Hi again,

great that you solved your problem!

The http_proxy bug is fixed on master - see my other email!

Cheers,
Frederik


Arnaud Lamy

non lue,
30 août 2013, 04:19:0730/08/2013
à team_da...@googlegroups.com
Hi,

Thank you very much it works now ! Really a great tool !

Arnaud



For more options, visit https://groups.google.com/groups/opt_out.



--
Arnaud

Arnaud Lamy

non lue,
9 sept. 2013, 04:56:1509/09/2013
à team_da...@googlegroups.com
Hi,

Is it possible to add the target when you're hover the line (instead of just the value) in a graph ?

Best,
Arnaud



For more options, visit https://groups.google.com/groups/opt_out.



--
Arnaud

Frederik Dietz

non lue,
29 sept. 2013, 05:34:4529/09/2013
à team_da...@googlegroups.com
Hi Arnaud,

there's a hover tooltip for the graph widget, which shows the datapoint name and value.

Inline image 1

Is it not showing for you?

Cheers,
Frederik


Screen Shot 2013-09-29 at 10.41.16 AM.png

Arnaud Lamy

non lue,
30 sept. 2013, 03:59:1530/09/2013
à team_da...@googlegroups.com
Hi,

I'm using graph widget with http_proxy with multiple targets under firefox. I have this:

Inline image 1

My version is up to date. (commit eb66942fbe81cc36c21dc1c214a078c0ae673a72)

Arnaud



For more options, visit https://groups.google.com/groups/opt_out.



--
Arnaud
example.png
Screen Shot 2013-09-29 at 10.41.16 AM.png

Frederik Dietz

non lue,
19 oct. 2013, 10:56:0419/10/2013
à team_da...@googlegroups.com
Hi Arnaud,

can you check if your HTTP request returns a json response with the following data:

[
  { "target": "my label", "datapoints": [[75, 1382192473], [42, 1382192523]] },
  { "target": "my label 2", "datapoints": [[75, 1382192473], [42, 1382192523]] }
]

I assume that in your call the "target" might be missing. The code which transforms your request data in order to render it can be found /app/assets/javascripts/services/flotr_graph_helper#transformSeriesOfDatapoints. In case of a missing label it will simply not render anything for a label.

Best regards,
Frederik


Screen Shot 2013-09-29 at 10.41.16 AM.png
example.png

Arnaud Lamy

non lue,
21 oct. 2013, 05:16:5421/10/2013
à team_da...@googlegroups.com
Hi,

I checked and I do have a target (mandatory to setup the widget no?).

Here's what I have:

{"target:": "test_review", "datapoints": [.....]}

Best,
Arnaud




For more options, visit https://groups.google.com/groups/opt_out.



--
Arnaud
Screen Shot 2013-09-29 at 10.41.16 AM.png
example.png

Frederik Dietz

non lue,
22 oct. 2013, 15:35:4222/10/2013
à team_da...@googlegroups.com
Hi Arnaud,

I don't have a http service ready to test this quickly myself, but maybe I can point you to the code which might cause the problem.

The javascript to render the graph can be found here:

In line 44 is the trackFormatterFn() function which returns the template for the hover details rendered with data.

But before this is called the data from your service is transformed in line 113 transformSeriesOfDatapoints().

You can try to set a breakpoint and look into the incoming data and if it is transformed as required for the hover details formatter function.

I should be able to look into this more closely with some example code/specs on the weekend for myself.

Kind regards,
Frederik


Screen Shot 2013-09-29 at 10.41.16 AM.png
example.png

Frederik Dietz

non lue,
9 nov. 2013, 07:23:2909/11/2013
à team_da...@googlegroups.com
Hi again Arnaud,

I've tested this again with my own little service and it seems to work for me.

Inline image 1

The label "my label2" is printed correctly.

Can you test this again? Just want to make sure it wasn't a temporary problem.

Cheers,
Frederik
example.png
Screen Shot 2013-09-29 at 10.41.16 AM.png
Screenshot 2013-11-09 13.20.03.png
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message