Traceback with git-am

Bryan Hundven bryanhundven at gmail.com
Wed Jan 14 17:40:13 AEDT 2015


Bryce,

On Thu, Jan 8, 2015 at 10:45 PM, Bryce Harrington <bryce at osg.samsung.com> wrote:
> On Thu, Jan 08, 2015 at 07:54:41PM -0800, Bryan Hundven wrote:
>> Hello list,
>>
>> While applying patches to my project with pwclient, I got this traceback.
>> I'm not really that good with python, so I figured I'd post the
>> traceback here and see if you can figure it out.
>
> In this case, it's just saying there was an error in the XML data sent
> between the client and server, but doesn't indicate what that error
> was... just that it was the second character on on line 171.
>
> Does the failure happen with just one specific patch, and does it occur
> reliably with it?  If so, then it would probably help if you also posted
> the patch.

It happens reliably with: https://patchwork.ozlabs.org/patch/424224/
full log: http://pastebin.com/vPrQzEMR

I've never seen this with any patch I've applied.

I see that Yann (CC'd) has also found this issue. Maybe he can provide
his example?
https://lists.ozlabs.org/pipermail/patchwork/2012-November/000779.html

Thanks,

-Bryan

>
> Bryce
>
>> Thanks,
>>
>> -Bryan
>>
>> bryan at fuzzy:~/crosstool-ng$ pwclient git-am 424224
>> Applying patch #424224 using 'git am'
>> Description: [2/2] patches/binutils: backport 2.22 and 2.24 xtensa fixes
>> Traceback (most recent call last):
>>   File "/home/bryan/bin/pwclient", line 541, in <module>
>>     main()
>>   File "/home/bryan/bin/pwclient", line 524, in main
>>     action_apply(rpc, patch_id, ['git', 'am'])
>>   File "/home/bryan/bin/pwclient", line 280, in action_apply
>>     s = rpc.patch_get_mbox(patch_id)
>>   File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
>>     return self.__send(self.__name, args)
>>   File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request
>>     verbose=self.__verbose
>>   File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
>>     return self.single_request(host, handler, request_body, verbose)
>>   File "/usr/lib/python2.7/xmlrpclib.py", line 1306, in single_request
>>     return self.parse_response(response)
>>   File "/usr/lib/python2.7/xmlrpclib.py", line 1476, in parse_response
>>     p.feed(data)
>>   File "/usr/lib/python2.7/xmlrpclib.py", line 558, in feed
>>     self._parser.Parse(data, 0)
>> xml.parsers.expat.ExpatError: not well-formed (invalid token): line
>> 171, column 2
>> _______________________________________________
>> Patchwork mailing list
>> Patchwork at lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/patchwork


More information about the Patchwork mailing list