Package: shinken-mod-webui
Version: 1.0-1
Severity: important

Hi,

I am using shinken from debian testing. I just made the upgrade to shinken2, 
and somes problems arise.

In the webui, I no longer can access to host or service details (for instance 
when clicking on it from the dashboard). I got this error:

*Exception:* 
AttributeError("'NoneType' object has no attribute 'timeperiod_name'",) 
*Traceback:* 
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/shinken/webui/bottlewebui.py", line 
682, in _handle
    return callback(**args)
  File "/usr/lib/python2.7/dist-packages/shinken/webui/bottlewebui.py", line 
1332, in wrapper
    rv = callback(*a, **ka)
  File "/usr/share/pyshared/shinken/modules/webui/module.py", line 520, in 
lock_version
    return f(**args)
  File "/usr/lib/python2.7/dist-packages/shinken/webui/bottlewebui.py", line 
2698, in wrapper
    return template(tpl_name, **tplvars)
  File "/usr/lib/python2.7/dist-packages/shinken/webui/bottlewebui.py", line 
2672, in template
    return TEMPLATES[tpl].render(kwargs)
  File "/usr/lib/python2.7/dist-packages/shinken/webui/bottlewebui.py", line 
2644, in render
    self.execute(stdout, kwargs)
  File "/usr/lib/python2.7/dist-packages/shinken/webui/bottlewebui.py", line 
2630, in execute
    eval(self.co, env)
  File 
"/usr/share/pyshared/shinken/modules/webui/plugins/eltdetail/views/eltdetail.tpl",
 line 467, in <module>
    <td class="column2">{{elt.notification_interval}} mn (period : 
{{elt.notification_period.timeperiod_name}})</td>
AttributeError: 'NoneType' object has no attribute 'timeperiod_name'

If you need more information, please let me know.

Regards,

Adrien 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to