Hi Daniel, On Sun, 14 Oct 2012 23:58:51 +0200, Daniel Schwierzeck <daniel.schwierz...@gmail.com> wrote:
> 2012/10/14 Albert ARIBAUD <albert.u.b...@aribaud.net>: > > Hi Daniel, > > > > On Sun, 14 Oct 2012 23:13:22 +0200, Daniel Schwierzeck > > <daniel.schwierz...@gmail.com> wrote: > > > >> Hi Albert, > >> > >> 2012/10/14 Albert ARIBAUD <albert.u.b...@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@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@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot