← Back to team overview

graphite-dev team mailing list archive

Re: [Question #152851]: "ValueError: math domain error" on generate of a graph

 

Question #152851 on Graphite changed:
https://answers.launchpad.net/graphite/+question/152851

    Status: Open => Answered

chrismd proposed the following answer:
Are you specifying a yMin or yMax parameter on the graph? The problem is
because of a bug that was fixed right after 0.9.8 was released, if you
look in glyph.py at line 598 and add these lines before the "yVariance =
..." line, that will fix it:

    if yMaxValue <= yMinValue:
      yMaxValue = yMinValue + 1

Or just install the latest trunk, that'd work too.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.