← Back to team overview

graphite-dev team mailing list archive

Re: [Question #97754]: perl script not working

 

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

    Status: Answered => Open

cnsmith is still having a problem:
i am using the latest version.  /usr/local/graphite is a sym link to
/opt/graphite.

I also think its a problem with my schemas.

No such file or directory: 'conf/storage-schemas.conf'

18/01/2010 11:13:03 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/dist-packages/twisted/python/threadpool.py", line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/opt/graphite/carbon/lib/carbon/writer.py", line 144, in writeForever
    writeCachedDataPoints()
  File "/opt/graphite/carbon/lib/carbon/writer.py", line 83, in writeCachedDataPoints
    for schema in schemas:
exceptions.NameError: global name 'schemas' is not defined

18/01/2010 11:13:18 :: Failed to reload storage schemas
18/01/2010 11:13:18 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1137, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 757, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/task.py", line 114, in __call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 106, in maybeDeferred
    result = f(*args, **kw)
--- <exception caught here> ---
  File "/opt/graphite/carbon/lib/carbon/writer.py", line 154, in reloadStorageSchemas
    schemas = loadStorageSchemas()
  File "/opt/graphite/carbon/lib/carbon/storage.py", line 109, in loadStorageSchemas
    config.read(STORAGE_SCHEMAS_CONFIG)
  File "/opt/graphite/carbon/lib/carbon/conf.py", line 45, in read
    for line in open(path):
exceptions.IOError: [Errno 2] No such file or directory: 'conf/storage-schemas.conf'

18/01/2010 11:13:19 :: Sorted 11 cache queues in 0.000029 seconds

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