graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00148
Re: [Question #90818]: Graphite image cannot be rendered
Question #90818 on Graphite changed:
https://answers.launchpad.net/graphite/+question/90818
gcn gave more information on the question:
I managed to see the debug info by access the render page directly from
browser, like
http://graphite/render/?width=586&height=306&_salt=1258610705.625
The trace is below, I don't know how to fix it yet. Some can help?
Thanks a lot.
Environment:
Request Method: GET
Request URL: http://ec2-79-125-11-71.eu-west-1.compute.amazonaws.com:8080/render/?width=586&height=306&_salt=1258610705.625
Django Version: 1.1.1
Python Version: 2.4.3
Installed Applications:
['web.render',
'web.cli',
'web.browser',
'web.composer',
'web.account',
'web.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
92. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/graphite/webapp/web/render/views.py" in renderView
107. image = doImageRender(requestOptions['graphClass'], graphOptions)
File "/usr/local/graphite/webapp/web/render/views.py" in doImageRender
257. img = graphClass(**graphOptions)
File "/usr/local/graphite/webapp/web/render/glyph.py" in __init__
121. self.drawText("No Data", x, y, align='center')
File "/usr/local/graphite/webapp/web/render/glyph.py" in drawText
181. extents = self.getExtents(text)
File "/usr/local/graphite/webapp/web/render/glyph.py" in getExtents
153. F = self.ctx.font_extents()
Exception Type: MemoryError at /render/
Exception Value:
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.