Error in /render/ tried every solution I could find on this board

Asked by densone

Hi,
I am getting an error 500 when trying to render an image. This is the error I get below when I try to directly make the get request.

This is graphite 0.9.5 built RPMs with dist utils.

Environment:

Request Method: GET
Request URL: http://barrel7.bal:8080/render/
Django Version: 1.0.2 final
Python Version: 2.4.3
Installed Applications:
['graphite.metrics',
 'graphite.render',
 'graphite.cli',
 'graphite.browser',
 'graphite.composer',
 'graphite.account',
 'graphite.whitelist',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.contenttypes']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.gzip.GZipMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response
  86. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/graphite/webapp/graphite/render/views.py" in renderView
  119. image = doImageRender(requestOptions['graphClass'], graphOptions)
File "/usr/local/graphite/webapp/graphite/render/views.py" in doImageRender
  273. img = graphClass(**graphOptions)
File "/usr/local/graphite/webapp/graphite/render/glyph.py" in __init__
  97. self.loadTemplate( params.get('template','default') )
File "/usr/local/graphite/webapp/graphite/render/glyph.py" in loadTemplate
  252. defaults = dict( conf.items('default') )
File "/usr/lib64/python2.4/ConfigParser.py" in items
  544. raise NoSectionError(section)

Exception Type: NoSectionError at /render/
Exception Value: No section: 'default'

Question information

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

A coworker just helped me solve this. When you generate the RPMs with dist utils, it skips the conf files, and it also skipped the templates dir on me too.

Revision history for this message
fp (fp) said :
#2

I'm working on fixed rpms for carbon, graphite, and whisper (0.9.5). Also going to make a install guide for rhel 5.4 / Centos 5.4. Should be done today, or Monday at the latest. I'll put the src.rpms somewhere others can snag em and link it here.

ttyl

Revision history for this message
fp (fp) said :
#3

Also, I found the problem that you are running into, because I did the same thing just now.

If you generate a src.rpm using

python setup.py bdist_rpm

it will generate the following src rpms:
-rw-r--r-- 1 root root 12220 Feb 8 08:29 carbon-0.9.5-1.src.rpm
-rw-r--r-- 1 root root 76437 Feb 8 08:30 graphite-0.9.5-1.src.rpm
-rw-r--r-- 1 root root 10449 Feb 8 08:49 whisper-0.9.5-1.src.rpm

The src rpms are way to small, the tarballs that the src.rpms install in /usr/src/redhat/SOURCES are much smaller then the regular downloads. ie:

-rw-r--r-- 1 root root 9979 Feb 8 08:29 carbon-0.9.5.tar.gz (from bdist)
-rw-r--r-- 1 root root 14580 Feb 8 08:21 carbon-0.9.5.tar.gz (regular download)
-rw-r--r-- 1 root root 74062 Feb 8 08:30 graphite-0.9.5.tar.gz (from bdist)
-rw-r--r-- 1 root root 2047050 Feb 8 08:21 graphite-0.9.5.tar.gz (regular download)
-rw-r--r-- 1 root root 8258 Feb 8 08:22 whisper-0.9.5.tar.gz (from bdist)
-rw-r--r-- 1 root root 12028 Feb 8 08:21 whisper-0.9.5.tar.gz (regular download)

That being said, if you install the src.rpm generated from bdist, overwrite the files in the SOURCES dir with the ones downloaded from the main graphite site, and your the templates/content dir from graphite will be installed as per normal. So there is a bug with how the bdist is generated atm, but this is a simple workaround.

That being said, I'm still working on rpms for rhel/centos that do a bit more stuff (init scripts, dependencies, httpd hosts, etc) I'll let you know when they are done.

ttyl

Revision history for this message
fp (fp) said :
#4

as I re-read that it's not so clear.

1) make the bdist rpms
2) install the bdist rpms (really we just want the specs)
3) copy (and overwrite) carbon, graphite, and whisper tarballs into the /usr/src/redhat/SOURCES
4) rpmbuild -ba the carbon, graphite, and whisper specs in /usr/src/redhat/SPECS

you now have rpms with no missing files. :)

that's better.

Revision history for this message
chrismd (chrismd) said :
#5

