← Back to team overview

graphite-dev team mailing list archive

Re: [Question #89138]: Centos 5.4, couple problems

 

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

chrismd proposed the following answer:
The problem is they are ajax calls so the 500 response does contain a bunch
of debug info (because DEBUG = True) but since it's an ajax call you aren't
seeing that in the UI. The search feature actually does work but it requires
an index file to be generated first, I recently added some code to disable
the search tab if the index file does not exist so you're not left wondering
why it gives no results. To generate the index file there's a script in
trunk under misc/ called rebuild_index.sh. Run that (as the user that owns
the storage dir) and then the search feature should work. The Tree and
AutoCompleter work for me, so what would really help in figuring out the
problem is to see the 500 response directly. If you have firebug, you should
be able to see the response content for each ajax call. That content should
be a detailed error page.

-Chris

On Sun, Nov 8, 2009 at 3:17 AM, fp
<question89138@xxxxxxxxxxxxxxxxxxxxx>wrote:

> Question #89138 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/89138
>
> fp posted a new comment:
> I ignored my own advice and kept playing with it. :)
>
> I installed everything to the /opt/graphite dir, as you had it (didn't
> mess with the setup.cfg's)
>
> Carbon is working, and i'm running the example client.
>
> The Search and autocomplete don't work. However the CLI autocomplete
> DOES work.
>
> log from working cli:
> 192.168.1.65 - - [08/Nov/2009:02:58:45 -0600] "GET
> /cli/autocomplete/?path=draw%20carbon. HTTP/1.1" 200 31
>
> log from broken autocomplete:
> 192.168.1.65 - - [08/Nov/2009:02:59:45 -0600] "POST /metrics/find/
> HTTP/1.1" 500 64957
>
> log from broken search:
> 192.168.1.65 - - [08/Nov/2009:03:02:37 -0600] "POST /browser/search/
> HTTP/1.1" 500 47489
>
> log from broken tree:
> 192.168.1.65 - - [08/Nov/2009:03:02:37 -0600] "POST /browser/search/
> HTTP/1.1" 500 47489
>
> debug is set to TRUE in local_settings.py, I turned PythonDebug On in
> the apache config. I can't find any details on these 500s.
>
> --
> 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<https://launchpad.net/%7Egraphite-dev>
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev<https://launchpad.net/%7Egraphite-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.