patchwork client problems
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
Quoted 4 lines · Peter A. Bigot
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 dataxml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 52 lines · Peter A. Bigot
Quoted 9 lines · Peter A. Bigot
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-coreI'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/pwclientprojects
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
Quoted 1 line
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.
Signature · 3 lines
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
Quoted 52 lines · Otavio Salvador
Quoted 50 lines · Peter A. Bigot
Quoted 8 lines · Peter A. Bigot
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-coreI'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/pwclientprojects
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 dataQuoted 1 line
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 2 lines
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
Quoted 53 lines · Peter A. Bigot
Quoted 52 lines · Otavio Salvador
Quoted 51 lines · Peter A. Bigot
Quoted 8 lines · Peter A. Bigot
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-coreI'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/pwclientprojects
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 dataxml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 8 lines
Quoted 2 lines
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.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 31 lines · Otavio Salvador
Quoted 29 lines
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/pwclientprojects
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 dataQuoted 1 line
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 2 lines
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
Quoted 34 lines · Ross
Quoted 1 line · On 4 August 2014 21:16, Otavio Salvador <[email protected]…
Quoted 1 line
And I still get empty documents back from the OE patchwork server for
every
Quoted 30 lines
Quoted 29 lines
pwclient command I try.
Anybody have any idea what's going wrong?
Thanks.
Peter
llc[40]$
/tmp/pwclientprojects
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 dataxml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 6 lines
Quoted 2 lines
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
Quoted 4 lines
Cheers,
Ross
Quoted 1 line · Khem Raj
Ok I haven't but over this weekend I can try
Thanks Khem, much appreciated.
Ross
Quoted 40 lines · Khem Raj
Quoted 37 lines · Ross
Quoted 34 lines · Otavio Salvador
Quoted 30 lines
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/pwclientprojects
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 dataQuoted 1 line
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.
Quoted 6 lines
Quoted 3 lines
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/
Quoted 41 lines · Khem Raj
Quoted 40 lines · Khem Raj
Quoted 37 lines · Ross
Quoted 31 lines · Otavio Salvador
Quoted 30 lines
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/pwclientprojects
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 dataQuoted 1 line
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 2 lines
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.
Quoted 5 lines
Quoted 1 line
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
Quoted 12 lines
[options]
default = oeusername: <yyyy>
password: <xxxx>[glibc]
url = http://patchwork.sourceware.org/xmlrpc/
Quoted 4 lines · Khem Raj
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
Quoted 6 lines · Ross
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 ?
Quoted 59 lines · Peter A. Bigot
Quoted 50 lines · Khem Raj
Quoted 48 lines · Khem Raj
Quoted 43 lines · Ross
Quoted 35 lines · Otavio Salvador
Quoted 26 lines
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/pwclientprojects
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, inQuoted 8 lines
single_request
returnself.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1471, inparse_responsep.close() File "/usr/lib/python2.7/xmlrpclib.py", line 560, in close self._parser.Parse("", 1) # end of dataxml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 2 lines
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.
Quoted 6 lines
Quoted 1 line
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
Quoted 5 lines
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
Quoted 48 lines · Khem Raj
Quoted 47 lines · Peter A. Bigot
Quoted 46 lines · Khem Raj
Quoted 35 lines · Khem Raj
Quoted 34 lines · Ross
Quoted 33 lines · Otavio Salvador
Quoted 33 lines
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/pwclientprojects
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 dataxml.parsers.expat.ExpatError: no element found: line 1, column 0
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
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
Quoted 8 lines
Quoted 5 lines
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
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
Quoted 10 lines · Peter A. Bigot
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
Quoted 9 lines · Khem Raj
Quoted 6 lines · Ross
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
Hi Khem,
Quoted 5 lines · Khem Raj
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
Quoted 9 lines · Khem Raj
Quoted 8 lines · Khem Raj
Quoted 6 lines · Ross
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?
Quoted 7 lines
Quoted 1 line
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,
Quoted 18 lines · Bernhard Reutner-Fischer
Quoted 9 lines · Khem Raj
Quoted 8 lines · Khem Raj
Quoted 6 lines · Ross
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?
Quoted 7 lines
Quoted 1 line
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
Quoted 12 lines
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
Quoted 1 line
cheers,