Newer pwclient breaks with older server
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Wed Nov 25 07:21:10 EST 2009
Hi,
commit 7bcba313da27b7230b14a7ea41d50e76cd03e9a5 breaks hash lookups with
older patchwork servers. I get the following traceback:
# pwclient view -h 185b1cad50a27632d471efa29e754dc9777097f0 -p flashrom
Traceback (most recent call last):
File "/sources/tmptrees/patchwork/apps/patchwork/bin/pwclient", line
446, in <module>
main()
File "/sources/tmptrees/patchwork/apps/patchwork/bin/pwclient", line
385, in main
patch_id = patch_id_from_hash(rpc, project_str, hash_str)
File "/sources/tmptrees/patchwork/apps/patchwork/bin/pwclient", line
289, in patch_id_from_hash
patch = rpc.patch_get_by_project_hash(project, hash)
File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
return u.close()
File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: '<type \'exceptions.Exception\'>:method
"patch_get_by_project_hash" is not supported'>
The traceback appears whether I specify the project with -p or not. If I
revert my local client to the state before the problematic commit,
everything works fine again.
.pwclientrc available at
http://patchwork.coreboot.org/project/flashrom/pwclientrc/
Any ideas?
Regards,
Carl-Daniel
--
Developer quote of the month:
"We are juggling too many chainsaws and flaming arrows and tigers."
More information about the Patchwork
mailing list