======================================================================
ERROR: test_handleBadRequestData
(jsonrpc._tests.test_serviceHandler.TestServiceHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 146, in test_handleBadRequestData
result = handler.handleRequest(json)
File "jsonrpc/serviceHandler.py", line 78, in handleRequest
resultdata = self.translateResult(result, err, id_)
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 60, in translateResult
return jsonrpc.ServiceHandler.translateResult(self, result,
error, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: ServiceRequestNotTranslatable instance has no
attribute 'message'
======================================================================
ERROR: test_handleBadRequestObject
(jsonrpc._tests.test_serviceHandler.TestServiceHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 152, in
test_handleBadRequestObject
result = handler.handleRequest(json)
File "jsonrpc/serviceHandler.py", line 78, in handleRequest
resultdata = self.translateResult(result, err, id_)
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 60, in translateResult
return jsonrpc.ServiceHandler.translateResult(self, result,
error, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: BadServiceRequest instance has no attribute 'message'
======================================================================
ERROR: test_handleRequestMethodNotAllowed
(jsonrpc._tests.test_serviceHandler.TestServiceHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 134, in
test_handleRequestMethodNotAllowed
result = handler.handleRequest(json)
File "jsonrpc/serviceHandler.py", line 78, in handleRequest
resultdata = self.translateResult(result, err, id_)
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 60, in translateResult
return jsonrpc.ServiceHandler.translateResult(self, result,
error, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: ServiceMethodNotFound instance has no attribute
'message'
======================================================================
ERROR: test_handleRequestMethodNotFound
(jsonrpc._tests.test_serviceHandler.TestServiceHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 128, in
test_handleRequestMethodNotFound
result = handler.handleRequest(json)
File "jsonrpc/serviceHandler.py", line 78, in handleRequest
resultdata = self.translateResult(result, err, id_)
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 60, in translateResult
return jsonrpc.ServiceHandler.translateResult(self, result,
error, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: ServiceMethodNotFound instance has no attribute
'message'
======================================================================
ERROR: test_handleRequestMethodRaiseError
(jsonrpc._tests.test_serviceHandler.TestServiceHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 140, in
test_handleRequestMethodRaiseError
result = handler.handleRequest(json)
File "jsonrpc/serviceHandler.py", line 78, in handleRequest
resultdata = self.translateResult(result, err, id_)
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 60, in translateResult
return jsonrpc.ServiceHandler.translateResult(self, result,
error, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: Exception instance has no attribute 'message'
======================================================================
ERROR: test_translateError
(jsonrpc._tests.test_serviceHandler.TestServiceHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 111, in test_translateError
data=handler.translateResult(None, exc, "id")
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_serviceHandler.py", line 60, in translateResult
return jsonrpc.ServiceHandler.translateResult(self, result,
error, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: Exception instance has no attribute 'message'
======================================================================
ERROR: test_ServiceImplementationNotFound
(jsonrpc._tests.test_modpywrapper.TestModPyWrapper)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gkeating/downloads/jsonRPC/trunk/python-jsonrpc/jsonrpc/
_tests/test_modpywrapper.py", line 91, in
test_ServiceImplementationNotFound
rslt = jsonrpc.handler(req)
File "jsonrpc/modpywrapper.py", line 49, in handler
ModPyServiceHandler(req).handleRequest(req)
File "jsonrpc/modpywrapper.py", line 43, in handleRequest
resultData = ServiceHandler.handleRequest(self, data)
File "jsonrpc/serviceHandler.py", line 78, in handleRequest
resultdata = self.translateResult(result, err, id_)
File "jsonrpc/serviceHandler.py", line 104, in translateResult
err = {"name": err.__class__.__name__, "message":err.message}
AttributeError: ServiceImplementaionNotFound instance has no attribute
'message'
----------------------------------------------------------------------
Ran 43 tests in 0.010s
FAILED (errors=7)