[U-Boot] Problem with first use of patman

Albert ARIBAUD albert.u.boot at aribaud.net
Sun Oct 14 23:40:35 CEST 2012


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. :(

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list