On Jul 18, 2011, at 10:11 AM, wr0ngway <email address hidden> wrote:
> Looks like the twisted and twisted.plugins packages are missing from
> carbon/setup.py (ant he associated __init__.py in the associated
> directories)
>
> I tried adding them in, but then util.py can't find the system installed
> twisted package - I don't know enough about python to say how to fix
> this.
>
>
> root@matt:/opt/graphite# ./bin/carbon-cache.py start
> Traceback (most recent call last):
> File "./bin/carbon-cache.py", line 28, in <module>
> from carbon.util import run_twistd_plugin
> File "/opt/graphite/lib/carbon/util.py", line 8, in <module>
> from twisted.python.util import initgroups
> ImportError: No module named python.util
>
> --
> 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
I'll take a look.
-Nick
On Jul 18, 2011, at 10:11 AM, wr0ngway <email address hidden> wrote:
> Looks like the twisted and twisted.plugins packages are missing from /opt/graphite# ./bin/carbon- cache.py start carbon- cache.py" , line 28, in <module> lib/carbon/ util.py" , line 8, in <module> /bugs.launchpad .net/bugs/ 812279 install install cache.py start bin/carbon- cache.py" , line 30, in <module> plugin( __file_ _) lib/carbon/ util.py" , line 118, in run_twistd_plugin parseOptions( twistd_ options) python2. 7/dist- packages/ twisted/ application/ app.py" , line 606, in parseOptions parseOptions( self, options) python2. 7/dist- packages/ twisted/ python/ usage.py" , line 234, in parseOptions python. usage.UsageErro r: Unknown command: carbon-cache /bugs.launchpad .net/graphite/ +bug/812279/ +subscriptions
> carbon/setup.py (ant he associated __init__.py in the associated
> directories)
>
> I tried adding them in, but then util.py can't find the system installed
> twisted package - I don't know enough about python to say how to fix
> this.
>
>
> root@matt:
> Traceback (most recent call last):
> File "./bin/
> from carbon.util import run_twistd_plugin
> File "/opt/graphite/
> from twisted.python.util import initgroups
> ImportError: No module named python.util
>
> --
> You received this bug notification because you are subscribed to
> Graphite.
> https:/
>
> 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_
> cd /tmp/graphite_
> 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-
> Traceback (most recent call last):
> File "/opt/graphite/
> run_twistd_
> File "/opt/graphite/
> config.
> File "/usr/lib/
> usage.Options.
> File "/usr/lib/
> raise UsageError("Unknown command: %s" % sub)
> twisted.
>
> To manage notifications about this bug go to:
> https:/