martinrusev/amon — Issue #23: Error 500 using Ubuntu
Author: arielcamus
Created: 2011-12-05 16:27:09+00:00
State: open

Hi,

I've installed Amon but when I visit 127.0.0.1:2464 I get the following error:

Error 500

Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/tornado-2.1.1-py2.6.egg/tornado/web.py", line 954, in _execute getattr(self, self.request.method.lower())(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/views.py", line 74, in get unread_values=self.unread_values File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/template.py", line 221, in render return template.render(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/templates/dashboard.html", line 1, in top-level template code {% extends "base.html" %} File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/templates/base.html", line 28, in top-level template code {% block content %} File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/templates/dashboard.html", line 54, in block "content" File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/template.py", line 132, in progress_width percentage = float(value)/float(total) * 100 ZeroDivisionError: float division