Rendering fails when infinite values are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Rendering graphs fails if any of the points contains an 'inf' value (possible when "inf" or "Infinity" is passed as a value to carbon).
Here's the stacktrace:
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/
image = doImageRender(
File "/opt/graphite/
img = graphClass(
File "/opt/graphite/
File "/opt/graphite/
File "/opt/graphite/
ValueError: max() arg is an empty sequence
Modifying the safeMax et al functions to filter out 'inf' values resolves the issue for me
Changed in graphite: | |
status: | Fix Committed → Fix Released |
Fix committed in r703