(16:27:21)-(huntsman)-(504)-> python app.py --port=8890 Starting PAWS on port 8890 --- Logging error --- Traceback (most recent call last): File "/private/var/huntsman/PAWS/handlers/websockets.py", line 20, in open self.stream = ZMQStream(self.settings['msg_subscriber'].socket) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 120, in __init__ self._init_io_state() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 541, in _init_io_state self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 71, in add_handler raise ValueError("fd %s added twice" % fd) ValueError: fd 18 added twice During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 992, in emit msg = self.format(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 838, in format return fmt.format(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 578, in format s = self.formatMessage(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 547, in formatMessage return self._style.format(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 399, in format return self._fmt.format(**record.__dict__) KeyError: 'fileline' Call stack: File "app.py", line 74, in tornado.ioloop.IOLoop.instance().start() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 127, in start self.asyncio_loop.run_forever() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/asyncio/base_events.py", line 422, in run_forever self._run_once() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/asyncio/base_events.py", line 1432, in _run_once handle._run() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/asyncio/events.py", line 145, in _run self._callback(*self._args) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 117, in _handle_events handler_func(fileobj, events) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/stack_context.py", line 276, in null_wrapper return fn(*args, **kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/netutil.py", line 252, in accept_handler callback(connection, address) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/tcpserver.py", line 295, in _handle_connection future = self.handle_stream(stream, address) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/httpserver.py", line 194, in handle_stream conn.start_serving(self) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 716, in start_serving self._serving_future = self._server_request_loop(delegate) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 315, in wrapper yielded = next(result) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 729, in _server_request_loop ret = yield conn.read_response(request_delegate) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 151, in read_response return self._read_message(delegate) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 335, in wrapper runner = Runner(result, future, yielded) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 1046, in __init__ self.run() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 1113, in run yielded = self.gen.send(value) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 237, in _read_message delegate.finish() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/routing.py", line 256, in finish self.delegate.finish() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 2139, in finish self.execute() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 2172, in execute **self.path_kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 315, in wrapper yielded = next(result) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 1541, in _execute result = method(*self.path_args, **self.path_kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 1700, in wrapper result = method(self, *args, **kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 195, in get self.ws_connection.accept_connection() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 632, in accept_connection self._accept_connection() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 701, in _accept_connection **self.handler.open_kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 498, in _run_callback result = callback(*args, **kwargs) File "/private/var/huntsman/PAWS/handlers/websockets.py", line 29, in open logging.warning("Problem establishing websocket for {}: {}".format(self, e)) Message: 'Problem establishing websocket for : fd 18 added twice' Arguments: () --- Logging error --- Traceback (most recent call last): File "/private/var/huntsman/PAWS/handlers/websockets.py", line 20, in open self.stream = ZMQStream(self.settings['msg_subscriber'].socket) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 120, in __init__ self._init_io_state() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 541, in _init_io_state self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 71, in add_handler raise ValueError("fd %s added twice" % fd) ValueError: fd 18 added twice During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 992, in emit msg = self.format(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 838, in format return fmt.format(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 578, in format s = self.formatMessage(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 547, in formatMessage return self._style.format(record) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/logging/__init__.py", line 399, in format return self._fmt.format(**record.__dict__) KeyError: 'fileline' Call stack: File "app.py", line 74, in tornado.ioloop.IOLoop.instance().start() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 127, in start self.asyncio_loop.run_forever() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/asyncio/base_events.py", line 422, in run_forever self._run_once() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/asyncio/base_events.py", line 1432, in _run_once handle._run() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/asyncio/events.py", line 145, in _run self._callback(*self._args) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 117, in _handle_events handler_func(fileobj, events) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/stack_context.py", line 276, in null_wrapper return fn(*args, **kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/netutil.py", line 252, in accept_handler callback(connection, address) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/tcpserver.py", line 295, in _handle_connection future = self.handle_stream(stream, address) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/httpserver.py", line 194, in handle_stream conn.start_serving(self) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 716, in start_serving self._serving_future = self._server_request_loop(delegate) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 315, in wrapper yielded = next(result) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 729, in _server_request_loop ret = yield conn.read_response(request_delegate) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 151, in read_response return self._read_message(delegate) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 335, in wrapper runner = Runner(result, future, yielded) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 1046, in __init__ self.run() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 1113, in run yielded = self.gen.send(value) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/http1connection.py", line 237, in _read_message delegate.finish() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/routing.py", line 256, in finish self.delegate.finish() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 2139, in finish self.execute() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 2172, in execute **self.path_kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/gen.py", line 315, in wrapper yielded = next(result) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 1541, in _execute result = method(*self.path_args, **self.path_kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/web.py", line 1700, in wrapper result = method(self, *args, **kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 195, in get self.ws_connection.accept_connection() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 632, in accept_connection self._accept_connection() File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 701, in _accept_connection **self.handler.open_kwargs) File "/Users/huntsman/anaconda3/envs/huntsman-pocs-env/lib/python3.6/site-packages/tornado/websocket.py", line 498, in _run_callback result = callback(*args, **kwargs) File "/private/var/huntsman/PAWS/handlers/websockets.py", line 29, in open logging.warning("Problem establishing websocket for {}: {}".format(self, e)) Message: 'Problem establishing websocket for : fd 18 added twice' Arguments: ()