← Back to team overview

graphite-dev team mailing list archive

Re: [Question #219024]: Changed storage-schemas resized the whisper files - no data displayed

 

Question #219024 on Graphite changed:
https://answers.launchpad.net/graphite/+question/219024

    Status: Open => Answered

abeusher proposed the following answer:
I am running into a similar problem.  A fresh install of all of the
graphite-project components is not showing any new information. I ran
carbon-cache.py with --debug enabled and got the following stack trace.

-----
13/01/2013 15:01:09 :: [creates] creating database file /opt/graphite/storage/whisper/foo/loadavg_15min.wsp (archive=[(10, 8640)] xff=None agg=None)
13/01/2013 15:01:09 :: [console] Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 172, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/opt/graphite/lib/carbon/writer.py", line 162, in writeForever
    writeCachedDataPoints()
  File "/opt/graphite/lib/carbon/writer.py", line 123, in writeCachedDataPoints
    whisper.create(dbFilePath, archiveConfig, xFilesFactor, aggregationMethod, settings.WHISPER_SPARSE_CREATE, settings.WHISPER_FALLOCATE_CREATE)
exceptions.TypeError: create() takes at most 5 arguments (6 given)

-----
Looks like a problem in carbon/writer.py line 123

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