alertengine crashes after alert profile is deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
alertengine seems to crash if there are pending alerts to be sent to a deleted alert profile.
Here is the debug output:
[2011-01-10 08:51:23,560] [INFO] [pid=9914 nav.alertengine
[2011-01-10 08:51:23,573] [INFO] [pid=9914 nav.alertengine
[2011-01-10 08:51:23,575] [CRITICAL] [pid=9914 nav.alertengine] Unhandeled error: 'NoneType' object has no attribute 'ignore_
Traceback (most recent call last):
File "/usr/lib/
check_
File "/var/lib/
sent_daily, sent_weekly, num_sent_alerts, num_failed_sends, num_resolved_
File "/var/lib/
if subscription.
AttributeError: 'NoneType' object has no attribute 'ignore_
Traceback (most recent call last):
File "/usr/lib/
main(
File "/usr/lib/
raise e
AttributeError: 'NoneType' object has no attribute 'ignore_
DPaste snippet here: http://
Changed in nav: | |
status: | Fix Committed → Fix Released |
The problem is confirmed by looking at the code. Is this a real crash, i.e. the process dies? Or does it continue after logging this?