[rrd-developers] RRDGraph Error in 1.5.0 and 1.5.1

Bruce Morgan Bruce.Morgan at aarnet.edu.au
Fri Apr 24 10:50:09 CEST 2015


Tobi has Fixed in 1.5.2

;-) Thanks


Bruce


On 23/04/2015 3:42 pm, "Bruce Morgan" <Bruce.Morgan at aarnet.edu.au> wrote:

>
>PRINT:687_xe_0_0_3_201c:%6.3lf PRINT:o687_xe_0_0_3_201c:%6.3lf
>*Unable to create graph: Not a valid vname: o687_xe_0_0_3_201bit in line
>o687_xe_0_0_3_201bits,95,PERCENT *
>
>So the error message shows a truncated vname
>
>In rrd_graph_helper.c:
>
>   strncpy(gdp->ds_nam,gdp->rpn,DS_NAM_SIZE);
>    *c=',';
>    /* trying to find the vidx for that name */
>    gdp->vidx = find_var(im, gdp->ds_nam);
>    if (gdp->vidx<0) { *c=',';
>      rrd_set_error("Not a valid vname: %s in line %s", gdp->ds_nam,
>gdp->rpn);
>      return 1;}
>
>So it seems that the lookahead is getting the comma earlier than it
>should.
>Anyone able to sort this?
>
>regards
>
>Bruce
>
>
>
>--
>View this message in context:
>http://rrd-mailinglists.937164.n2.nabble.com/RRDGraph-Error-in-1-5-0-and-1
>-5-1-tp7582906.html
>Sent from the RRDtool Developers Mailinglist mailing list archive at
>Nabble.com.
>
>_______________________________________________
>rrd-developers mailing list
>rrd-developers at lists.oetiker.ch
>https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers



More information about the rrd-developers mailing list