Re: plotter error

Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> Thu, 29 Sep 2011 22:03:28 +0400
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <[email protected]>
On Thu, 29 Sep 2011 13:41:40 -0400, Sarah Milani <[email protected]> wrote:
> Hi Dmitry
>  Thanks for your answer! the report was generated, however the figures are
> not loaded....:
> 
> *"**Figure 'Document hit ratio trace' not available: something went wrong
> while generating the graph"*
> 
> In the console that i ran the command, i get this errors messages:
> 
> 
> *set term png small
>          ^
> "/tmp/polyrep/squid/figures/object.rep.load.trace.scope=sides=client__phases=dfl
> t.gp", line 1: unknown or ambiguous terminal type; type just 'set terminal'
> for                   a list
> 
> error: cannot plot
> /tmp/polyrep/squid/figures/object.rep.load.trace.scope=sides=
> client__phases=dflt.gp; consult error messages above, if any
> plot file was:
> set term png small
> set output
> '/tmp/polyrep/squid/figures/object.rep.load.trace.scope=sides=client_
> _phases=dflt.png'
> *
> Is necessary set something in gnuplot? =/
> 

I guess the gnuplot is built without PNG support.  Here is what I get on
my system:

  gnuplot> set term png small
  Terminal type set to 'png'
  Options are 'nocrop small size 640,480 '
  gnuplot> set term qwe small
                    ^
           unknown or ambiguous terminal type; type just 'set terminal' for a list

Consider using gnuplot package that comes with your system.  It should
have PNG support.  Otherwise you need to rebuild gnuplot with PNG
support enabled.

Regards,
  Dmitry

> Thanks for support.
> 
> 
> 
> 2011/9/29 Dmitry Kurochkin <[email protected]>
> 
> > Hi Sarah.
> >
> > On Thu, 29 Sep 2011 11:37:23 -0400, Sarah Milani <[email protected]>
> > wrote:
> > > When i try to generate a report with command:
> > >
> > > ./polygraph-reporter --label "squid" /tmp/*.log --plotter
> > > /usr/local/gnuplot/bin/gnuplot
> > >
> > > I get this error message:
> > >
> > > --plotter: read error; (s2) No such file or directory
> > >
> > > How can i fix this?
> > >
> >
> > Log files should go after all other options on reporter command line.
> > This should work:
> >
> > ./polygraph-reporter --label "squid" --plotter
> > /usr/local/gnuplot/bin/gnuplot /tmp/*.log
> >
> > Regards,
> >  Dmitry
> >
> > >
> > > Best Regards
> > >
> > > --
> > > Sarah Milani
> > > _______________________________________________
> > > Users mailing list
> > > [email protected]
> > > http://www.web-polygraph.org/mailman/listinfo/users
> >
> 
> 
> 
> -- 
> Atenciosamente,
> 
> Sarah Milani
> 
> "Tú te tornas eternamente responsável por aquilo que clicas"
_______________________________________________
Users mailing list
[email protected]
http://www.web-polygraph.org/mailman/listinfo/users