Thanks for working on the RPMs, I'm sure others will find them useful. Do you have any idea what files were missing from the bdist-generated RPMs?

Revision history for this message
fp (fp) said :
#6

Here are the missing files:

whisper:
No change.

carbon:
/opt/graphite/conf/carbon.conf.example
/opt/graphite/conf/relay-rules.conf.example
/opt/graphite/conf/storage-schemas.conf.example

graphite:
note: in rpmbuild) warning: File listed twice: /opt/graphite/storage/log/webapp

diff graphite.dist.tarball graphite.orig.tarball
6a7,458
> /opt/graphite/webapp/content/css/cli.css
> /opt/graphite/webapp/content/css/darkX.css
> /opt/graphite/webapp/content/css/darkX/button-close-focused.png
> /opt/graphite/webapp/content/css/darkX/button-maximize-focused.png
> /opt/graphite/webapp/content/css/darkX/button-minimize-focused.png
> /opt/graphite/webapp/content/css/darkX/frame-bottom-left-focused.png
> /opt/graphite/webapp/content/css/darkX/frame-bottom-mid-focused.png
> /opt/graphite/webapp/content/css/darkX/frame-bottom-right-focused.png
> /opt/graphite/webapp/content/css/darkX/frame-left-focused.png
> /opt/graphite/webapp/content/css/darkX/frame-right-focused.png
> /opt/graphite/webapp/content/css/darkX/titlebar-left-focused.png
> /opt/graphite/webapp/content/css/darkX/titlebar-mid-focused.png
> /opt/graphite/webapp/content/css/darkX/titlebar-right-focused.png
> /opt/graphite/webapp/content/css/default.css
> /opt/graphite/webapp/content/css/default/bottom_left.gif
> /opt/graphite/webapp/content/css/default/bottom_mid.gif
> /opt/graphite/webapp/content/css/default/bottom_right.gif
> /opt/graphite/webapp/content/css/default/bottom_right_resize.gif
> /opt/graphite/webapp/content/css/default/center_left.gif
> /opt/graphite/webapp/content/css/default/center_right.gif
> /opt/graphite/webapp/content/css/default/clear.gif
> /opt/graphite/webapp/content/css/default/close.gif
> /opt/graphite/webapp/content/css/default/inspect.gif
> /opt/graphite/webapp/content/css/default/maximize.gif
> /opt/graphite/webapp/content/css/default/minimize.gif
> /opt/graphite/webapp/content/css/default/overlay.png
> /opt/graphite/webapp/content/css/default/resize.gif
> /opt/graphite/webapp/content/css/default/sizer.gif
> /opt/graphite/webapp/content/css/default/top_left.gif
> /opt/graphite/webapp/content/css/default/top_mid.gif
> /opt/graphite/webapp/content/css/default/top_right.gif
> /opt/graphite/webapp/content/html/completerHelp.html
> /opt/graphite/webapp/content/html/searchHelp.html
> /opt/graphite/webapp/content/html/timeHelp.html
> /opt/graphite/webapp/content/img/I.gif
> /opt/graphite/webapp/content/img/L.gif
> /opt/graphite/webapp/content/img/Lminus.gif
> /opt/graphite/webapp/content/img/Lplus.gif
> /opt/graphite/webapp/content/img/T.gif
> /opt/graphite/webapp/content/img/Tminus.gif
> /opt/graphite/webapp/content/img/Tplus.gif
> /opt/graphite/webapp/content/img/arrow1.gif
> /opt/graphite/webapp/content/img/blank.gif
> /opt/graphite/webapp/content/img/calBt.gif
> /opt/graphite/webapp/content/img/error.png
> /opt/graphite/webapp/content/img/folder.png
> /opt/graphite/webapp/content/img/graphite.png
> /opt/graphite/webapp/content/img/graphite_short.png
> /opt/graphite/webapp/content/img/leaf.gif
> /opt/graphite/webapp/content/img/save.gif
> /opt/graphite/webapp/content/img/searching.gif
> /opt/graphite/webapp/content/img/updateGraph.gif
> /opt/graphite/webapp/content/js/browser.js
> /opt/graphite/webapp/content/js/browser.js.orig
> /opt/graphite/webapp/content/js/cli.js
> /opt/graphite/webapp/content/js/completer.js
> /opt/graphite/webapp/content/js/composer.js
> /opt/graphite/webapp/content/js/composer_widgets.js
> /opt/graphite/webapp/content/js/ext/INCLUDE_ORDER.txt
> /opt/graphite/webapp/content/js/ext/adapter/ext/ext-base-debug.js
> /opt/graphite/webapp/content/js/ext/adapter/ext/ext-base.js
> /opt/graphite/webapp/content/js/ext/adapter/jquery/ext-jquery-adapter-debug.js
> /opt/graphite/webapp/content/js/ext/adapter/jquery/ext-jquery-adapter.js
> /opt/graphite/webapp/content/js/ext/adapter/prototype/ext-prototype-adapter-debug.js
> /opt/graphite/webapp/content/js/ext/adapter/prototype/ext-prototype-adapter.js
> /opt/graphite/webapp/content/js/ext/adapter/yui/ext-yui-adapter-debug.js
> /opt/graphite/webapp/content/js/ext/adapter/yui/ext-yui-adapter.js
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/arrow-down.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/arrow-up.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/SILK.txt
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/accept.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/add.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/add.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/application_go.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/application_view_list.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/book.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/cog.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/cog_edit.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/connect.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/connect.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/control_rewind.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/cross.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/delete.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/error.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/feed_add.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/feed_delete.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/feed_error.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/folder_go.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/folder_wrench.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/grid.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/image_add.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/information.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/plugin.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/plugin_add.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/rss_go.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/table_refresh.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_add.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_add.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_comment.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_delete.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_delete.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_edit.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_female.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_female.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_gray.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_green.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_green.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_orange.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_red.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_suit.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/fam/user_suit.png
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/save.gif
> /opt/graphite/webapp/content/js/ext/examples/shared/icons/silk.css
> /opt/graphite/webapp/content/js/ext/ext-all-debug.js
> /opt/graphite/webapp/content/js/ext/ext-all.js
> /opt/graphite/webapp/content/js/ext/license.txt
> /opt/graphite/webapp/content/js/ext/pkgs/cmp-foundation-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/cmp-foundation.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-foundation-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-foundation.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-grouping-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-grouping.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-json-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-json.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-list-views-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-list-views.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-xml-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/data-xml.js
> /opt/graphite/webapp/content/js/ext/pkgs/direct-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/direct.js
> /opt/graphite/webapp/content/js/ext/pkgs/ext-dd-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/ext-dd.js
> /opt/graphite/webapp/content/js/ext/pkgs/ext-foundation-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/ext-foundation.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-buttons-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-buttons.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-charts-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-charts.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-forms-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-forms.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-editor-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-editor.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-foundation-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-foundation.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-grouping-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-grouping.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-property-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-grid-property.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-history-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-history.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-menu-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-menu.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-tabs-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-tabs.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-tips-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-tips.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-toolbars-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-toolbars.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-tree-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/pkg-tree.js
> /opt/graphite/webapp/content/js/ext/pkgs/resizable-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/resizable.js
> /opt/graphite/webapp/content/js/ext/pkgs/state-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/state.js
> /opt/graphite/webapp/content/js/ext/pkgs/window-debug.js
> /opt/graphite/webapp/content/js/ext/pkgs/window.js
> /opt/graphite/webapp/content/js/ext/resources/charts.swf
> /opt/graphite/webapp/content/js/ext/resources/css/README.txt
> /opt/graphite/webapp/content/js/ext/resources/css/ext-all-notheme.css
> /opt/graphite/webapp/content/js/ext/resources/css/ext-all.css
> /opt/graphite/webapp/content/js/ext/resources/css/reset-min.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/borders.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/box.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/button.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/combo.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/core.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/date-picker.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/dd.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/debug.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/dialog.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/editor.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/form.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/grid.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/layout.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/list-view.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/menu.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/panel-reset.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/panel.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/progress.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/qtips.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/reset.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/resizable.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/slider.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/tabs.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/toolbar.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/tree.css
> /opt/graphite/webapp/content/js/ext/resources/css/structure/window.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/borders.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/box.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/button.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/combo.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/core.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/date-picker.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/dd.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/debug.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/dialog.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/editor.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/form.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/grid.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/layout.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/list-view.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/menu.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/panel.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/progress.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/qtips.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/resizable.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/slider.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/tabs.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/toolbar.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/tree.css
> /opt/graphite/webapp/content/js/ext/resources/css/visual/window.css
> /opt/graphite/webapp/content/js/ext/resources/css/xtheme-blue.css
> /opt/graphite/webapp/content/js/ext/resources/expressinstall.swf
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/corners-blue.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/corners.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/l-blue.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/l.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/r-blue.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/r.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/tb-blue.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/box/tb.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/arrow.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/btn.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/group-cs.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/group-lr.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/group-tb.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/s-arrow-b-noline.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/s-arrow-b.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/s-arrow-bo.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/s-arrow-noline.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/s-arrow-o.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/button/s-arrow.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/dd/drop-add.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/dd/drop-no.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/dd/drop-yes.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/editor/tb-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/checkbox.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/clear-trigger.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/clear-trigger.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/date-trigger.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/date-trigger.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/error-tip-corners.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/exclamation.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/radio.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/search-trigger.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/search-trigger.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/text-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/trigger-tpl.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/trigger.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/form/trigger.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/gradient-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/arrow-left-white.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/arrow-right-white.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/col-move-bottom.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/col-move-top.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/columns.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/dirty.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/done.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/drop-no.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/drop-yes.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/footer-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid-blue-hd.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid-blue-split.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid-hrow.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid-loading.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid-split.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid-vista-hd.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid3-hd-btn.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid3-hrow-over.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid3-hrow.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid3-special-col-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/grid3-special-col-sel-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/group-by.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/group-collapse.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/group-expand-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/group-expand.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hd-pop.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hmenu-asc.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hmenu-desc.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hmenu-lock.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hmenu-lock.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hmenu-unlock.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/hmenu-unlock.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/invalid_line.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/loading.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/mso-hd.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/nowait.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-first-disabled.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-first.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-last-disabled.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-last.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-next-disabled.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-next.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-prev-disabled.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/page-prev.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/pick-button.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/refresh.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/row-check-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/row-expand-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/row-over.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/row-sel.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/sort-hd.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/sort_asc.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/sort_desc.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/grid/wait.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/collapse.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/expand.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/gradient-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/mini-bottom.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/mini-left.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/mini-right.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/mini-top.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/ns-collapse.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/ns-expand.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/panel-close.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/panel-title-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/panel-title-light-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/stick.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/stuck.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/tab-close-on.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/layout/tab-close.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/menu/checked.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/menu/group-checked.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/menu/item-over.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/menu/menu-parent.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/menu/menu.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/menu/unchecked.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/corners-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/left-right.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/light-hd.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/tool-sprite-tpl.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/tool-sprites.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/tools-sprites-trans.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/top-bottom.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/top-bottom.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/white-corners-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/white-left-right.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/panel/white-top-bottom.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/progress/progress-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/qtip/bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/qtip/close.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/qtip/tip-anchor-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/qtip/tip-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/s.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shadow-c.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/shadow-lr.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/shadow.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/blue-loading.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/calendar.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/glass-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/hd-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/large-loading.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/left-btn.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/loading-balls.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/right-btn.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/shared/warning.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/e-handle-dark.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/e-handle.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/ne-handle-dark.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/ne-handle.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/nw-handle-dark.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/nw-handle.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/s-handle-dark.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/s-handle.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/se-handle-dark.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/se-handle.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/square.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/sw-handle-dark.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/sizer/sw-handle.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/slider/slider-bg.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/slider/slider-thumb.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/slider/slider-v-bg.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/slider/slider-v-thumb.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/scroll-left.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/scroll-right.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/scroller-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-btm-inactive-left-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-btm-inactive-right-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-btm-left-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-btm-right-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-close.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-strip-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-strip-bg.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tab-strip-btm-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tabs/tabs-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/btn-arrow-light.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/btn-arrow.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/btn-over-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/gray-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/more.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/tb-bg.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/tb-btn-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/tb-xl-btn-sprite.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/toolbar/tb-xl-sep.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/arrows.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/drop-add.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/drop-between.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/drop-no.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/drop-over.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/drop-under.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/drop-yes.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-end-minus-nl.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-end-minus.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-end-plus-nl.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-end-plus.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-end.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-line.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-minus-nl.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-minus.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-plus-nl.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow-plus.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/elbow.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/folder-open.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/folder.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/leaf.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/loading.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/tree/s.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/icon-error.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/icon-info.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/icon-question.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/icon-warning.gif
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/left-corners.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/left-corners.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/left-right.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/left-right.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/right-corners.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/right-corners.psd
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/top-bottom.png
> /opt/graphite/webapp/content/js/ext/resources/images/default/window/top-bottom.psd
> /opt/graphite/webapp/content/js/scriptaculous/builder.js
> /opt/graphite/webapp/content/js/scriptaculous/controls.js
> /opt/graphite/webapp/content/js/scriptaculous/dragdrop.js
> /opt/graphite/webapp/content/js/scriptaculous/effects.js
> /opt/graphite/webapp/content/js/scriptaculous/scriptaculous.js
> /opt/graphite/webapp/content/js/scriptaculous/slider.js
> /opt/graphite/webapp/content/js/window/effects.js
> /opt/graphite/webapp/content/js/window/prototype.js
> /opt/graphite/webapp/content/js/window/window.js
> /opt/graphite/webapp/content/js/window/window_effects.js
43a496
> /opt/graphite/webapp/graphite/local_settings.py.example
74a528
> /opt/graphite/webapp/graphite/render/graphTemplates.conf
84a539,545
> /opt/graphite/webapp/graphite/templates/500.html
> /opt/graphite/webapp/graphite/templates/browser.html
> /opt/graphite/webapp/graphite/templates/browserHeader.html
> /opt/graphite/webapp/graphite/templates/cli.html
> /opt/graphite/webapp/graphite/templates/composer.html
> /opt/graphite/webapp/graphite/templates/editProfile.html
> /opt/graphite/webapp/graphite/templates/login.html

I should have updated rpms sometime today unless I get thrown a curve ball.

ttyl

Revision history for this message
fp (fp) said :
#7

Hopefully this works:

http://www.mediafire.com/?sharekey=f670987e94a553dd8ef1259ff1b60e81620bd1308743832b515d15c8b368bfbe

I have only tested these for rhel 5.4, but they should work fine for centos as well. If not someone say so and I'll install a centos vm and figure it out.

I should have an install guide for centos/rhel sometime this week, I'll post it somewhere / email it to you and you can put it on the graphite site if you like. Also feel free to take the specs / initscripts / whatever and use them on the graphite site.

PS: you should for sure put a rm -rf %{buildroot} in the install section of the rpms, when you are playing around with adding and removing files and the buildroot never gets deleted it really messes things up. hehe.

ttyl

Revision history for this message
chrismd (chrismd) said :
#8

Awesome, this is great. Thanks for posting these, I will try them out myself later this week. One thing I just thought of though, this was probably built before I fixed Bug #522352 which points out that either the 'json' or 'simplejson' module must be installed for the webapp to work but up until a few minutes ago when I fixed this this wasn't specified anywhere. Do we need to add something like python-simplejson to the Requires line in the spec?

Revision history for this message
fp (fp) said :
#9

for the requires for the rpm specs I have it goes like this:

whisper requires python >= 2.4

carbon requires whisper, python >= 2.4, python-twisted-core >= 9
python-twisted-core requires python-zope-interface, pyOpenSSL, python-abi = 2.3
python-zope-interface requires python-zope-filesystem
python-zope-filesystem requires python

graphite requires httpd, bitmap-fonts, cairo, mod_python, python >= 2.4, whisper, pycairo, Django >=1.1
Django requires python-simplejson

So, rpm / yum will take care of the dependencies for you, and you shouldn't need to add a requires python-simplejson to the graphite.spec, because Django (at least the rpm that I am using) already requires it. However it's not going to hurt anything if you do want to do it that way. :)

ttyl

Revision history for this message
chrismd (chrismd) said :
#10

Good to know, thanks again.

Revision history for this message
fp (fp) said :
#11

Apparently those media fire files got deleted, likely because I didn't register an account. Here they are again, this time I did register an account. If they disappear again let me know.

http://www.mediafire.com/?sharekey=b9f25930b62385336b21be4093fab7ac11b98a5230ca0179759e682a8cd2154a