Skip to content

Instantly share code, notes, and snippets.

@jippi
Created January 30, 2014 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jippi/8718254 to your computer and use it in GitHub Desktop.
Save jippi/8718254 to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: https://xxxxx/render/?width=1373&height=780&target=constantLine(123.456)
Django Version: 1.4.5
Python Version: 2.7.3
Installed Applications:
('graphite.metrics',
'graphite.render',
'graphite.cli',
'graphite.browser',
'graphite.composer',
'graphite.account',
'graphite.dashboard',
'graphite.whitelist',
'graphite.events',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.contenttypes',
'tagging')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py" in renderView
202. response = HttpResponse(
File "/opt/graphite/webapp/graphite/render/views.py" in doImageRender
410. pngData.close()
File "/opt/graphite/webapp/graphite/render/glyph.py" in __init__
193. self.colors = itertools.cycle( colorList )
File "/opt/graphite/webapp/graphite/render/glyph.py" in drawGraph
File "/opt/graphite/webapp/graphite/render/glyph.py" in consolidateDataPoints
1008. minXStep = float( self.params.get('minXStep',1.0) )
Exception Type: ZeroDivisionError at /render/
Exception Value: float division by zero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment