martinrusev/amon — Issue #83: Error 500 on dashboard
Author: lemieux
Created: 2012-03-01 15:01:14+00:00
State: open

Hi,
I just installed Amon Plus on my VPS (Ubuntu 11.10 x64, provider : openvz.ca)

I get this traceback :

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/tornado-2.2-py2.7.egg/tornado/web.py", line 988, in _execute getattr(self, self.request.method.lower())(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/tornado-2.2-py2.7.egg/tornado/web.py", line 1739, in wrapper return method(self, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/amonplus-0.8.2-py2.7.egg/amonplus/web/apps/core/views.py", line 48, in get servers_info=servers_info File "/usr/local/lib/python2.7/dist-packages/amonplus-0.8.2-py2.7.egg/amonplus/web/apps/core/baseview.py", line 115, in render rendered_template = jinja_render(template, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/amonplus-0.8.2-py2.7.egg/amonplus/web/template.py", line 351, in render return template.render(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/dist-packages/amonplus-0.8.2-py2.7.egg/amonplus/web/templates/dashboard.html", line 1, in top-level template code {% extends "base.html" %} File "/usr/local/lib/python2.7/dist-packages/amonplus-0.8.2-py2.7.egg/amonplus/web/templates/base.html", line 32, in top-level template code {% block content %} File "/usr/local/lib/python2.7/dist-packages/amonplus-0.8.2-py2.7.egg/amonplus/web/templates/dashboard.html", line 31, in block "content" {% set cpu = system.cpu.system + system.cpu.user %} UndefinedError: 'dict object' has no attribute 'system'

Also, there is data in mongo, but nothing is shown on the web interface. I don't know if this is related.

Thanks!

Awesome product by the way!