graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03773
[Question #220017]: Traceback in render/glyph.py when using non-hex color-values
New question #220017 on Graphite:
https://answers.launchpad.net/graphite/+question/220017
Hi.
I'm very new in python and graphite (but I going to love it...), but the following traceback seems to me a bit strange:
The following graph is working fine: :-) (focus on the color value)
http://URL/render?target=system.loadavg_1min&majorGridLineColor=99AA66
But the following is generating a traceback ('ValueError: Must specify an RGB 3-tuple, an html color string, or a known color alias!')
http://URL/render?target=system.loadavg_1min&majorGridLineColor=999966
Problem seems to be, that in "render/glyph.py", line 189 "def setColor" the "type(value)" is 'integer' when no hex-chars (A-F) are used in the color-value. A '#' infront or a 'A' after the value fix this; but the dashboard-editor generates this faulty values.
Is this because of funny server settings on my site or can anybody confirm this ?
Python 2.6.6
thanks & regards
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.