Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2012-08-27 15:57:26,841 Running noc-stomp
- 2012-08-27 15:57:26,842 Setting up 'select' polling method
- 2012-08-27 15:57:26,842 Activating 'select' poller
- 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)>>
- 2012-08-27 15:57:30,262 UNHANDLED EXCEPTION (2012-08-27 15:57:30.260424)
- Working directory: /usr/local/noc
- <type 'exceptions.TypeError'>
- __init__() got an unexpected keyword argument 'server'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /usr/local/noc/lib/nbsocket/listentcpsocket.py (Line: 62)
- Function: handle_read
- 55 self.socket.listen(self.backlog)
- 56 super(ListenTCPSocket, self).create_socket()
- 57
- 58 def handle_read(self):
- 59 """Handle new connections."""
- 60 s, addr = self.socket.accept()
- 61 if self.socket_class.check_access(addr[0]):
- 62 ==> self.socket_class(self.factory, s, **self.kwargs)
- 63 else:
- 64 self.error("Refusing connection from %s" % addr[0])
- 65 s.close()
- 66 if self.nconnects is not None:
- 67 self.nconnects -= 1
- 68 if not self.nconnects:
- Variables:
- s = <socket._socketobject object at 0x803822670>
- addr = ('127.0.0.1', 50496)
- self = <ListenTCPSocket(0x803c29250)>
- ------------------------------------------------------------------------
- File: /usr/local/noc/lib/nbsocket/socketfactory.py (Line: 93)
- Function: guarded_socket_call
- 86 Wrapper for safe call of socket method. Handles and reports
- 87 socket errors.
- 88
- 89 :return: Call status
- 90 :rtype: Bool
- 91 """
- 92 try:
- 93 ==> method()
- 94 except Exception:
- 95 exc = get_socket_error()
- 96 try:
- 97 if exc:
- 98 socket.on_error(exc)
- 99 else:
- Variables:
- self = <noc.lib.nbsocket.socketfactory.SocketFactory object at 0x803c22710>
- socket = <ListenTCPSocket(0x803c29250)>
- exc = None
- method = <bound method ListenTCPSocket.handle_read of <ListenTCPSocket(0x803c29250)>>
- ------------------------------------------------------------------------
- END OF TRACEBACK
- 2012-08-27 15:57:30,567 Removing pidfile: /var/run/noc/noc-stomp.pid
- 2012-08-27 15:57:30,568 STOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement