twistd scripts don't work when installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned | ||
graphite-web (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
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_
File "/opt/graphite/
config.
File "/usr/lib/
usage.
File "/usr/lib/
raise UsageError("Unknown command: %s" % sub)
twisted.
Changed in graphite-web (Ubuntu): | |
status: | New → Confirmed |
affects: | ubuntu → graphite-web (Ubuntu) |
Changed in graphite-web (Ubuntu): | |
status: | New → Incomplete |
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 carbon- cache.py" , line 28, in <module> lib/carbon/ util.py" , line 8, in <module>
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