On Sat, Oct 12, 2019 at 8:22 AM Stephen Finucane <step...@that.guru> wrote: > > On Thu, 2019-09-19 at 11:49 -0500, Bjorn Helgaas wrote: > > No doubt this is user or installation error, but I haven't a clue. My > > ~/.pwclientrc: > > > > [options] > > default = linux-pci > > > > [linux-pci] > > url = https://patchwork.ozlabs.org/xmlrpc/ > > > > On pwclient HEAD (dc50416ff1b5 ("trivial: noqa duplicate import")), > > some things work: > > > > $ ~/.local/bin/pwclient list -w Liebergeld -s New > > Patches submitted by Steffen Liebergeld > > <steffen.lieberg...@kernkonzept.com>: > > ID State Name > > -- ----- ---- > > 1163961 New [v2] PCI: quirks: Fix register location for UPDCR > > > > But others don't: > > > > $ ~/.local/bin/pwclient list -d lorpie01 -s New > > Note: Nobody found matching *lorpie01* > > > > $ ~/.local/bin/pwclient list -d bhelgaas -s New > > Patches delegated to Bjorn Helgaas <bhelg...@google.com>: > > Traceback (most recent call last): > > File "/home/bhelgaas/.local/bin/pwclient", line 10, in <module> > > sys.exit(main()) > > File > > "/home/bhelgaas/.local/lib/python2.7/site-packages/pwclient/shell.py", line > > 129, in main > > patches.action_list(rpc, filt, submitter_str, delegate_str, > > format_str) > > File > > "/home/bhelgaas/.local/lib/python2.7/site-packages/pwclient/patches.py", > > line 144, in action_list > > patches = rpc.patch_list(f.d) > > File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__ > > return self.__send(self.__name, args) > > File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request > > verbose=self.__verbose > > File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request > > return self.single_request(host, handler, request_body, verbose) > > File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request > > return self.parse_response(response) > > File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response > > return u.close() > > File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close > > raise Fault(**self._stack[0]) > > xmlrpclib.Fault: <Fault 1: u'<type \'exceptions.ValueError\'>:Cannot > > query "Bjorn Helgaas <bhelg...@google.com>": Must be "User" instance.'> > > I somehow managed to miss this email, but I assume you managed to work > around this with git-pw? This sounds like a bug with the XML-RPC API > and we're probably not going to bother fixing it at this point. The > REST API provides all the same functionality (and more!) and we'll be > dropping the XML-RPC API in 3.0 (the next version once 2.2 is out the > door) so it's not worth the effort. I hope to port pwclient to the REST > API shortly but until then, just use git-pw :)
I did eventually git this to work with git-pw (after kernel.org updated patchwork). _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork