On 29 April 2010 06:01, Craig Kimerer <
craig....@gmail.com> wrote:
> Hello,
> I tried searching through the archives but couldn't find something that is
> relating to my problem I am encountering. I am trying to get graphite
> running on Ubuntu 9.10 / Apache 2.2.12 / mod_wsgi 2.5-1.
> While running apache and going to the graphite address I get the following
> message in the apache error logs:
>
> Could not import graphite.local_settings, using defaults!
>
> The code logging this message can be found
> at
http://bazaar.launchpad.net/~graphite-dev/graphite/main/annotate/head:/webapp/graphite/settings.py#L83
>
> The site works (graphite.settings can be imported), however, it ignores the
> local_settings that I have defined (local_settings.py). I am not entirely
> sure why local_settings cannot be imported as I can import from the python
> interpreter with the same
>
> import sys /
> sys.path.insert(0, '/opt/graphite/webapp')
> import graphite.local_settings
>
> mod_wsgi successfully imports the storage and remote_storage module
> successfully, and when checking those modules' __file__ it points to the
> path I would be expecting (the same directory as local_settings.py).
> Any ideas? Can I provide any other information that will help debug this
> problem?
So that the actual reason for the error isn't masked. This may give