nPercentile rendering fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
New
|
Undecided
|
Nicholas Leskiw |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/
seriesList = evaluateTarget(
File "/opt/graphite/
result = evaluateTokens(
File "/opt/graphite/
return evaluateTokens(
File "/opt/graphite/
return func(requestCon
File "/opt/graphite/
name = 'nPercentile(%s, %.1f)' % (n, s_copy.name, perc_val)
TypeError: float argument required, not str
Changed in graphite: | |
assignee: | nobody → Nicholas Leskiw (nleskiw) |
I ran into this as well, it's fixed in development. For the latest stable release (0.9.10), just change line 1383 of "render/ functions. py" to:
name = 'nPercentile(%.1f, %s)' % (n, s_copy.name)