← Back to team overview

graphite-dev team mailing list archive

[Question #229970]: TypeError: 'NoneType' object is not iterable

 

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

graphite report  error when I vist this URL : http://graphitehost:8080/render?format=raw&target=alias(summarize(carbon.agents.Router1008_catcapstudio_com-a.cpuUsage%2C'1sec'%2C'sum')%2C'')&from=1369975782&until=1369975790

Here is the full errors:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/opt/graphite/webapp/graphite/render/views.py", line 104, 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 28, in evaluateTokens
    args = [evaluateTokens(requestContext, arg) for arg in tokens.call.args]
  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 28, in evaluateTokens
    args = [evaluateTokens(requestContext, arg) for arg in tokens.call.args]
  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 24, in evaluateTokens
    return fetchData(requestContext, tokens.pathExpression)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 224, in fetchData
    dbResults = dbFile.fetch( timestamp(startTime), timestamp(endTime) )
  File "/opt/graphite/webapp/graphite/storage.py", line 298, in fetch
    (timeInfo,values) = whisper.fetch(self.fs_path, startTime, endTime)
TypeError: 'NoneType' object is not iterable

I am a rookie ,can anybody help me !



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