graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #01266
[Question #169644]: AttributeError: 'module' object has no attribute 'parseRetentionDef'
New question #169644 on Graphite:
https://answers.launchpad.net/graphite/+question/169644
Hello,
I am following the Graphite installation instructions here:
http://graphite.wikidot.com/installation
I have completed the first page, and when I run ./examples/example-client.py, I get the error:
Couldn't connect to 127.0.0.1 on port 2003, is carbon-agent.py running?
I have started Carbon (or at least I tried to):
cd /opt/graphite/
./bin/carbon-cache.py start
It seems, however, that this does not start carbon. Tracing through the logs in /opt/graphite/storage/log/carbon-cache/console.log, I get the error:
AttributeError: 'module' object has no attribute 'parseRetentionDef'
The entire traceback is below. Any help would be appreciated.
0/08/2011 11:58:38 :: Traceback (most recent call last):
30/08/2011 11:58:38 :: File "./bin/carbon-cache.py", line 29, in <module>
30/08/2011 11:58:38 :: run_twistd_plugin(__file__)
30/08/2011 11:58:38 :: File "/opt/graphite/lib/carbon/util.py", line 85, in run_twistd_plugin
30/08/2011 11:58:38 :: runApp(config)
30/08/2011 11:58:38 :: File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
30/08/2011 11:58:38 :: _SomeApplicationRunner(config).run()
30/08/2011 11:58:38 :: File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 411, in run
30/08/2011 11:58:38 :: self.application = self.createOrGetApplication()
30/08/2011 11:58:38 :: File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 489, in createOrGetApplication
30/08/2011 11:58:38 :: ser = plg.makeService(self.config.subOptions)
30/08/2011 11:58:38 :: File "/opt/graphite/lib/twisted/plugins/carbon_cache_plugin.py", line 21, in makeService
30/08/2011 11:58:38 :: return service.createCacheService(options)
30/08/2011 11:58:38 :: File "/opt/graphite/lib/carbon/service.py", line 111, in createCacheService
30/08/2011 11:58:38 :: from carbon.writer import WriterService
30/08/2011 11:58:38 :: File "/opt/graphite/lib/carbon/writer.py", line 40, in <module>
30/08/2011 11:58:38 :: schemas = loadStorageSchemas()
30/08/2011 11:58:38 :: File "/opt/graphite/lib/carbon/storage.py", line 127, in loadStorageSchemas
30/08/2011 11:58:38 :: archives = [ Archive.fromString(s) for s in retentions ]
30/08/2011 11:58:38 :: File "/opt/graphite/lib/carbon/storage.py", line 110, in fromString
30/08/2011 11:58:38 :: (secondsPerPoint, points) = whisper.parseRetentionDef(retentionDef)
30/08/2011 11:58:38 :: AttributeError: 'module' object has no attribute 'parseRetentionDef'
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.