← Back to team overview

graphite-dev team mailing list archive

Re: [Question #179202]: trouble starting carbon-cache on new install

 

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

    Status: Open => Answered

Nicholas Leskiw proposed the following answer:
Install Twisted >=8.2

We're trying to patch this so that older versions of Twisted still work.

On Fri, Nov 18, 2011 at 1:00 AM, Mike
<question179202@xxxxxxxxxxxxxxxxxxxxx>wrote:

> Question #179202 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/179202
>
> Description changed to:
> Hi, I just downloaded Graphite and went through the install process on
> Debian 5.0.9 and the debian distributed Python 2.5.2, I donloaded and
> installed
> Main packages:
> carbon-0.9.9
> graphite-web-0.9.9
> whisper-0.9.9
>
> for Deps:
> DJango-1.3.1
> txAMQP-0.3
> django-tagging-0.3.1
>
> I was able to satisfy the rest of the dependencies using apt-get so that
> everything installed.  I've got Apache configured and I have the
> graphite gui running now, but when I go to start up carbon-cache it
> kicks the following error:
>
> 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 34, in run_twistd_plugin
>    from carbon.conf import get_parser
>  File "/opt/graphite/lib/carbon/conf.py", line 25, in <module>
>    from carbon import log
>  File "/opt/graphite/lib/carbon/log.py", line 4, in <module>
>    from twisted.python.log import startLoggingWithObserver,
> textFromEventDict, msg, err, ILogObserver
> ImportError: cannot import name ILogObserver
>
> I did notice when I installed the carbon portion that it kicked the
> following error
>
> $ sudo python setup.py install
> /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown
> distribution option: 'install_requires'
>  warnings.warn(msg)
> running install
> running build
> running build_py
> package init file 'lib/twisted/plugins/__init__.py' not found (or not a
> regular file)
> package init file 'lib/twisted/plugins/__init__.py' not found (or not a
> regular file)
> running build_scripts
> running install_lib
> running install_scripts
> changing mode of /opt/graphite/bin/carbon-aggregator.py to 755
> changing mode of /opt/graphite/bin/carbon-cache.py to 755
> changing mode of /opt/graphite/bin/carbon-client.py to 755
> changing mode of /opt/graphite/bin/carbon-relay.py to 755
> changing mode of /opt/graphite/bin/validate-storage-schemas.py to 755
> running install_data
> running install_egg_info
> Removing /opt/graphite/lib/carbon-0.9.9.egg-info
> Writing /opt/graphite/lib/carbon-0.9.9.egg-info
>
>
> Am I doing something wrong to get these errors, or is this a bug with
> Carbon 0.9.9?
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>

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