[Pkg-shinken-maint] Bug#768348: [shinken-mod-webui] host/service details not available in webui
Adrien Grellier
perso at adrieng.fr
Thu Nov 6 17:31:10 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-shinken-maint/attachments/20141106/1754d5b1/attachment.sig>
More information about the Pkg-shinken-maint
mailing list