graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00115
Couldn't start carbon-cache
I couldn't start carbon-cache.py either. Doing a 'python2.6 setup.py
install' in graphite/carbon didn't seem to work, I was getting:
plageis:/home/timo/graphite/carbon/bin# python2.6 ./carbon-cache.py
Traceback (most recent call last):
File "./carbon-cache.py", line 52, in <module>
from carbon.conf import settings
ImportError: No module named carbon.conf
So I hacked in a PYTHONPATH:
plageis:/home/timo/graphite/carbon/bin#
PYTHONPATH=/home/timo/graphite/carbon/lib python2.6 ./carbon-cache.py
Traceback (most recent call last):
File "./carbon-cache.py", line 56, in <module>
from carbon.writer import startWriter
File "/home/timo/graphite/carbon/lib/carbon/writer.py", line 25, in <module>
from carbon.storage import getFilesystemPath, loadStorageSchemas
File "/home/timo/graphite/carbon/lib/carbon/storage.py", line 127, in <module>
defaultSchema = Schema(name='default', test=lambda m: True,
archives=[defaultArchive])
TypeError: this constructor takes no arguments