[OE-core] patchwork client problems
Peter A. Bigot
pab at pabigot.com
Sat Sep 6 10:41:36 UTC 2014
On 09/06/2014 05:03 AM, Khem Raj wrote:
> On Fri, Sep 5, 2014 at 7:40 AM, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> On Friday, September 5, 2014, Burton, Ross <ross.burton at intel.com> wrote:
>>> On 4 August 2014 21:16, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>>>> And I still get empty documents back from the OE patchwork server for
>>>>> every
>>>>> pwclient command I try.
>>>>>
>>>>> Anybody have any idea what's going wrong?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Peter
>>>>>
>>>>> llc[40]$ /tmp/pwclient projects
>>>>> Traceback (most recent call last):
>>>>> File "/tmp/pwclient", line 500, in <module>
>>>>> main()
>>>>> File "/tmp/pwclient", line 439, in main
>>>>> action_projects(rpc)
>>>>> File "/tmp/pwclient", line 213, in action_projects
>>>>> projects = rpc.project_list("", 0)
>>>>> File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
>>>>> return self.__send(self.__name, args)
>>>>> File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
>>>>> verbose=self.__verbose
>>>>> File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
>>>>> return self.single_request(host, handler, request_body, verbose)
>>>>> File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
>>>>> return self.parse_response(response)
>>>>> File "/usr/lib/python2.7/xmlrpclib.py", line 1471, in parse_response
>>>>> p.close()
>>>>> File "/usr/lib/python2.7/xmlrpclib.py", line 560, in close
>>>>> self._parser.Parse("", 1) # end of data
>>>>> xml.parsers.expat.ExpatError: no element found: line 1, column 0
>>>> I have same error; I am adding Khem who I know has access to the
>>>> server and can know more about it.
>>> Khem - have you been able to look at this? I was hoping to use
>>> patchwork to merge patches from the list but obviously this is a bit
>>> of a blocker.
>>
>> Ok I haven't but over this weekend I can try
> This issue should be fixed now. Please download pwclient from
> http://patchwork.openembedded.org/pwclient/
> once again and, it should update your .pwclientrc but there may be
> gotchas so make sure it is of this form
Thanks. The new version works for me. Note that you need to add (e.g.)
-p oe-core to some commands to select the non-default project, and that
the username and password can also be placed in the project sections of
.pwclientrc to allow for different login information for different servers.
Peter
>
> [options]
> default = oe
>
> username: <yyyy>
> password: <xxxx>
>
> [glibc]
> url = http://patchwork.sourceware.org/xmlrpc/
>
> [oe]
> url = http://patchwork.openembedded.org/xmlrpc/
More information about the Openembedded-core
mailing list