AlertEngine crashes with UnboundLocalError for local variable 'queued_alerts'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
High
|
Thomas Adamcik |
Bug Description
AlertEngine from NAV 3.5.0b2, patched with the changeset references by Thomas Adamcik in https:/
This time the log looks like this:
[2008-11-06 09:20:00,218] [INFO] [pid=10740 nav.alertengine] Starting alertengine loop.
[2008-11-06 09:20:00,308] [INFO] [pid=10740 nav.alertengine] alert 146335 queued for xxxxxx
[2008-11-06 09:20:00,365] [CRITICAL] [pid=10740 nav.alertengine] Unhandeled error: local variable 'queued_alerts' referenced before assignment
Traceback (most recent call last):
File "/usr/lib/
check_
File "./base.py", line 78, in check_alerts
File "./base.py", line 292, in handle_
UnboundLocalError: local variable 'queued_alerts' referenced before assignment
Changed in nav: | |
assignee: | nobody → adamcik |
importance: | Undecided → High |
milestone: | none → v3.5.0 |
status: | New → Confirmed |
Changed in nav: | |
status: | Fix Committed → Fix Released |
Changeset http:// metanav. uninett. no/hg/default/ rev/ee9e92afb08 a not being applied is most likely the culprit in this case. I've asked Morten to verify this fix on the box in question.