Comment 7 for bug 812279

Revision history for this message
Nicholas Leskiw (nleskiw) wrote : Re: [Bug 812279] Re: twistd scripts don't work when installed

Hmmm I thought the current revision was in the high 570's are you using the 1.1 branch?

Jon Schedler - IMVU <email address hidden> wrote:

>I pulled the latest head this morning and I get this error (slightly
>different traceback though)
>
>root@jschedler-sandbox:/opt/graphite# sudo python bin/carbon-cache.py --debug --config=/opt/graphite/conf/carbon.conf start
>Traceback (most recent call last):
> File "bin/carbon-cache.py", line 30, in <module>
> run_twistd_plugin(__file__)
> File "/opt/graphite/lib/carbon/util.py", line 79, in run_twistd_plugin
> config.parseOptions(twistd_options)
> File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 668, in parseOptions
> usage.Options.parseOptions(self, options)
> File "/usr/lib/python2.6/dist-packages/twisted/python/usage.py", line 234, in parseOptions
> raise UsageError("Unknown command: %s" % sub)
>twisted.python.usage.UsageError: Unknown command: carbon-cache
>
>--
>You received this bug notification because you are subscribed to
>Graphite.
>https://bugs.launchpad.net/bugs/812279
>
>Title:
> twistd scripts don't work when installed
>
>Status in Graphite - Enterprise scalable realtime graphing:
> New
>
>Bug description:
> I installed the latest graphite from bazaar (v426):
>
> mkdir -p /tmp/graphite_install
> cd /tmp/graphite_install
> bzr branch lp:graphite
>
> pushd graphite/whisper
> python setup.py install
> popd
>
> pushd graphite/carbon
> python setup.py install
> popd
>
> pushd graphite
> python setup.py install
> popd
>
> But when I try to rub carbon, I get an exception:
>
> # cd /opt/graphite
> # ./bin/carbon-cache.py start
> Traceback (most recent call last):
> File "/opt/graphite/bin/carbon-cache.py", line 30, in <module>
> run_twistd_plugin(__file__)
> File "/opt/graphite/lib/carbon/util.py", line 118, in run_twistd_plugin
> config.parseOptions(twistd_options)
> File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 606, in parseOptions
> usage.Options.parseOptions(self, options)
> File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 234, in parseOptions
> raise UsageError("Unknown command: %s" % sub)
> twisted.python.usage.UsageError: Unknown command: carbon-cache
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/graphite/+bug/812279/+subscriptions