graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00134
Re: [Question #89138]: Centos 5.4, couple problems
Question #89138 on Graphite changed:
https://answers.launchpad.net/graphite/+question/89138
fp posted a new comment:
Okay, I installed the latest Twisted from source, and that error is
gone.
I'm running carbon with
./carbon-cache.py --config=/usr/local/graphite/carbon/conf/carbon.conf --debug start
then I run the example client.
New errors:
07/11/2009 22:29:13 :: [console] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 1137, in mainLoop
self.runUntilCurrent()
File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 757, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.4/site-packages/twisted/internet/task.py", line 114, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 106, in maybeDeferred
result = f(*args, **kw)
--- <exception caught here> ---
File "/usr/local/graphite/carbon/lib/carbon/writer.py", line 141, in reloadStorageSchemas
schemas = loadStorageSchemas()
File "/usr/local/graphite/carbon/lib/carbon/storage.py", line 110, in loadStorageSchemas
config = ConfigParser(dict_type=OrderedDict)
exceptions.TypeError: __init__() got an unexpected keyword argument 'dict_type'
07/11/2009 22:29:14 :: [console] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.4/site-packages/twisted/python/threadpool.py", line 210, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/local/graphite/carbon/lib/carbon/writer.py", line 131, in writeForever
writeCachedDataPoints()
File "/usr/local/graphite/carbon/lib/carbon/writer.py", line 74, in writeCachedDataPoints
for schema in schemas:
exceptions.NameError: global name 'schemas' is not defined
------------------------------------------------------
Which I take to be a problem with my schemas file. Which all I did was rename.
pwd
/usr/local/graphite/carbon/conf
[root@generic conf]# cat storage-schemas.conf
[everything_1min_1day]
priority = 100
pattern = .*
retentions = 60:1440
so close I can taste it. :)
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.