Guest User

Untitled

a guest
Oct 28th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. 2014-10-28 22:02:35,124 [noc.lib.debug] UNHANDLED EXCEPTION (2014-10-28 22:02:35.112848)
  2. Working directory: /opt/noc
  3. <type 'exceptions.TypeError'>
  4. get_interface_discards() got an unexpected keyword argument 'caps'
  5. START OF TRACEBACK
  6. ------------------------------------------------------------------------
  7. File: /opt/noc/pm/probe/task.py (Line: 53)
  8. Function: run
  9. 46 def debug(self, msg):
  10. 47 logging.debug("[%s] %s" % (self.uuid, msg))
  11. 48
  12. 49 def run(self):
  13. 50 self.running = True
  14. 51 try:
  15. 52 self.logger.debug("Running")
  16. 53 ==> result = self.handler(self.probe, **self.config)
  17. 54 self.logger.debug("Result %s", result)
  18. 55 if result is not None:
  19. 56 t = time.time()
  20. 57 if not isinstance(result, dict):
  21. 58 if self.default_metric_type:
  22. 59 result = {self.default_metric_type: result}
  23. Variables:
  24. self = <Task 894d3e60-02ad-5c58-a667-015e090bf7aa>
  25. ------------------------------------------------------------------------
  26. END OF TRACEBACK
  27. 2014-10-28 22:02:35,176 [noc.lib.debug] UNHANDLED EXCEPTION (2014-10-28 22:02:35.175768)
  28. Working directory: /opt/noc
  29. <type 'exceptions.TypeError'>
  30. get_interface_discards() got an unexpected keyword argument 'caps'
  31. START OF TRACEBACK
  32. ------------------------------------------------------------------------
  33. File: /opt/noc/pm/probe/task.py (Line: 53)
  34. Function: run
  35. 46 def debug(self, msg):
  36. 47 logging.debug("[%s] %s" % (self.uuid, msg))
  37. 48
  38. 49 def run(self):
  39. 50 self.running = True
  40. 51 try:
  41. 52 self.logger.debug("Running")
  42. 53 ==> result = self.handler(self.probe, **self.config)
  43. 54 self.logger.debug("Result %s", result)
  44. 55 if result is not None:
  45. 56 t = time.time()
  46. 57 if not isinstance(result, dict):
  47. 58 if self.default_metric_type:
  48. 59 result = {self.default_metric_type: result}
  49. Variables:
  50. self = <Task f71ab178-ad83-56fc-b259-54b260fab769>
  51. ------------------------------------------------------------------------
  52. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment