Advertisement
Guest User

Untitled

a guest
Aug 27th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. 2012-08-27 15:57:26,841 Running noc-stomp
  2. 2012-08-27 15:57:26,842 Setting up 'select' polling method
  3. 2012-08-27 15:57:26,842 Activating 'select' poller
  4. 2012-08-27 15:57:30,259 [ListenTCPSocket(0x803c29250,127.0.0.1:19705)] Unhandled exception when calling <bound method ListenTCPSocket.handle_read of <ListenTCPSocket(0x803c29250)>>
  5. 2012-08-27 15:57:30,262 UNHANDLED EXCEPTION (2012-08-27 15:57:30.260424)
  6. Working directory: /usr/local/noc
  7. <type 'exceptions.TypeError'>
  8. __init__() got an unexpected keyword argument 'server'
  9. START OF TRACEBACK
  10. ------------------------------------------------------------------------
  11. File: /usr/local/noc/lib/nbsocket/listentcpsocket.py (Line: 62)
  12. Function: handle_read
  13. 55 self.socket.listen(self.backlog)
  14. 56 super(ListenTCPSocket, self).create_socket()
  15. 57
  16. 58 def handle_read(self):
  17. 59 """Handle new connections."""
  18. 60 s, addr = self.socket.accept()
  19. 61 if self.socket_class.check_access(addr[0]):
  20. 62 ==> self.socket_class(self.factory, s, **self.kwargs)
  21. 63 else:
  22. 64 self.error("Refusing connection from %s" % addr[0])
  23. 65 s.close()
  24. 66 if self.nconnects is not None:
  25. 67 self.nconnects -= 1
  26. 68 if not self.nconnects:
  27. Variables:
  28. s = <socket._socketobject object at 0x803822670>
  29. addr = ('127.0.0.1', 50496)
  30. self = <ListenTCPSocket(0x803c29250)>
  31. ------------------------------------------------------------------------
  32. File: /usr/local/noc/lib/nbsocket/socketfactory.py (Line: 93)
  33. Function: guarded_socket_call
  34. 86 Wrapper for safe call of socket method. Handles and reports
  35. 87 socket errors.
  36. 88
  37. 89 :return: Call status
  38. 90 :rtype: Bool
  39. 91 """
  40. 92 try:
  41. 93 ==> method()
  42. 94 except Exception:
  43. 95 exc = get_socket_error()
  44. 96 try:
  45. 97 if exc:
  46. 98 socket.on_error(exc)
  47. 99 else:
  48. Variables:
  49. self = <noc.lib.nbsocket.socketfactory.SocketFactory object at 0x803c22710>
  50. socket = <ListenTCPSocket(0x803c29250)>
  51. exc = None
  52. method = <bound method ListenTCPSocket.handle_read of <ListenTCPSocket(0x803c29250)>>
  53. ------------------------------------------------------------------------
  54. END OF TRACEBACK
  55. 2012-08-27 15:57:30,567 Removing pidfile: /var/run/noc/noc-stomp.pid
  56. 2012-08-27 15:57:30,568 STOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement