UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1370: unexpected end of data
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 1370: unexpected end of data
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 1370: unexpected end of data
2014-08-19 11:09:59,487 - tornado.application - ERROR - Uncaught exception
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 527, in _read_chunked_body
yield gen.maybe_future(delegate.data_received(chunk))
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 617, in run
value = future.result()
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 109, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 175, in wrapper
yielded = next(result)
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 571, in data_received
yield gen.maybe_future(self._delegate.data_received(chunk))
File "/usr/lib/python3.4/site-packages/tornado/simple_httpclient.py", line 520, in data_received
self.request.streaming_callback(chunk)
File "/usr/lib/python3.4/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/home/storage/temp/hangups/hangups/http_utils.py", line 91, in _streaming_callback
streaming_callback(data)
File "/home/storage/temp/hangups/hangups/channel.py", line 244, in _on_push_data
messages = self._push_parser.get_messages(data_bytes.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 1020: unexpected end of data
2014-08-19 11:09:59,492 - tornado.application - ERROR - Exception in callback functools.partial(<function wrap.<locals>.null_wrapper at 0x7fdbae830c80>, <tornado.concurrent.Future object at 0x
7fdbaf1ecb70>)
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 527, in _read_chunked_body
yield gen.maybe_future(delegate.data_received(chunk))
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 617, in run
value = future.result()
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 109, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 175, in wrapper
yielded = next(result)
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 571, in data_received
yield gen.maybe_future(self._delegate.data_received(chunk))
File "/usr/lib/python3.4/site-packages/tornado/simple_httpclient.py", line 520, in data_received
self.request.streaming_callback(chunk)
File "/usr/lib/python3.4/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/home/storage/temp/hangups/hangups/http_utils.py", line 91, in _streaming_callback
streaming_callback(data)
File "/home/storage/temp/hangups/hangups/channel.py", line 244, in _on_push_data
messages = self._push_parser.get_messages(data_bytes.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 1020: unexpected end of data
During handling of the above exception, another exception occurred:During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 620, in run
yielded = self.gen.throw(*sys.exc_info())
File "/home/storage/temp/hangups/hangups/http_utils.py", line 59, in fetch
connect_timeout=connect_timeout, request_timeout=request_timeout
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 617, in run
value = future.result()
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 111, in result
raise self._exception
File "/usr/lib/python3.4/site-packages/tornado/stack_context.py", line 314, in wrapped
ret = fn(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/tornado/simple_httpclient.py", line 384, in <lambda>
lambda f: f.result())
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 109, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 620, in run
yielded = self.gen.throw(*sys.exc_info())
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 207, in _read_message
yield body_future
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 617, in run
value = future.result()
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 109, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 620, in run
yielded = self.gen.throw(*sys.exc_info())
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 527, in _read_chunked_body
yield gen.maybe_future(delegate.data_received(chunk))
File "/usr/lib/python3.4/site-packages/tornado/http1connection.py", line 52, in __exit__
raise _QuietException
tornado.http1connection._QuietException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/tornado/ioloop.py", line 565, in _run_callback
ret = callback()
File "/usr/lib/python3.4/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 697, in <lambda>
self.future, lambda f: self.run())
File "/usr/lib/python3.4/site-packages/tornado/gen.py", line 646, in run
self.result_future.set_exc_info(sys.exc_info())
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 167, in set_exc_info
self.set_exception(exc_info[1])
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 150, in set_exception
self._set_done()
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 177, in _set_done
cb(self)
File "/home/storage/temp/hangups/hangups/http_utils.py", line 31, in done_callback
self.set_result(future)
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 145, in set_result
self._set_done()
File "/usr/lib/python3.4/site-packages/tornado/concurrent.py", line 175, in _set_done
for cb in self._callbacks:
TypeError: 'NoneType' object is not iterable