opinkerfi / adagios

Adagios - Web Based Nagios Configuration
GNU Affero General Public License v3.0
330 stars 75 forks source link

get_state_history() takes at least 1 non-keyword argument #525

Closed Keleier closed 9 years ago

Keleier commented 9 years ago

Hello,

I'm a new user of Adagios. As I try to see History tab (/adagios/status/snippets/log?host_name=xxxx&service_description=yyyy), the tab stays with "Loading ..." because of an 500 error.

The stacktrace given in this page is : Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/adagios/views.py", line 43, in wrapper result = view_func(request, _args, *_kwargs) File "/usr/lib/python2.6/site-packages/adagios/status/views.py", line 196, in snippets_log log = utils.get_state_history(host_name=host_name, service_description=service_description) TypeError: get_state_history() takes at least 1 non-keyword argument (0 given)

pynag version 0.9.1

Thanks,

Bruno

palli commented 9 years ago

I think c798aab might have fixed this. Can you try again with latest master ? Marking this as resolved for now, but don't hesitate to reopen if this is still an issue.