All of lore.kernel.org
 help / color / mirror / Atom feed
* patchwork client problems
@ 2014-07-14  9:21 Peter A. Bigot
  2014-08-02  1:07 ` Peter A. Bigot
  0 siblings, 1 reply; 19+ messages in thread
From: Peter A. Bigot @ 2014-07-14  9:21 UTC (permalink / raw)
  To: OE-core

I'm finding attempts to use pwclient on 
http://patches.openembedded.org/xmlrpc/ produce an ExpatError because 
the returned document is always empty (per a wireshark trace of the 
transaction).  Can somebody confirm that the server for the command-line 
client is working properly?  Thanks.

Peter



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-07-14  9:21 patchwork client problems Peter A. Bigot
@ 2014-08-02  1:07 ` Peter A. Bigot
  2014-08-04 20:16   ` Otavio Salvador
  0 siblings, 1 reply; 19+ messages in thread
From: Peter A. Bigot @ 2014-08-02  1:07 UTC (permalink / raw)
  To: OE-core

On 07/14/2014 04:21 AM, Peter A. Bigot wrote:
> I'm finding attempts to use pwclient on 
> http://patches.openembedded.org/xmlrpc/ produce an ExpatError because 
> the returned document is always empty (per a wireshark trace of the 
> transaction).  Can somebody confirm that the server for the 
> command-line client is working properly?  Thanks.
>
> Peter
>

I've downloaded a fresh copy of pwclient from 
http://patches.openembedded.org/help/pwclient/

I've verified my .pwclientrc is exactly what the project info tells me 
it should be:

[base]
url: http://patches.openembedded.org/xmlrpc/
project: oe-core

I've verified that pwclient works with other servers.

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



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-08-02  1:07 ` Peter A. Bigot
@ 2014-08-04 20:16   ` Otavio Salvador
  2014-08-07  9:52     ` Peter A. Bigot
  2014-09-05 14:31     ` Burton, Ross
  0 siblings, 2 replies; 19+ messages in thread
From: Otavio Salvador @ 2014-08-04 20:16 UTC (permalink / raw)
  To: Peter A. Bigot, Khem Raj; +Cc: OE-core

On Fri, Aug 1, 2014 at 10:07 PM, Peter A. Bigot <pab@pabigot.com> wrote:
> On 07/14/2014 04:21 AM, Peter A. Bigot wrote:
>>
>> I'm finding attempts to use pwclient on
>> http://patches.openembedded.org/xmlrpc/ produce an ExpatError because the
>> returned document is always empty (per a wireshark trace of the
>> transaction).  Can somebody confirm that the server for the command-line
>> client is working properly?  Thanks.
>>
>> Peter
>>
>
> I've downloaded a fresh copy of pwclient from
> http://patches.openembedded.org/help/pwclient/
>
> I've verified my .pwclientrc is exactly what the project info tells me it
> should be:
>
> [base]
> url: http://patches.openembedded.org/xmlrpc/
> project: oe-core
>
> I've verified that pwclient works with other servers.
>
> 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.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-08-04 20:16   ` Otavio Salvador
@ 2014-08-07  9:52     ` Peter A. Bigot
  2014-08-07 10:17       ` Martin Jansa
  2014-09-05 14:31     ` Burton, Ross
  1 sibling, 1 reply; 19+ messages in thread
From: Peter A. Bigot @ 2014-08-07  9:52 UTC (permalink / raw)
  To: Otavio Salvador, Khem Raj; +Cc: OE-core

On 08/04/2014 03:16 PM, Otavio Salvador wrote:
> On Fri, Aug 1, 2014 at 10:07 PM, Peter A. Bigot <pab@pabigot.com> wrote:
>> On 07/14/2014 04:21 AM, Peter A. Bigot wrote:
>>> I'm finding attempts to use pwclient on
>>> http://patches.openembedded.org/xmlrpc/ produce an ExpatError because the
>>> returned document is always empty (per a wireshark trace of the
>>> transaction).  Can somebody confirm that the server for the command-line
>>> client is working properly?  Thanks.
>>>
>>> Peter
>>>
>> I've downloaded a fresh copy of pwclient from
>> http://patches.openembedded.org/help/pwclient/
>>
>> I've verified my .pwclientrc is exactly what the project info tells me it
>> should be:
>>
>> [base]
>> url: http://patches.openembedded.org/xmlrpc/
>> project: oe-core
>>
>> I've verified that pwclient works with other servers.
>>
>> 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.

Thanks for confirming this isn't just me.

It's a bit of a problem, since without a working pwclient I can't tell 
if there's already a patch that does what I need.  If there's a way to 
search through the browser interface I haven't figured it out.

Khem, if I can help with diagnosis please let me know.

Peter



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-08-07  9:52     ` Peter A. Bigot
@ 2014-08-07 10:17       ` Martin Jansa
  0 siblings, 0 replies; 19+ messages in thread
From: Martin Jansa @ 2014-08-07 10:17 UTC (permalink / raw)
  To: Peter A. Bigot; +Cc: Otavio Salvador, OE-core

[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]

On Thu, Aug 07, 2014 at 04:52:23AM -0500, Peter A. Bigot wrote:
> On 08/04/2014 03:16 PM, Otavio Salvador wrote:
> > On Fri, Aug 1, 2014 at 10:07 PM, Peter A. Bigot <pab@pabigot.com> wrote:
> >> On 07/14/2014 04:21 AM, Peter A. Bigot wrote:
> >>> I'm finding attempts to use pwclient on
> >>> http://patches.openembedded.org/xmlrpc/ produce an ExpatError because the
> >>> returned document is always empty (per a wireshark trace of the
> >>> transaction).  Can somebody confirm that the server for the command-line
> >>> client is working properly?  Thanks.
> >>>
> >>> Peter
> >>>
> >> I've downloaded a fresh copy of pwclient from
> >> http://patches.openembedded.org/help/pwclient/
> >>
> >> I've verified my .pwclientrc is exactly what the project info tells me it
> >> should be:
> >>
> >> [base]
> >> url: http://patches.openembedded.org/xmlrpc/
> >> project: oe-core
> >>
> >> I've verified that pwclient works with other servers.
> >>
> >> 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.
> 
> Thanks for confirming this isn't just me.
> 
> It's a bit of a problem, since without a working pwclient I can't tell 
> if there's already a patch that does what I need.  If there's a way to 
> search through the browser interface I haven't figured it out.

Click on "Filter" link in top left corner of the table.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-08-04 20:16   ` Otavio Salvador
  2014-08-07  9:52     ` Peter A. Bigot
@ 2014-09-05 14:31     ` Burton, Ross
  2014-09-05 14:40       ` Khem Raj
  1 sibling, 1 reply; 19+ messages in thread
From: Burton, Ross @ 2014-09-05 14:31 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: OE-core

On 4 August 2014 21:16, Otavio Salvador <otavio@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.

Cheers,
Ross


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-05 14:31     ` Burton, Ross
@ 2014-09-05 14:40       ` Khem Raj
  2014-09-05 14:48         ` Burton, Ross
  2014-09-06 10:03         ` Khem Raj
  0 siblings, 2 replies; 19+ messages in thread
From: Khem Raj @ 2014-09-05 14:40 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Otavio Salvador, OE-core

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

On Friday, September 5, 2014, Burton, Ross <ross.burton@intel.com> wrote:

> On 4 August 2014 21:16, Otavio Salvador <otavio@ossystems.com.br
> <javascript:;>> 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

>
> Cheers,
> Ross
>

[-- Attachment #2: Type: text/html, Size: 2674 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-05 14:40       ` Khem Raj
@ 2014-09-05 14:48         ` Burton, Ross
  2014-09-06 10:03         ` Khem Raj
  1 sibling, 0 replies; 19+ messages in thread
