Installing Graphite on osx Lion

Asked by Gregory M

Hi,

I followed these instructions (https://gist.github.com/1968044) to install Graphite on my dev machine but I have a problem when I try to run the graphite server.

Here is the command I ran:

>> python run-graphite-devel-server.py start
Running Graphite from start under django development server

/usr/local/bin/django-admin.py runserver --pythonpath start/webapp --settings graphite.settings 0.0.0.0:8080
Error: Could not import settings 'graphite.settings' (Is it on sys.path?): No module named graphite.settings

Am I supposed to create graphite.settings file somewhere?

Thanks,
Greg

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
cbrinley
Solved:
Last query:
Last reply:
Revision history for this message
Best cbrinley (cbrinley) said :
#1

yes the settings.py file should be in the webapp/graphite directory of
graphite.
you need to pass the path to graphite root to the run-graphite-devel-server
script.

so if you installed to /opt/graphite then that would be what you'd want to
pass to this script:
example: ./run-graphite-devel-server.py --port 8080 /opt/graphite

hope that helps

On Mon, May 7, 2012 at 1:50 PM, Gregory M <
<email address hidden>> wrote:

> New question #196387 on Graphite:
> https://answers.launchpad.net/graphite/+question/196387
>
> Hi,
>
> I followed these instructions (https://gist.github.com/1968044) to
> install Graphite on my dev machine but I have a problem when I try to run
> the graphite server.
>
> Here is the command I ran:
>
> >> python run-graphite-devel-server.py start
> Running Graphite from start under django development server
>
> /usr/local/bin/django-admin.py runserver --pythonpath start/webapp
> --settings graphite.settings 0.0.0.0:8080
> Error: Could not import settings 'graphite.settings' (Is it on sys.path?):
> No module named graphite.settings
>
> Am I supposed to create graphite.settings file somewhere?
>
> Thanks,
> Greg
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

Revision history for this message
Gregory M (g-marcilhacy) said :
#2

Thanks cbrinley, that solved my question.