← Back to team overview

graphite-dev team mailing list archive

Re: [Question #243806]: Graphlot not rendering

 

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

David Marble posted a new comment:
For others looking for an answer to this, it appears the stable branch
of graphite-web used in the graphite installation instructions (at least
as of today 2014-05-08) does have this issue, but it's been
fixed/changed in master. I haven't tried deploying the master branch. If
you just want to fix this issue to get graphlot working with graphite-
web 0.9.x, here's one workaround:

Edit `graphite/render/datalib.py` under the webapp directory, and
replace

  now = requestContext['now']

with:

   try:
    now = requestContext['now']
  except:
    from django.utils.timezone import now as _now
    now = _now()

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