← Back to team overview

graphite-dev team mailing list archive

Re: [Question #93644]: any version of graphite working?

 

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

sigmonsaid gave more information on the question:
Turns out I had a proxy incorrectly caching my .js files. Fixed this
now. All good things to pay attention to for future installations =P

Next, I have already fixed this (since i'm on python 2.5 ) but thought I
should let others know. You have to watch the logs for a 500 error to
this url:

/metrics/find/?_dc=1260553533225&query=*&format=treejson&contexts=1&path=&node=GraphiteTree

Copy and paste the url into your browser to receive the real exception

Exception Value:  	
'module' object has no attribute 'dumps'

The Fix:

make the old methods work in  json module

 in webapp/graphite/metrics/views.py

# after importing json, add this code:
json.dumps = json.write
json.load = json.read

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