错误显示:
Traceback (most recent call last):
File "/home/roy/work/batu/BatuSysSer/batuSytem/src/TornadoAMF.py", line 111, in postresponse = self.remotingGateway.getResponse(request)
File "/home/roy/work/batu/BatuSysSer/batuSytem/src/TornadoAMF.py", line 173, in getResponse
response = remoting.Envelope(request.amfVersion, request.clientType)
AttributeError: 'Envelope' object has no attribute 'clientType'
根据http://lists.pyamf.org/archives/users/2011-June/006499.html上说pyamf升级后,Envelope传参有所变化,
response = remoting.Envelope(request.amfVersion, request.clientType) To response = remoting.Envelope(request.amfVersion)
就好了。。。
回忆了一下这是一个老项目,后来系统安装的pyamf用的是新版;所以这个调用就过不去了。