Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Render generates MemoryError on EL6 #6

Closed
dcarley opened this Issue · 0 comments

1 participant

@dcarley
Owner

Fresh install of 0.9.10 on an minimal EL6 machine produces traceback when rendering a graph:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/graphite/render/views.py", line 168, in renderView
    image = doImageRender(requestOptions['graphClass'], graphOptions)
  File "/usr/lib/python2.6/site-packages/graphite/render/views.py", line 354, in doImageRender
    img = graphClass(**graphOptions)
  File "/usr/lib/python2.6/site-packages/graphite/render/glyph.py", line 178, in __init__
    self.drawGraph(**params)
  File "/usr/lib/python2.6/site-packages/graphite/render/glyph.py", line 626, in drawGraph
    self.drawLegend(elements, params.get('uniqueLegend', False))
  File "/usr/lib/python2.6/site-packages/graphite/render/glyph.py", line 304, in drawLegend
    testExt = self.getExtents(testSizeName)
  File "/usr/lib/python2.6/site-packages/graphite/render/glyph.py", line 214, in getExtents
    F = self.ctx.font_extents()
MemoryError
@dcarley dcarley was assigned
@dcarley dcarley closed this issue from a commit
@dcarley (Fix #6) Require bitmap-fonts on EL6
bitmap-fonts (and associated bitmap sub-packages) are required on minimal
EL6 machines in order to prevent a MemoryError exception when rendering
graphs.

It might be possible to use a smaller subset of these bitmaps fonts but the
results seem inconsistent depending on what combination is used. Seems
better to include the lot.
93e5c99
@dcarley dcarley closed this in 93e5c99
@bodgit bodgit referenced this issue from a commit
@dcarley (Fix #6) Require bitmap-fonts on EL6
bitmap-fonts (and associated bitmap sub-packages) are required on minimal
EL6 machines in order to prevent a MemoryError exception when rendering
graphs.

It might be possible to use a smaller subset of these bitmaps fonts but the
results seem inconsistent depending on what combination is used. Seems
better to include the lot.
0b3773d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.