From: Burton, Ross @ 2014-09-05 14:48 UTC (permalink / raw)
  To: Khem Raj; +Cc: Otavio Salvador, OE-core

On 5 September 2014 15:40, Khem Raj <raj.khem@gmail.com> wrote:
> Ok I haven't but over this weekend I can try

Thanks Khem, much appreciated.

Ross


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-05 14:40       ` Khem Raj
  2014-09-05 14:48         ` Burton, Ross
@ 2014-09-06 10:03         ` Khem Raj
  2014-09-06 10:41           ` Peter A. Bigot
  2014-09-06 13:32           ` Burton, Ross
  1 sibling, 2 replies; 19+ messages in thread
From: Khem Raj @ 2014-09-06 10:03 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Otavio Salvador, OE-core

On Fri, Sep 5, 2014 at 7:40 AM, Khem Raj <raj.khem@gmail.com> wrote:
>
>
> On Friday, September 5, 2014, Burton, Ross <ross.burton@intel.com> wrote:
>>
>> On 4 August 2014 21:16, Otavio Salvador <otavio@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

[options]
default = oe

username: <yyyy>
password: <xxxx>

[glibc]
url = http://patchwork.sourceware.org/xmlrpc/

[oe]
url = http://patchwork.openembedded.org/xmlrpc/


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 10:03         ` Khem Raj
@ 2014-09-06 10:41           ` Peter A. Bigot
  2014-09-06 15:38             ` Khem Raj
  2014-09-06 13:32           ` Burton, Ross
  1 sibling, 1 reply; 19+ messages in thread
From: Peter A. Bigot @ 2014-09-06 10:41 UTC (permalink / raw)
  To: Khem Raj, Burton, Ross; +Cc: Otavio Salvador, OE-core

On 09/06/2014 05:03 AM, Khem Raj wrote:
> On Fri, Sep 5, 2014 at 7:40 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Friday, September 5, 2014, Burton, Ross <ross.burton@intel.com> wrote:
>>> On 4 August 2014 21:16, Otavio Salvador <otavio@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/



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 10:03         ` Khem Raj
  2014-09-06 10:41           ` Peter A. Bigot
@ 2014-09-06 13:32           ` Burton, Ross
  2014-09-06 15:32             ` Khem Raj
  1 sibling, 1 reply; 19+ messages in thread
From: Burton, Ross @ 2014-09-06 13:32 UTC (permalink / raw)
  To: Khem Raj; +Cc: Otavio Salvador, OE-core

On 6 September 2014 11:03, Khem Raj <raj.khem@gmail.com> wrote:
> 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 Khem, much appreciated.

Presumably the hooks to auto-mark merged patches haven't been
activated because the git server and the patchwork server are on
different machines. Has there been previous discussion to get this
resolved?

Ross


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 13:32           ` Burton, Ross
@ 2014-09-06 15:32             ` Khem Raj
  2014-09-06 17:25               ` Khem Raj
  0 siblings, 1 reply; 19+ messages in thread
