Created
September 15, 2012 04:48
-
-
Save liwh/3726374 to your computer and use it in GitHub Desktop.
error trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[E 120915 12:47:46 web:1085] Uncaught exception GET /v1/videos/append?vids=XNDUwNTc4MDI0,XNDUwNTc3MTY4,XNDM2MTg1MDY4,XMzg5NTg4ODYw&size_set=4 (127.0.0.1) | |
HTTPRequest(protocol='http', host='localhost:11535', method='GET', uri='/v1/videos/append?vids=XNDUwNTc4MDI0,XNDUwNTc3MTY4,XNDM2MTg1MDY4,XMzg5NTg4ODYw&size_set=4', version='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Host': 'localhost:11535', 'User-Agent': 'Python-urllib/2.7', 'Connection': 'close', 'Accept-Encoding': 'identity'}) | |
Traceback (most recent call last): | |
File "/opt/python2.7/lib/python2.7/site-packages/tornado-2.4-py2.7.egg/tornado/web.py", line 1021, in _stack_context_handle_exception | |
raise_exc_info((type, value, traceback)) | |
File "/opt/python2.7/lib/python2.7/site-packages/tornado-2.4-py2.7.egg/tornado/web.py", line 1139, in wrapper | |
return method(self, *args, **kwargs) | |
File "/opt/paike/gof/modules/video/v1/video_info.py", line 133, in get | |
self.async_send_request('video', context, 'video.append_info %s' % (vids), callbacks) | |
File "/opt/paike/gof/gof/handlers.py", line 151, in async_send_request | |
pool.wait_connection(on_connection_ready) | |
File "/opt/paike/gof/gof/connectionpool.py", line 186, in wait_connection | |
callback(conn) | |
File "/opt/paike/gof/gof/handlers.py", line 150, in on_connection_ready | |
connection.send_request(request, lambda data: self.on_spi_client_response(context, data, on_response)) | |
File "/opt/paike/gof/gof/connectionpool.py", line 67, in send_request | |
self.stream.read_until('\n', connection_on_line_received(self.pool, self, callback)) | |
File "/opt/python2.7/lib/python2.7/site-packages/tornado-2.4-py2.7.egg/tornado/iostream.py", line 151, in read_until | |
self._set_read_callback(callback) | |
File "/opt/python2.7/lib/python2.7/site-packages/tornado-2.4-py2.7.egg/tornado/iostream.py", line 369, in _set_read_callback | |
assert not self._read_callback, "Already reading" | |
AssertionError: Already reading | |
ERROR: in write_error: traceback= | |
Traceback (most recent call last): | |
File "/opt/paike/gof/gof/handlers.py", line 27, in write_error | |
self.write(json.dumps(kwargs)) | |
File "/opt/python2.7/lib/python2.7/json/__init__.py", line 231, in dumps | |
return _default_encoder.encode(obj) | |
File "/opt/python2.7/lib/python2.7/json/encoder.py", line 201, in encode | |
chunks = self.iterencode(o, _one_shot=True) | |
File "/opt/python2.7/lib/python2.7/json/encoder.py", line 264, in iterencode | |
return _iterencode(o, 0) | |
File "/opt/python2.7/lib/python2.7/json/encoder.py", line 178, in default | |
raise TypeError(repr(o) + " is not JSON serializable") | |
TypeError: <type 'exceptions.AssertionError'> is not JSON serializable | |
ERROR: in write_error: kwargs={'exc_info': (<type 'exceptions.AssertionError'>, AssertionError('Already reading',), <traceback object at 0x13577b90>)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment