[Python-apps-team] Bug#944646: nagstamon: crash when acknowledging alert from an Icinga server

Moritz Schlarb schlarbm at uni-mainz.de
Fri Dec 27 13:58:42 GMT 2019


Control: forwarded -1 https://github.com/HenriWahl/Nagstamon/issues/612

Dear Jonathan,

On 13.11.19 11:06, Jonathan Wiltshire wrote:
> When acknowledging an alert from an Icinga2 server a traceback occurs
> submitting the form:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/Nagstamon/QUI/__init__.py", line 3967, in acknowledge
>     self.server.set_acknowledge(info_dict)
>   File "/usr/lib/python3/dist-packages/Nagstamon/Servers/Generic.py", line 359, in set_acknowledge
>     all_services)
>   File "/usr/lib/python3/dist-packages/Nagstamon/Servers/IcingaWeb2.py", line 368, in _set_acknowledge
>     CSRFToken = formtag.findNext('input', {'name':'CSRFToken'})['value']
> AttributeError: 'NoneType' object has no attribute 'findNext'
> Aborted
> 
> The icinga-web2 version used is 2.6.2.

I just uploaded the next released version of Nagstamon (3.4-1) - could
you please try it again with that version?

I couldn't reproduce it in that version with the Demo site at
https://icinga.com/demo/.

Regards,
-- 
Moritz Schlarb
Unix-Gruppe | Systembetreuung
Zentrum für Datenverarbeitung
Johannes Gutenberg-Universität Mainz
Raum 01-331 - Tel. +49 6131 39-29441
OpenPGP Fingerprint: DF01 2247 BFC6
5501 AFF2 8445 0C24 B841 C7DD BAAF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20191227/2923cf6c/attachment-0003.sig>


More information about the Python-apps-team mailing list