From: Khem Raj @ 2014-09-06 15:32 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Otavio Salvador, OE-core

On Sat, Sep 6, 2014 at 6:32 AM, Burton, Ross <ross.burton@intel.com> wrote:
> Thanks Khem, much appreciated.
>
> Presumably the hooks to auto-mark merged patches haven't been
> activated because the git server and the patchwork server are on
> different machines. Has there been previous discussion to get this
> resolved?

it has been activated and was working in past. Do you see it not happening now ?


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 10:41           ` Peter A. Bigot
@ 2014-09-06 15:38             ` Khem Raj
  2014-09-06 16:03               ` Peter A. Bigot
  0 siblings, 1 reply; 19+ messages in thread
From: Khem Raj @ 2014-09-06 15:38 UTC (permalink / raw)
  To: Peter A. Bigot; +Cc: Otavio Salvador, OE-core

On Sat, Sep 6, 2014 at 3:41 AM, Peter A. Bigot <pab@pabigot.com> wrote:
> On 09/06/2014 05:03 AM, Khem Raj wrote:
>>
>> On Fri, Sep 5, 2014 at 7:40 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>>
>>> On Friday, September 5, 2014, Burton, Ross <ross.burton@intel.com> wrote:
>>>>
>>>> On 4 August 2014 21:16, Otavio Salvador <otavio@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.
>

can you add a working .pwclientrc to wiki

http://www.openembedded.org/wiki/Patchwork


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 15:38             ` Khem Raj
@ 2014-09-06 16:03               ` Peter A. Bigot
  2014-09-06 17:23                 ` Khem Raj
  0 siblings, 1 reply; 19+ messages in thread
From: Peter A. Bigot @ 2014-09-06 16:03 UTC (permalink / raw)
  To: Khem Raj; +Cc: Otavio Salvador, OE-core

On 09/06/2014 10:38 AM, Khem Raj wrote:
> On Sat, Sep 6, 2014 at 3:41 AM, Peter A. Bigot<pab@pabigot.com>  wrote:
>> On 09/06/2014 05:03 AM, Khem Raj wrote:
>>> On Fri, Sep 5, 2014 at 7:40 AM, Khem Raj<raj.khem@gmail.com>  wrote:
>>>> On Friday, September 5, 2014, Burton, Ross<ross.burton@intel.com>  wrote:
>>>>> On 4 August 2014 21:16, Otavio Salvador<otavio@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.
>>
> can you add a working .pwclientrc to wiki
>
> http://www.openembedded.org/wiki/Patchwork

Apparently not. I don't have an account, and while trying to figure out 
how to request one got to a situation where I get 502 Bad Gateway on 
every request to www.openembedded.org.

The help output from pwclient and the comments in your example (and the 
ones downloaded from each project) cover it pretty well, though.  Just 
wanted to highlight to the current readership that the new version 
supports multiple projects in one config file. (Breaking the way I've 
been doing it for the last couple years which figured out the right 
default based on context, but hey, progress, right?)

Peter


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 16:03               ` Peter A. Bigot
@ 2014-09-06 17:23                 ` Khem Raj
  0 siblings, 0 replies; 19+ messages in thread
From: Khem Raj @ 2014-09-06 17:23 UTC (permalink / raw)
  To: Peter A. Bigot; +Cc: Otavio Salvador, OE-core

On Sat, Sep 6, 2014 at 9:03 AM, Peter A. Bigot <pab@pabigot.com> wrote:
> Apparently not. I don't have an account, and while trying to figure out how
> to request one got to a situation where I get 502 Bad Gateway on every
> request to www.openembedded.org.
>
> The help output from pwclient and the comments in your example (and the ones
> downloaded from each project) cover it pretty well, though.  Just wanted to
> highlight to the current readership that the new version supports multiple
> projects in one config file. (Breaking the way I've been doing it for the
> last couple years which figured out the right default based on context, but
> hey, progress, right?)

OK. I thought you have a improved version of .pwclientrc, just send it
here. I will update the wiki


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 15:32             ` Khem Raj
@ 2014-09-06 17:25               ` Khem Raj
  2014-09-08 12:07                 ` Burton, Ross
  2014-09-08 12:35                 ` Bernhard Reutner-Fischer
  0 siblings, 2 replies; 19+ messages in thread
From: Khem Raj @ 2014-09-06 17:25 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Otavio Salvador, OE-core

On Sat, Sep 6, 2014 at 8:32 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Sat, Sep 6, 2014 at 6:32 AM, Burton, Ross <ross.burton@intel.com> wrote:
>> Thanks Khem, much appreciated.
>>
>> Presumably the hooks to auto-mark merged patches haven't been
>> activated because the git server and the patchwork server are on
>> different machines. Has there been previous discussion to get this
>> resolved?
>
> it has been activated and was working in past. Do you see it not happening now ?

update hooks were not working too since they use pwclient themselves
and pwclient
was not working thus far. So it should start working again. I have
updated the hooks
to reflect the latest changes from patchwork upstream as well


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 17:25               ` Khem Raj
@ 2014-09-08 12:07                 ` Burton, Ross
  2014-09-08 12:35                 ` Bernhard Reutner-Fischer
  1 sibling, 0 replies; 19+ messages in thread
From: Burton, Ross @ 2014-09-08 12:07 UTC (permalink / raw)
  To: Khem Raj; +Cc: Otavio Salvador, OE-core

Hi Khem,

On 6 September 2014 18:25, Khem Raj <raj.khem@gmail.com> wrote:
> update hooks were not working too since they use pwclient themselves
> and pwclient
> was not working thus far. So it should start working again. I have
> updated the hooks
> to reflect the latest changes from patchwork upstream as well

Fair enough.  Can you remind me privately of my username/password, and
would it be possible to get more rights so that I can go and work my
way through the old patches that have been merged and mark them as
such?

Cheers,
Ross


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-06 17:25               ` Khem Raj
  2014-09-08 12:07                 ` Burton, Ross
@ 2014-09-08 12:35                 ` Bernhard Reutner-Fischer
  2014-09-08 16:52                   ` Khem Raj
  1 sibling, 1 reply; 19+ messages in thread
From: Bernhard Reutner-Fischer @ 2014-09-08 12:35 UTC (permalink / raw)
  To: Khem Raj; +Cc: Otavio Salvador, OE-core

On 6 September 2014 19:25, Khem Raj <raj.khem@gmail.com> wrote:
> On Sat, Sep 6, 2014 at 8:32 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Sat, Sep 6, 2014 at 6:32 AM, Burton, Ross <ross.burton@intel.com> wrote:
>>> Thanks Khem, much appreciated.
>>>
>>> Presumably the hooks to auto-mark merged patches haven't been
>>> activated because the git server and the patchwork server are on
>>> different machines. Has there been previous discussion to get this
>>> resolved?
>>
>> it has been activated and was working in past. Do you see it not happening now ?
>
> update hooks were not working too since they use pwclient themselves
> and pwclient
> was not working thus far. So it should start working again. I have
> updated the hooks
> to reflect the latest changes from patchwork upstream as well

FYI, The current upstream pwclient can now operate on multiple IDs, e.g.:
pwclient view 1 3 4 9
pwclient get 2 5
and you can configure a per-project or global "signoff" option for
git-am (or on the command-line -- git-am -s 77):
[options]
default = my_project2
signoff = True
[proj1]
url = ...
signoff = True

cheers,


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: patchwork client problems
  2014-09-08 12:35                 ` Bernhard Reutner-Fischer
@ 2014-09-08 16:52                   ` Khem Raj
  0 siblings, 0 replies; 19+ messages in thread
From: Khem Raj @ 2014-09-08 16:52 UTC (permalink / raw)
  To: Bernhard Reutner-Fischer; +Cc: Otavio Salvador, OE-core

On Mon, Sep 8, 2014 at 5:35 AM, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> On 6 September 2014 19:25, Khem Raj <raj.khem@gmail.com> wrote:
>> On Sat, Sep 6, 2014 at 8:32 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>> On Sat, Sep 6, 2014 at 6:32 AM, Burton, Ross <ross.burton@intel.com> wrote:
>>>> Thanks Khem, much appreciated.
>>>>
>>>> Presumably the hooks to auto-mark merged patches haven't been
>>>> activated because the git server and the patchwork server are on
>>>> different machines. Has there been previous discussion to get this
>>>> resolved?
>>>
>>> it has been activated and was working in past. Do you see it not happening now ?
>>
>> update hooks were not working too since they use pwclient themselves
>> and pwclient
>> was not working thus far. So it should start working again. I have
>> updated the hooks
>> to reflect the latest changes from patchwork upstream as well
>
> FYI, The current upstream pwclient can now operate on multiple IDs, e.g.:
> pwclient view 1 3 4 9
> pwclient get 2 5
> and you can configure a per-project or global "signoff" option for
> git-am (or on the command-line -- git-am -s 77):
> [options]
> default = my_project2
> signoff = True
> [proj1]
> url = ...
> signoff = True
>

Thanks Bernahrd for note. FWIW our patchwork is uptodate so this should work

> cheers,


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-09-08 16:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-14  9:21 patchwork client problems Peter A. Bigot
2014-08-02  1:07 ` Peter A. Bigot
2014-08-04 20:16   ` Otavio Salvador
2014-08-07  9:52     ` Peter A. Bigot
2014-08-07 10:17       ` Martin Jansa
2014-09-05 14:31     ` Burton, Ross
2014-09-05 14:40       ` Khem Raj
2014-09-05 14:48         ` Burton, Ross
2014-09-06 10:03         ` Khem Raj
2014-09-06 10:41           ` Peter A. Bigot
2014-09-06 15:38             ` Khem Raj
2014-09-06 16:03               ` Peter A. Bigot
2014-09-06 17:23                 ` Khem Raj
2014-09-06 13:32           ` Burton, Ross
2014-09-06 15:32             ` Khem Raj
2014-09-06 17:25               ` Khem Raj
2014-09-08 12:07                 ` Burton, Ross
2014-09-08 12:35                 ` Bernhard Reutner-Fischer
2014-09-08 16:52                   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.