← Back to team overview

graphite-dev team mailing list archive

[Question #661279]: (Chinese (Simplified)) i Don't start carbon-cache

 

A question was asked in a language (Chinese (Simplified)) spoken by
none of the registered Graphite answer contacts.

https://answers.launchpad.net/graphite/+question/661279

i'm  install  by pip 
i run  example    “/opt/graphite/examples/init.d/carbon-cache start”   
but it output error
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Starting carbon-cache:a...
Starting carbon-cache (instance a)
Traceback (most recent call last):
  File "bin/carbon-cache.py", line 32, in <module>
    run_twistd_plugin(__file__)
  File "/opt/graphite/lib/carbon/util.py", line 113, in run_twistd_plugin
    runApp(config)
  File "/usr/lib64/python2.7/site-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 386, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 446, in createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "/opt/graphite/lib/twisted/plugins/carbon_cache_plugin.py", line 20, in makeService
    from carbon import service
  File "/opt/graphite/lib/carbon/service.py", line 40, in <module>
    import carbon.protobuf  # NOQA
  File "/opt/graphite/lib/carbon/protobuf.py", line 5, in <module>
    from carbon.client import CarbonClientProtocol, CarbonClientFactory
  File "/opt/graphite/lib/carbon/client.py", line 170, in <module>
    class CarbonClientFactory(with_metaclass(PluginRegistrar, ReconnectingClientFactory, object)):
TypeError: with_metaclass() takes at most 2 arguments (3 given)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What should I do , can you help me ?   thank you very much

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.