← Back to team overview

graphite-dev team mailing list archive

Re: [Question #100257]: Problem installing graphite from bzr source to CentOS 5.3

 

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

Alon Lutzker requested more information:
- I've been trying to get the graphite AMQP plugin to work.
- We have python 2.6 installed, which I understand is a requirement to have the plugin  work
- for some reason the amqp_listener.py doesn't use the python 2.6, only the 2.4

When the AMQP plugin is enabled in carbon.conf, the restart gives this
error. When the plugin is disabled, no problems.


Starting carbon-cache:f...
Starting carbon-cache (instance f)
Traceback (most recent call last):
  File "/usr/bin/carbon-cache.py", line 30, in ?
    run_twistd_plugin(__file__)
  File "/usr/lib/python2.4/site-packages/carbon/util.py", line 92, in run_twistd_plugin
    runApp(config)
  File "/usr/lib64/python2.4/site-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib64/python2.4/site-packages/twisted/application/app.py", line 411, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib64/python2.4/site-packages/twisted/application/app.py", line 489, in createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "/usr/lib/python2.4/site-packages/twisted/plugins/carbon_cache_plugin.py", line 21, in makeService
    return service.createCacheService(options)
  File "/usr/lib/python2.4/site-packages/carbon/service.py", line 115, in createCacheService
    root_service = createBaseService(config)
  File "/usr/lib/python2.4/site-packages/carbon/service.py", line 50, in createBaseService
    from carbon import amqp_listener
  File "/usr/lib/python2.4/site-packages/carbon/amqp_listener.py", line 66
    chan = yield self.channel(1)
               ^
SyntaxError: invalid syntax
                                                           [FAILED]

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