pwclient list issues

Bjorn Helgaas helgaas at kernel.org
Fri Sep 20 02:49:21 AEST 2019


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.liebergeld at 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 <bhelgaas at 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 <bhelgaas at google.com>": Must be "User" instance.'>


More information about the Patchwork mailing list