Skip to content

Instantly share code, notes, and snippets.

@pythiannunez
Last active August 29, 2015 13:56
Show Gist options
  • Save pythiannunez/9075937 to your computer and use it in GitHub Desktop.
Save pythiannunez/9075937 to your computer and use it in GitHub Desktop.
$ curl "http://localhost/render/?target=diffSeries(statsd.numStats,5)&format=json"
<body style="background-color: #666666; color: black;">
<center>
<h2 style='font-family: "Arial"'>
<p>Graphite encountered an unexpected error while handling your request.</p>
<p>Please contact your site administrator if the problem persists.</p>
</h2>
<br/>
<div style="width: 50%; text-align: center; font-family: monospace; background-color: black; font-weight: bold; color: #ff4422;">
</div>
<div style="width: 70%; text-align: left; background-color: black; color: #44ff22; border: thin solid gray;">
<pre>
Traceback (most recent call last):
File &quot;/usr/lib/python2.7/dist-packages/django/core/handlers/base.py&quot;, line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File &quot;/opt/graphite/webapp/graphite/render/views.py&quot;, line 110, in renderView
seriesList = evaluateTarget(requestContext, target)
File &quot;/opt/graphite/webapp/graphite/render/evaluator.py&quot;, line 10, in evaluateTarget
result = evaluateTokens(requestContext, tokens)
File &quot;/opt/graphite/webapp/graphite/render/evaluator.py&quot;, line 21, in evaluateTokens
return evaluateTokens(requestContext, tokens.expression)
File &quot;/opt/graphite/webapp/graphite/render/evaluator.py&quot;, line 29, in evaluateTokens
return func(requestContext, *args)
File &quot;/opt/graphite/webapp/graphite/render/functions.py&quot;, line 247, in diffSeries
(seriesList,start,end,step) = normalize(seriesLists)
File &quot;/opt/graphite/webapp/graphite/render/functions.py&quot;, line 119, in normalize
seriesList = reduce(lambda L1,L2: L1+L2,seriesLists)
File &quot;/opt/graphite/webapp/graphite/render/functions.py&quot;, line 119, in &lt;lambda&gt;
seriesList = reduce(lambda L1,L2: L1+L2,seriesLists)
TypeError: can only concatenate list (not &quot;int&quot;) to list
</pre>
</div>
</center>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment