From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 14 Oct 2012 23:40:35 +0200 Subject: [U-Boot] Problem with first use of patman In-Reply-To: References: <20121014205246.5e944a7d@lilith> Message-ID: <20121014234035.1a2b654a@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Daniel, On Sun, 14 Oct 2012 23:13:22 +0200, Daniel Schwierzeck wrote: > Hi Albert, > > 2012/10/14 Albert ARIBAUD : > > 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 > > 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.