KeyError: u'sumSeriesWithWildcard'

Bug #890214 reported by Nadia Alramli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Graphite
Fix Released
Undecided
Unassigned

Bug Description

Since we upgraded graphite from 0.9.8 to 0.9.9 we started to get this exception with any graph that uses sumSeriesWithWildcard or averageSeriesWithWildcard. All of these graphs used to work with version 0.9.8 with no errors.

  File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 99, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/opt/graphite/webapp/graphite/render/views.py", line 105, in renderView
    seriesList = evaluateTarget(requestContext, target)
  File "/opt/graphite/webapp/graphite/render/evaluator.py", line 10, in evaluateTarget
    result = evaluateTokens(requestContext, tokens)
  File "/opt/graphite/webapp/graphite/render/evaluator.py", line 21, in evaluateTokens
    return evaluateTokens(requestContext, tokens.expression)
  File "/opt/graphite/webapp/graphite/render/evaluator.py", line 27, in evaluateTokens
    func = SeriesFunctions[tokens.call.func]
KeyError: u'sumSeriesWithWildcard

Thanks

Revision history for this message
FRLinux (frlinux-frlinux) wrote :

As mentioned in the bug report, worked perfectly on 0.9.8 and borked in 0.9.9, turns out stuff was removed.

Please find attached that fixes this, tested on our live graphite 0.9.9 install.

Steph

Revision history for this message
Michael Leinartas (mleinartas) wrote :

Closing this out as the functions were brought back in r593 already and will be in the next release

Changed in graphite:
milestone: none → 0.9.10
status: New → Fix Committed
Changed in graphite:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.