No graphs from PPStats ???

Dougal

Senior member
Oct 10, 1999
552
0
0
Hi all,

This has been driving me mad for months now so I decided it was time to have another look. When I run the PPStats script to generate stats from my PProxy I get all the pages but no graphs. All of the images are missing. I did a bit of digging yesterday and it looks like it's a path problem with the gnuplot.ini file but I can't figure out where it's going wrong in the script.

The GNUPlot section of my PPStats script looks like this :-

GNUPlot = "c:\progra~1\gnuplot\wgnuplot.exe" # Path to GNUplot executable.
GNUPlotconfig = "gnuplot.ini" # GNUplot config file.
GNUPlotdata = "plot.data" # GNUplot data file.
GNUPlotoutput = "plot.gif" # Output GIF filename.

And this is what's sent to the gnuplot.ini file :-

set output 'd:\martin\dnet\/plot.gif'
plot 'd:\martin\dnet\/plot.data' using 1:2 title 'daily', 28125.5175983437 title 'overall', 'd:\martin\dnet\/plot.data' using 1:3 title '21 day'

Now, I can see where the problem lies as highlited above but for the life of me I can't seem to change the output directory to clear the pair of slashes.

Can anyone point me in the right direction here?
 

jinsonxu

Golden Member
Aug 19, 2000
1,370
0
0
Try giving the full path for this line eg.
C:/Program Files/gnuplot/wgnuplot.exe

Don't bother about the gnuplot.ini file.
 

Jani

Senior member
Dec 24, 1999
405
0
0


<< And this is what's sent to the gnuplot.ini file :-

set output 'd:\martin\dnet \/ plot.gif'
plot 'd:\martin\dnet \/ plot.data' using 1:2 title 'daily', 28125.5175983437 title 'overall', 'd:\martin\dnet \/ plot.data' using 1:3 title '21 day'
>>



I'm not specialist but maybe taking one slash away helps?
 

Dougal

Senior member
Oct 10, 1999
552
0
0
OK, thanks to jinsonxu I now have stats.

A combination of slashes going the wrong way in the path statsments and a different version of WGNUPLOT.EXE.

Thanks for the help everyone.
 

jinsonxu

Golden Member
Aug 19, 2000
1,370
0
0
Great to have you aboard! :)

I remember when it was my time, it took Jator, RC and Two-face to get me going. <Grin>

TA's great!
 

Jator

Golden Member
Jun 14, 2000
1,445
7
81
It takes a village to raise a child....uh, I mean to get ppStats going. ;)
 

Dougal

Senior member
Oct 10, 1999
552
0
0
Hi Jay,

It wasn't the stats, just the graphs. I've got 4 pproxies running in various locations and stats on them all. The only one that has produced graphs though was my Linux box which just worked. Now I have a chance to get my other stats graphs working.
 

TwoFace

Golden Member
May 31, 2000
1,811
0
0
/me grins at Dougal!

Welcome to the full working ppstats club! :cool:

The reason why your linux box just worked was that linux doesn't do \'s just /'s so you probably had them right there the whole time! ;) Perl is just like linux in that aspect!

Anyway good to see you've got it going...

With love and respect your fellow TA member

Two-Face
 

Jator

Golden Member
Jun 14, 2000
1,445
7
81
Dougal,

If the graph's not working then you don't have a fully functional pPstats going. ;)

There have been plenty of times I've gone to set ppstats up and the graph won't work. Graph is kind auseless if you ask me, but I hate the little X where the graph should go, so I try and resolve it usually.

Jay
 

BGod

Golden Member
Oct 9, 1999
1,375
39
91
Thanks first of all to Dougal for asking the question. I was having the same exact problem with my ppstats not generating graphs. And also thanks to jinsonxu for figuring out what was wrong with my settings.

Now lets hope D.net fixes their stats so we can watch ourselves pass Slashdot. :D