From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem with first use of patman
Date: Mon, 15 Oct 2012 00:13:01 +0200 [thread overview]
Message-ID: <20121015001301.045cc155@lilith> (raw)
In-Reply-To: <CACUy__WoWvp6rNAVto+7KmxOa2QHYsf30Kd7yBV6Nkt3TPNKjw@mail.gmail.com>
Hi Daniel,
On Sun, 14 Oct 2012 23:58:51 +0200, Daniel Schwierzeck
<daniel.schwierzeck@gmail.com> wrote:
> 2012/10/14 Albert ARIBAUD <albert.u.boot@aribaud.net>:
> > Hi Daniel,
> >
> > On Sun, 14 Oct 2012 23:13:22 +0200, Daniel Schwierzeck
> > <daniel.schwierzeck@gmail.com> wrote:
> >
> >> Hi Albert,
> >>
> >> 2012/10/14 Albert ARIBAUD <albert.u.boot@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
Tried LANG=C (and LC_ALL=C), no change. :(
Amicalement,
--
Albert.
next prev parent reply other threads:[~2012-10-14 22:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 18:52 [U-Boot] Problem with first use of patman Albert ARIBAUD
2012-10-14 21:13 ` Daniel Schwierzeck
2012-10-14 21:40 ` Albert ARIBAUD
2012-10-14 21:58 ` Daniel Schwierzeck
2012-10-14 22:13 ` Albert ARIBAUD [this message]
2012-10-14 23:53 ` Simon Glass
2012-10-15 5:45 ` [U-Boot] Problem with first use of patman [FIXED] Albert ARIBAUD
2012-10-15 17:17 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121015001301.045cc155@lilith \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.