• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

No graphs from PPStats ???

Dougal

Senior member
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?
 
Try giving the full path for this line eg.
C:/Program Files/gnuplot/wgnuplot.exe

Don't bother about the gnuplot.ini file.
 


<< 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?
 
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.
 
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!
 
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.
 
/me grins at Dougal!

Welcome to the full working ppstats club! 😎

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
 
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
 
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. 😀
 
Back
Top