graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04606
[Question #242873]: wrong number of args sent to whisper fetch in storage.py
New question #242873 on Graphite:
https://answers.launchpad.net/graphite/+question/242873
I get this stack trace when I attempt to render a graph
Environment:
Request Method: GET
Request URL: http://stefanows/render/?width=586&height=308&_salt=1390865354.318&target=carbon.agents.stefanows-a.cpuUsage
Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['graphite.metrics',
'graphite.render',
'graphite.cli',
'graphite.browser',
'graphite.composer',
'graphite.account',
'graphite.dashboard',
'graphite.whitelist',
'graphite.events',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.contenttypes',
'tagging']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py" in renderView
112. seriesList = evaluateTarget(requestContext, target)
File "/opt/graphite/webapp/graphite/render/evaluator.py" in evaluateTarget
10. result = evaluateTokens(requestContext, tokens)
File "/opt/graphite/webapp/graphite/render/evaluator.py" in evaluateTokens
21. return evaluateTokens(requestContext, tokens.expression)
File "/opt/graphite/webapp/graphite/render/evaluator.py" in evaluateTokens
24. return fetchData(requestContext, tokens.pathExpression)
File "/opt/graphite/webapp/graphite/render/datalib.py" in fetchData
230. dbResults = dbFile.fetch( timestamp(startTime), timestamp(endTime), timestamp(now))
File "/opt/graphite/webapp/graphite/storage.py" in fetch
308. return whisper.fetch(self.fs_path, startTime, endTime, now)
Exception Type: TypeError at /render/
Exception Value: fetch() takes at most 3 arguments (4 given)
running graphite and whisper v 0.9.12
Should I get a different version of whisper?
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.