Project

General

Profile

Bug #469

Heartbeat analyser failed

Added by Jean-Charles ROGEZ over 7 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Start date:
04/05/2012
Due date:
% Done:

100%

Estimated time:
1.00 h
Resolution:
fixed

Description

When requesting an hearbeat analyse for an agent, we get the following traceback :

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/prewikkapro/Core.py", line 389, in process
    getattr(view_object, view["handler"])()
  File "/usr/lib/python2.6/site-packages/prewikkapro/views/sensor.py", line 222, in render
    idents = self.env.idmef_db.getHeartbeatIdents(criteria="heartbeat.analyzer(-1).analyzerid == %d" % analyzerid,
TypeError: %d format: a number is required, not unicode

History

#1 Updated by Jean-Charles ROGEZ over 7 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Charles ROGEZ
  • Target version set to 1.0.1
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h
  • Resolution set to fixed

Bad type in string formating. %s and not %d.

Fixed in 18a3782e15cd6edb7dbd97e3069191c2174f7c51

#2 Updated by Jean-Charles ROGEZ over 7 years ago

  • Project changed from Prewikka Pro to Prewikka
  • Target version deleted (1.0.1)

#3 Updated by Jean-Charles ROGEZ over 7 years ago

  • Target version set to 111

#4 Updated by Thomas ANDREJAK almost 4 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 111 to Prelude OSS 1.0.1

Also available in: Atom PDF