← Back to team overview

graphite-dev team mailing list archive

[Question #200485]: Graph error short period

 

New question #200485 on Graphite:
https://answers.launchpad.net/graphite/+question/200485

Hi list,

 I'm playing with Graphite since las week and very impressed on how easy and capable it's compared to all rrd and cacti related "things", thank you for this GREAT tool!

 I'm facing a problem on a graph that isn't plotted when I choose small period, if I choose the last 60 min I get an error 500 page:


TypeError at /render
reduce() of empty sequence with no initial value
Request Method:	GET
Request URL:	http://127.0.0.1/render?width=300&from=-60minutes&until=now&height=250&_salt=1339723322.259&areaMode=stacked&hideLegend=false&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.200)%2Csum(nginx.domains.*.status.*))%2C%22200%22))&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.304)%2Csum(nginx.domains.*.status.*))%2C%22304%22))&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.400)%2Csum(nginx.domains.*.status.*))%2C%22400%22))&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.499)%2Csum(nginx.domains.*.status.*))%2C%22499%22))&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.500)%2Csum(nginx.domains.*.status.*))%2C%22500%22))&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.502)%2Csum(nginx.domains.*.status.*))%2C%22502%22))&target=cactiStyle(alias(asPercent(sum(nginx.domains.*.status.504)%2Csum(nginx.domains.*.status.*))%2C%22504%22))&yMin=0&yMax=100&title=HTTP%20Req%20Status%20Dist&_uniq=0.41231182194314897
Django Version:	1.4
Exception Type:	TypeError
Exception Value:	
reduce() of empty sequence with no initial value
Exception Location:	/opt/graphite/webapp/graphite/render/functions.py in normalize, line 111

And all the stack trace information... as I'm not a python guy it's a little hard to debug that... 

Can someone help me ?

If I choose a bigger interval (like 6000 min) the graph is plotted ok.

Regards,
Alexandre

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