[U-Boot] Problem with first use of patman

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sun Oct 14 23:58:51 CEST 2012


2012/10/14 Albert ARIBAUD <albert.u.boot at aribaud.net>:
> Hi Daniel,
>
> On Sun, 14 Oct 2012 23:13:22 +0200, Daniel Schwierzeck
> <daniel.schwierzeck at gmail.com> wrote:
>
>> Hi Albert,
>>
>> 2012/10/14 Albert ARIBAUD <albert.u.boot at aribaud.net>:
>> > Hello Simon and the list,
>> >
>> > I'm trying to start using patman, and -- probably out of sheer
>> > ignorance -- cannot make it work.
>> >
>> > I've defined my .patman file with aliases for mvgbe, lacie_kw, arm,
>> > arm926ejs etc.
>> >
>> > I am trying to generate patches from a local branch (which I have made
>> > available on the u-boot-arm repo as 'add-ws-support') which has two
>> > commits.
>> >
>> > Top commit contains some matman tags, but the error is the without any
>> > tag.
>> >
>> > The complete error is:
>> >
>> > albert at lilith:~/src/u-boot-arm$ tools/patman/patman -n -c2
>> > Traceback (most recent call last):
>> >   File "tools/patman/patman", line 125, in <module>
>> >     series = patchstream.GetMetaData(options.start, options.count)
>> >   File "/home/albert/src/u-boot-arm/tools/patman/patchstream.py", line
>> > 352, in GetMetaData ps.ProcessLine(line)
>> >   File "/home/albert/src/u-boot-arm/tools/patman/patchstream.py", line
>> > 190, in ProcessLine self.commit.subject = line
>> > AttributeError: 'NoneType' object has no attribute 'subject'
>> > albert at lilith:~/src/u-boot-arm$
>> >
>> > Can Simon (or someone who's already bumped into this error) tell me what
>> > I'm doing wrong?
>> >
>>
>> I've had the same issue. Try the --no-tags option. Without that option all tags
>> in the commit summary (e.g. 'arm: some-board: some commit summary') will be
>> parsed which causes several errors.
>
> Thanks for the suggestion.
>
> However, /tools/patman/patman --no-tags -n -c2 gives the same
> error messages. :(
>

another workaround you could try is: export LANG=C
patman does not work with a default locale other than english

-- 
Best regards,
Daniel


More information about the U-Boot mailing list